Open GoogleCodeExporter opened 9 years ago
Hi, I believe this issue has been addressed in the trunk.
Could you try to compile the latest version?
Original comment by kcb...@googlemail.com
on 19 Apr 2011 at 9:12
I have no time now, but I see in trunk/src/osgOcean/CMakeLists.txt
(http://code.google.com/p/osgocean/source/browse/trunk/src/osgOcean/CMakeLists.t
xt#130)
same problem.
Original comment by izmmish...@gmail.com
on 19 Apr 2011 at 9:14
and in trunk/CMakeLists.txt
<code>
find_package (OpenThreads REQUIRED)
include_directories(${OPENTHREADS_INCLUDE_DIR})
IF (NOT WIN32)
IF (NOT OSG_LIBRARY_DEBUG)
SET(OSG_LIBRARY_DEBUG ${OSG_LIBRARY})
ENDIF()
IF (NOT OSGDB_LIBRARY_DEBUG)
SET(OSGDB_LIBRARY_DEBUG ${OSGDB_LIBRARY})
ENDIF()
IF (NOT OSGGA_LIBRARY_DEBUG)
SET(OSGGA_LIBRARY_DEBUG ${OSGGA_LIBRARY})
ENDIF()
IF (NOT OSGVIEWER_LIBRARY_DEBUG)
SET(OSGVIEWER_LIBRARY_DEBUG ${OSGVIEWER_LIBRARY})
ENDIF()
IF (NOT OSGUTIL_LIBRARY_DEBUG)
SET(OSGUTIL_LIBRARY_DEBUG ${OSGUTIL_LIBRARY})
ENDIF()
IF (NOT OSGTEXT_LIBRARY_DEBUG)
SET(OSGTEXT_LIBRARY_DEBUG ${OSGTEXT_LIBRARY})
ENDIF()
IF (NOT OPENTHREADS_LIBRARY_DEBUG)
SET(OPENTHREADS_LIBRARY_DEBUG ${OPENTHREADS_LIBRARY})
ENDIF()
ENDIF()
</code>
Original comment by izmmish...@gmail.com
on 19 Apr 2011 at 9:16
A quick fix for you would be to remove the IF(NOT WIN32) condition from the
above cmake list. I'll have to see if I can disable a debug build on win32
systems if the debug libraries aren't present since otherwise you'll get
runtime errors through mixing debug and release DLLs.
Original comment by kcb...@googlemail.com
on 19 Apr 2011 at 9:32
Original issue reported on code.google.com by
izmmish...@gmail.com
on 19 Apr 2011 at 8:00