CodeMatias / bullet-old

Automatically exported from code.google.com/p/bullet
Other
0 stars 1 forks source link

Linking error with 2.82 on OSX 10.8.5 with -DBUILD_EXTRAS=OFF #767

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout 2.82 source code
2. Build with `cmake . -DBUILD_EXTRAS=OFF && make AppAllBulletDemos`
3. It will fail with the following message:

Linking CXX executable AppAllBulletDemos ld: library not found for -lGLUI clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: * [Demos/AllBulletDemos/AppAllBulletDemos] Error 1 make[1]: * [Demos/AllBulletDemos/CMakeFiles/AppAllBulletDemos.dir/all] Error 2 make: *\ [all] Error 2


It works fine with `-DBUILD_EXTRAS=ON` (default) or with `-DBUILD_EXTRAS=OFF  
-DBUILD_DEMOS=OFF`. There seems to be some kind of linking issue with this 
particular case.

It's a minor issue, but I thought I'd report it anyway. I can provide more 
details if needed if you don't have a mac running 10.8.

Original issue reported on code.google.com by scpet...@osrfoundation.org on 13 Nov 2013 at 8:57

GoogleCodeExporter commented 8 years ago
Yes, we should not enable the 'AppAllBulletDemos' when 'DBUILD_EXTRAS' is OFF.
Thanks,
Erwin

Original comment by erwin.coumans on 15 Nov 2013 at 9:17

GoogleCodeExporter commented 8 years ago
The mac homebrew folks made a workaround:
https://github.com/mxcl/homebrew/commit/870e27873f057cf418098bcb604af75e74d9ce28

Original comment by scpet...@osrfoundation.org on 15 Nov 2013 at 10:31

GoogleCodeExporter commented 8 years ago
Fixed in latest trunk: https://code.google.com/p/bullet/source/detail?r=2713

Thanks for the report

Original comment by erwin.coumans on 17 Nov 2013 at 8:14