-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
ode: Remove "--disable-demos" from default install and add the "--with-dem… #44265
Conversation
@@ -23,6 +23,7 @@ class Ode < Formula | |||
option "with-double-precision", "Compile ODE with double precision" | |||
option "with-shared", "Compile ODE with shared library support" | |||
option "with-libccd", "Enable all libccd colliders (except box-cylinder)" | |||
option "with-drawstuff", "Include the drawstuff library and demos. Requires X11." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should probably have a depends_on :x11
somewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aye. depends_on :x11 if build.with? "drawstuff"
I guess, however much we dislike if build.with?
dependency statements.
Sorry, new to editing brew formulas. Added the line |
What are you expecting to see installed on top of the normal package? Just the demos? |
So, when I compile from source with the demos option, it will build a drawstuff library (and put the folder in With brew, I'm finding neither of these folders, and other code that depends on the drawstuff library doesn't find it either so I'm assuming it's not built somewhere else and symlinked. |
Compiling outside of Homebrew, |
That's odd. Did you do I'm grabbing from the url mentioned in On Sun, Sep 27, 2015 at 1:34 PM, Alex Dunn notifications@github.com wrote:
|
OK, what's happening is it's installing the demos into |
Alright, tried messing around with it to no good end. Simply copying the |
No problem. Feel free to leave this PR open, and thank you for contributing! |
Requesting help for debugging, reference #43312.
Trying to build ode with the drawstuff library and demos.
Building manually works, resulting in an additional
ode-0.13.1/drawstuff
library, as well as aode-0.13.1/ode/demo
folder with several demos.