Hi Robert,
"Robert Osfield" wrote:
> Do you manually install OpenThreads to /opt/OSG/lib and include? Is
> there a reason for it not being in /opt/lib or /usr/local/lib?
Yup, this gives me a safe means to make sure I _really_ rebuild
everuthing from scratch during test-runs. My /opt/OSG/ is owned by a
regular user, so no harm could be done to the system by simply removing
everything that resides in that directory:
# ~> cd /opt/OSG/ && find . -depth | xargs rm -r
And, to be honest, I'd expect from a modern build system to fetch build
dependencies from every place the user likes to store them at. The
directory looks like this - and afterwards, OpenSceneGraph should get
installed accordingly:
quickstep: 0:04:54 ~> find /opt/OSG
/opt/OSG
/opt/OSG/lib
/opt/OSG/lib/libOpenThreads.so
/opt/OSG/include
/opt/OSG/include/OpenThreads
/opt/OSG/include/OpenThreads/Barrier
/opt/OSG/include/OpenThreads/Block
/opt/OSG/include/OpenThreads/Condition
/opt/OSG/include/OpenThreads/Exports
/opt/OSG/include/OpenThreads/Mutex
/opt/OSG/include/OpenThreads/ReadWriteMutex
/opt/OSG/include/OpenThreads/ReentrantMutex
/opt/OSG/include/OpenThreads/ScopedLock
/opt/OSG/include/OpenThreads/Thread
> The OPENTHREADS_INCLUDE_DIR and OPENTHREADS_LIBRARY vars themselves
> are part of the CMake build system rather than env vars, so you can
> set this using ccmake rather than cmake.
If I understand correctly, then 'ccmake' is designed to be an
interactive tool, right !? A user should be able to set these variables
during an unattended batch-run, how do I manage to do this ?
Cheers,
Martin.
--
Unix _IS_ user friendly - it's just selective about who its friends are !
--------------------------------------------------------------------------
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/