Not able to configure osgBullet in visual studio using cmake-gui

32 views
Skip to first unread message

Sachin Jose

unread,
May 9, 2018, 1:42:08 PM5/9/18
to osgworks-users
I am new to osgBullet. When I tried to configure osgBullet in visual studio using cmake-gui it ends with error and shows below log:

The C compiler identification is MSVC 19.0.23506.0
The CXX compiler identification is MSVC 19.0.23506.0
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Could NOT find OpenThreads (missing: OPENTHREADS_LIBRARY OPENTHREADS_INCLUDE_DIR) 
Could NOT find osg (missing: OSG_LIBRARY OSG_INCLUDE_DIR) 
Could NOT find osgDB (missing: OSGDB_LIBRARY OSGDB_INCLUDE_DIR) 
Could NOT find osgUtil (missing: OSGUTIL_LIBRARY OSGUTIL_INCLUDE_DIR) 
Could NOT find osgGA (missing: OSGGA_LIBRARY OSGGA_INCLUDE_DIR) 
Could NOT find osgText (missing: OSGTEXT_LIBRARY OSGTEXT_INCLUDE_DIR) 
Could NOT find osgViewer (missing: OSGVIEWER_LIBRARY OSGVIEWER_INCLUDE_DIR) 
Could NOT find osgShadow (missing: OSGSHADOW_LIBRARY OSGSHADOW_INCLUDE_DIR) 
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenSceneGraph (missing: OPENSCENEGRAPH_LIBRARIES
  OPENSCENEGRAPH_INCLUDE_DIR OPENTHREADS_FOUND OSG_FOUND OSGDB_FOUND
  OSGUTIL_FOUND OSGGA_FOUND OSGTEXT_FOUND OSGVIEWER_FOUND OSGSHADOW_FOUND)
  (Required is at least version "2.6.1")
Call Stack (most recent call first):
  C:/Program Files (x86)/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files (x86)/CMake/share/cmake-3.10/Modules/FindOpenSceneGraph.cmake:223 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeModules/FindOSGHelper.cmake:125 (find_package)
  CMakeLists.txt:41 (include)

Paul Martz

unread,
May 9, 2018, 1:46:39 PM5/9/18
to osgwork...@googlegroups.com
Yeah, I thought it was a dependency issue. You need to tell cmake-gui where to find OSG. You will also need to tell it where to find Bullet and osgWorks. Steps for doing this are described in the link I posted previously.
-Paul
> --
> You received this message because you are subscribed to the Google Groups "osgworks-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to osgworks-user...@googlegroups.com.
> To post to this group, send email to osgwork...@googlegroups.com.
> Visit this group at https://groups.google.com/group/osgworks-users.
> For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages