Hi all,

i would like to compile OpenSceneGraph with the Stlport (using cygwin)  so i 
put the followong lines in the CMakeLists.txt (the one in the root)



Code:

INCLUDE_DIRECTORIES(C:/LIB/STLport-5.1.5/stlport)
LINK_DIRECTORIES(C:/LIB/STLport-5.1.5/lib)
TARGET_LINK_LIBRARIES(stlport.5.1)




the compiler is ok, but the linker does not find my library stlport.5.1.lib. i 
think it miss the -lstlport.5.1 command.... 

i also tried the following line

Code:

SET(CMAKE_LDFLAGS "${CMAKE_LDFLAGS} -LC:/LIB/STLport-5.1.5/lib -lstlport.5.1")



but nothing better.

any ideas ?

Thank you!

Cheers,
me

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=15119#15119





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

Reply via email to