kantaki Newbie
Joined: 21 Apr 2013 Posts: 5
|
Posted: Wed Apr 24, 2013 7:11 pm Post subject: Building osgBullet? |
|
|
I could't compile osgWorks so I downloaded the latest svn version which did compile fine. But I am unable to compile osgBullet, well I am not able to generate the make files in linux with cmake.
It tells me that i can't find osgWorks. This error is explained on the offical repo but I still have no clue what I have to do.
Quotation from the wiki:
Quote:
|
In summary:
If the dependency is in a standard location, you shouldn't need to set any variables. CMake should just find them.
Set either the OSGWORKS_ROOT variable (if installed in a non-standard location) or both the OSGWORKS_BUILD_DIR and OSGWORKS_SOURCE_DIR variables (if using the dependency from a source tree). You should never have to set all three.
|
What files do I have to adjust? I currently have it installed in /usr/ |
|
LaytonG123 Newbie
Joined: 24 Dec 2013 Posts: 6
|
Posted: Tue Dec 24, 2013 5:27 pm Post subject: |
|
|
Sounds like you need to define your environment variables. Try right clicking on "MyComputer" then "properties", "Advanced system settings", "environment variables". Create a new environment variable with
OSGWORKS_ROOT = C:\OpenSceneGraph-3.0.1 (or where ever your osg is installed) |
|
LaytonG123 Newbie
Joined: 24 Dec 2013 Posts: 6
|
Posted: Tue Dec 24, 2013 5:29 pm Post subject: |
|
|
Whoops, I meant to set OSGWORKS_ROOT to where ever you have osg works installed and not OSG. |
|