Pages: 1
  Print  
Author Topic: Extension Depends on Extension?  (Read 6756 times)
Offline (Male) Goombert
Posted on: December 13, 2014, 02:01:31 am

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2991

View Profile
Not sure about this one but I'd like to know why the following isn't working for me.

Code: (yaml) [Select]
Depends:
  Extensions: DataStructures

My asynchronous extension relies on the Data Structure extension and needs it to be compiled first otherwise a segfault ensues. Since I can't find another extension that relies on another extension as an example I have absolutely nothing to go on and the Wiki page doesn't distinguish.
http://enigma-dev.org/docs/Wiki/About.ey
http://enigma-dev.org/docs/Wiki/Extensions

Do we have this system in place yet or not? Otherwise I will have to hard code the ds extension into the async extension and you'll have to build without the DS extension enabled.
https://github.com/enigma-dev/enigma-dev/pull/891
« Last Edit: December 13, 2014, 02:11:47 am by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Male) Josh @ Dreamland
Reply #1 Posted on: December 13, 2014, 09:19:46 am

Prince of all Goldfish
Developer
Location: Pittsburgh, PA, USA
Joined: Feb 2008
Posts: 2950

View Profile Email
I don't think I coded such a system, no. Just let it go for now and make people aware of the issue. Otherwise, well, dependency resolution on purely optional extensions is pretty easy to write. Probably easier than hacking up one fucking extension to include the other.
Logged
"That is the single most cryptic piece of code I have ever seen." -Master PobbleWobble
"I disapprove of what you say, but I will defend to the death your right to say it." -Evelyn Beatrice Hall, Friends of Voltaire
Pages: 1
  Print