Required specification of OSGWCONTROLS_LIBRARY and OSGWTOOLS_LIBRARY variables
Closed this issue · 1 comments
GoogleCodeExporter commented
What steps will reproduce the problem?
1. downloaded the tar file
2. configure makefile via cmake ./ in the osgBullet directory with
OSGWTOOLS_LIBRARY and OSGWCONTROLS_LIBRARY specified in environment
What is the expected output? What do you see instead?
To get a generated makefile, instead recieved
$ cmake ./
CMake Error: The following variables are used in this project, but they are
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
OSGWCONTROLS_LIBRARY (ADVANCED)
linked by target "osgbpp" in directory .../osgBullet/applications/osgbpp
linked by target "BasicDemo" in directory .../osgBullet/examples/basicdemo
linked by target "colladaread" in directory
.../osgBullet/examples/colladaread
linked by target "dice" in directory .../osgBullet/examples/dice
linked by target "solver" in directory .../osgBullet/examples/solver
linked by target "osgbBullet" in directory /.../osgBullet/src/osgbBullet
linked by target "osgdb_osgbBullet" in directory
.../osgBullet/src/plugins/osgbBullet
OSGWTOOLS_LIBRARY (ADVANCED)
linked by target "osgbpp" in directory .../osgBullet/applications/osgbpp
linked by target "BasicDemo" in directory .../osgBullet/examples/basicdemo
linked by target "colladaread" in directory
.../osgBullet/examples/colladaread
linked by target "dice" in directory .../osgBullet/examples/dice
linked by target "solver" in directory .../osgBullet/examples/solver
linked by target "osgbBullet" in directory .../osgBullet/src/osgbBullet
linked by target "osgdb_osgbBullet" in directory
.../osgBullet/src/plugins/osgbBullet
What version of the product are you using? On what operating system?
Red hat 64, cmake 2.6
Please provide any additional information below.
I have to manually enter the variables in the advanced screen of ccmake to
get the makefile to generate correctly
Original issue reported on code.google.com by rossboh...@gmail.com
on 5 Nov 2009 at 3:47
GoogleCodeExporter commented
The CMake system does not look for OSGWTOOLS_LIBRARY or OSGWCONTROLS_LIBRARY in
the
environment. They are internal CMake variables.
See the instructions for how to tell CMake how to find the dependencies:
http://code.google.com/p/osgbullet/wiki/BuildingOsgBullet
You will either set no environment variables (if osgWorks in installed into a
standard location), or you will set OSGWORKS_ROOT (if osgWorks is installed
into a
non-standard location), or you will set both OSGWORKS_SOURCE_DIR and
OSGWORKS_BUILD_DIR (to use osgWorks from a source tree that you have built but
not
installed).
In all of these cases, the CMake system will set OSGWTOOLS_LIBRARY and
OSGWCONTROLS_LIBRARY internally after finding osgWorks.
Original comment by SkewMat...@gmail.com
on 5 Nov 2009 at 9:07
- Changed state: Invalid