Hi, This may be an issues with the developers of cmake but I've had a
difficult experience building OSG 2.2 official release on IRIX 6.5 using
the cmake build process. Problems namely with specifying my
own /include /lib paths.

it seems to want to ignore any arguments I pass to it , I don't think
Cmake even reads the PATH env variable . To solve this I've had to hard
code the paths in CMakeCache  and CmakeLists.txt and other areas in
order for OSG to build with the headers and libs I want. Even using the
SET command in CmakeLists.txt doesn't seem to fix the problem. It seems
to me that Cmake has a set of hardcoded directories that it will search.

Is there a simpler way to give cmake user defined search paths?


Other modules I had to alter to make cmake search the directories I
specify:

In CmakeModules/ for all search paths:

FIND_LIB /usr/nekoware/lib

/usr/freeware/lib64

FIND_INCLUDE /usr/nekoware/include

/usr/freeware/include

/src/osgPlugins/jpeg/CMakeFiles/osgdb_jpeg.dir

added: /usr/nekoware/lib/libjpeg.so


I also wonder if cmake builds osg on 64 bit platforms in 64 bit? or does
it build in 32 bit? How can you tell or know what cmake is doing?

Regards

Paul



IMPORTANT: This email remains the property of the Australian Defence 
Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 
1914.  If you have received this email in error, you are requested to contact 
the sender and delete the email.


_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to