Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

ode formula doesn't include drawstuff #43312

Closed
sheim opened this issue Aug 27, 2015 · 9 comments
Closed

ode formula doesn't include drawstuff #43312

sheim opened this issue Aug 27, 2015 · 9 comments

Comments

@sheim
Copy link

sheim commented Aug 27, 2015

Hi, I noticed the formula for installing ode (Open Dynamics Engine) doesn't include any options to build with drawstuff, a visualization tool commonly packaged with ODE. Is there any reason not to have this?
Would be great if this could be added imho, as some people have done: https://gist.github.com/yuya-oc/3208758

If there's a specific reason not to, is there a recommended alternative way of doing this? And why?

@bfontaine
Copy link
Contributor

Do you mind making a pull-request?

@sheim
Copy link
Author

sheim commented Aug 27, 2015

I'll see. The one I linked isn't mine, and I've never done this before.
In the ODE installation instructions, it specifically says to use --disable-demos (which also removes drawStuff), and I'm looking into why, since it doesn't actually seem necessary. It might just be obsolete instructions, I'll keep you posted.

@bfontaine
Copy link
Contributor

Thanks!

@DomT4
Copy link
Member

DomT4 commented Aug 27, 2015

According to the Wiki we'll need to add an optional x11 dependency if we enable the demos:

DrawStuff requires OpenGL, and X11 on Mac OS X

@sheim
Copy link
Author

sheim commented Aug 31, 2015

I can install from source manually, without the flag (currently included in homebrew) "--disable-demos", and it works. It build drawstuff as well as a demos folder.

I modified the brew formula and removed the "--disable demos" by default, and also tried adding "--with-demos", and it seems to run the correct configuration step (brew install runs ./configure --with-demos), but not drawstuff and demo folders do not appear anywhere in /usr/local/Cellar/ (they should be in the ode/0.13.1/ folder, if it's the same as installing manually).

I'm a bit stumped at this point.

@DomT4
Copy link
Member

DomT4 commented Aug 31, 2015

Do you have XQuartz installed out of curiosity?

It's unlikely the upstream Makefile installs demos by default, most don't. You'd need to do something like pkgshare.install "/path/to/demos"

@sheim
Copy link
Author

sheim commented Aug 31, 2015

I do have XQuartz installed.

I downloaded directly from the same bitbucket url that is saved in the brew formula.

@MikeMcQuaid
Copy link
Member

@sheim Might be worth creating a pull request as it's easier for us to help you debug the code then.

@sheim
Copy link
Author

sheim commented Sep 8, 2015

I'll get back to you soon, sorry, I'm at a conf in China, hard to get
through the firewall...

On Sun, Sep 6, 2015 at 7:01 PM, Mike McQuaid notifications@github.com
wrote:

@sheim https://github.com/sheim Might be worth creating a pull request
as it's easier for us to help you debug the code then.


Reply to this email directly or view it on GitHub
#43312 (comment)
.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants