cmake boost problem

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Locked
bhoessen
Posts: 6
Joined: 07 Oct 2012, 11:18

cmake boost problem

Post by bhoessen »

Hi everyone

I'm new to the openmw community :-)
I'm trying to build openmw under Scientific Linux 6.2 (a rhel 6.2 derivate)

I've installed through yum the dependencies I could get, and compiled the others. Now, when I try to generate the makefiles for openmw through cmake-gui, I'm having the following errors:

Code: Select all

OpenMW pre-built binaries not found.  Using standard locations.
Boost  found.
Looking for OGRE...
checking for module 'OGRE'
  package 'OGRE' not found
Found Ogre Byatis (1.8.1)
Found OGRE: optimized;/usr/local/lib/libOgreMain.so;debug;/usr/local/lib/libOgreMain.so
Looking for OGRE_Paging...
Found OGRE_Paging: optimized;/usr/local/lib/libOgrePaging.so;debug;/usr/local/lib/libOgrePaging.so
Looking for OGRE_Terrain...
Found OGRE_Terrain: optimized;/usr/local/lib/libOgreTerrain.so;debug;/usr/local/lib/libOgreTerrain.so
Looking for OGRE_Property...
Found OGRE_Property: optimized;/usr/local/lib/libOgreProperty.so;debug;/usr/local/lib/libOgreProperty.so
Looking for OGRE_RTShaderSystem...
Found OGRE_RTShaderSystem: optimized;/usr/local/lib/libOgreRTShaderSystem.so;debug;/usr/local/lib/libOgreRTShaderSystem.so
checking for one of the modules 'MYGUI;MyGUI'
 libraries : /home/bhoessen/Documents/code/my-gui/build-gui/lib/libMyGUIEngine.so from /home/bhoessen/Documents/code/my-gui/build-gui/lib
 includes : /usr/local/include/MYGUI
CMake Error at /usr/lib64/boost/Boost.cmake:16 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:19 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-mt-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:22 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:25 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-mt-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:28 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:31 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-mt-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:34 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:37 (ADD_LIBRARY):
  add_library cannot create imported target "boost_date_time-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:40 (ADD_LIBRARY):
  add_library cannot create imported target "boost_thread-mt-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:43 (ADD_LIBRARY):
  add_library cannot create imported target "boost_thread-mt-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:46 (ADD_LIBRARY):
  add_library cannot create imported target "boost_thread-mt-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:49 (ADD_LIBRARY):
  add_library cannot create imported target "boost_thread-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:52 (ADD_LIBRARY):
  add_library cannot create imported target "boost_regex-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:55 (ADD_LIBRARY):
  add_library cannot create imported target "boost_regex-mt-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:58 (ADD_LIBRARY):
  add_library cannot create imported target "boost_regex-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:61 (ADD_LIBRARY):
  add_library cannot create imported target "boost_regex-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:64 (ADD_LIBRARY):
  add_library cannot create imported target "boost_serialization-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:67 (ADD_LIBRARY):
  add_library cannot create imported target "boost_serialization-mt-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:70 (ADD_LIBRARY):
  add_library cannot create imported target "boost_serialization-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:73 (ADD_LIBRARY):
  add_library cannot create imported target "boost_serialization-mt-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:76 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_serialization-static-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:79 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_serialization-mt-static-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:82 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_serialization-shared-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:85 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_serialization-mt-shared-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:88 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wserialization-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:91 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wserialization-mt-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:94 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wserialization-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:97 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wserialization-mt-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:100 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_wserialization-static-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:103 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_wserialization-mt-static-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:106 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_wserialization-shared-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:109 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_wserialization-mt-shared-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:112 (ADD_LIBRARY):
  add_library cannot create imported target "boost_graph-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:115 (ADD_LIBRARY):
  add_library cannot create imported target "boost_graph-mt-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:118 (ADD_LIBRARY):
  add_library cannot create imported target "boost_graph-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:121 (ADD_LIBRARY):
  add_library cannot create imported target "boost_graph-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:124 (ADD_LIBRARY):
  add_library cannot create imported target "boost_python-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:127 (ADD_LIBRARY):
  add_library cannot create imported target "boost_python-mt-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:130 (ADD_LIBRARY):
  add_library cannot create imported target "boost_python-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:133 (ADD_LIBRARY):
  add_library cannot create imported target "boost_python-mt-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:136 (ADD_LIBRARY):
  add_library cannot create imported target "boost_python-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:139 (ADD_LIBRARY):
  add_library cannot create imported target "boost_python-mt-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:142 (ADD_LIBRARY):
  add_library cannot create imported target "boost_python-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:145 (ADD_LIBRARY):
  add_library cannot create imported target "boost_python-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:148 (ADD_LIBRARY):
  add_library cannot create imported target "boost_system-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:151 (ADD_LIBRARY):
  add_library cannot create imported target "boost_system-mt-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:154 (ADD_LIBRARY):
  add_library cannot create imported target "boost_system-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:157 (ADD_LIBRARY):
  add_library cannot create imported target "boost_system-mt-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:160 (ADD_LIBRARY):
  add_library cannot create imported target "boost_system-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:163 (ADD_LIBRARY):
  add_library cannot create imported target "boost_system-mt-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:166 (ADD_LIBRARY):
  add_library cannot create imported target "boost_system-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:169 (ADD_LIBRARY):
  add_library cannot create imported target "boost_system-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:172 (ADD_LIBRARY):
  add_library cannot create imported target "boost_prg_exec_monitor-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:175 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_prg_exec_monitor-mt-static" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:178 (ADD_LIBRARY):
  add_library cannot create imported target "boost_prg_exec_monitor-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:181 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_prg_exec_monitor-mt-shared" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:184 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_prg_exec_monitor-static-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:187 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_prg_exec_monitor-mt-static-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:190 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_prg_exec_monitor-shared-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:193 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_prg_exec_monitor-mt-shared-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:196 (ADD_LIBRARY):
  add_library cannot create imported target "boost_test_exec_monitor-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:199 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_test_exec_monitor-mt-static" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:202 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_test_exec_monitor-static-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:205 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_test_exec_monitor-mt-static-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:208 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_unit_test_framework-static" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:211 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_unit_test_framework-mt-static" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:214 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_unit_test_framework-shared" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:217 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_unit_test_framework-mt-shared" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:220 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_unit_test_framework-static-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:223 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_unit_test_framework-mt-static-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:226 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_unit_test_framework-shared-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:229 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_unit_test_framework-mt-shared-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:232 (ADD_LIBRARY):
  add_library cannot create imported target "boost_filesystem-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:235 (ADD_LIBRARY):
  add_library cannot create imported target "boost_filesystem-mt-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:238 (ADD_LIBRARY):
  add_library cannot create imported target "boost_filesystem-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:241 (ADD_LIBRARY):
  add_library cannot create imported target "boost_filesystem-mt-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:244 (ADD_LIBRARY):
  add_library cannot create imported target "boost_filesystem-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:247 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_filesystem-mt-static-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:250 (ADD_LIBRARY):
  add_library cannot create imported target "boost_filesystem-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:253 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_filesystem-mt-shared-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:256 (ADD_LIBRARY):
  add_library cannot create imported target "boost_iostreams-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:259 (ADD_LIBRARY):
  add_library cannot create imported target "boost_iostreams-mt-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:262 (ADD_LIBRARY):
  add_library cannot create imported target "boost_iostreams-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:265 (ADD_LIBRARY):
  add_library cannot create imported target "boost_iostreams-mt-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:268 (ADD_LIBRARY):
  add_library cannot create imported target "boost_iostreams-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:271 (ADD_LIBRARY):
  add_library cannot create imported target "boost_iostreams-mt-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:274 (ADD_LIBRARY):
  add_library cannot create imported target "boost_iostreams-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:277 (ADD_LIBRARY):
  add_library cannot create imported target "boost_iostreams-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:280 (ADD_LIBRARY):
  add_library cannot create imported target "boost_program_options-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:283 (ADD_LIBRARY):
  add_library cannot create imported target "boost_program_options-mt-static"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:286 (ADD_LIBRARY):
  add_library cannot create imported target "boost_program_options-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:289 (ADD_LIBRARY):
  add_library cannot create imported target "boost_program_options-mt-shared"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:292 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_program_options-static-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:295 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_program_options-mt-static-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:298 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_program_options-shared-debug" because another target with the same
  name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:301 (ADD_LIBRARY):
  add_library cannot create imported target
  "boost_program_options-mt-shared-debug" because another target with the
  same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:304 (ADD_LIBRARY):
  add_library cannot create imported target "boost_signals-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:307 (ADD_LIBRARY):
  add_library cannot create imported target "boost_signals-mt-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:310 (ADD_LIBRARY):
  add_library cannot create imported target "boost_signals-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:313 (ADD_LIBRARY):
  add_library cannot create imported target "boost_signals-mt-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:316 (ADD_LIBRARY):
  add_library cannot create imported target "boost_signals-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:319 (ADD_LIBRARY):
  add_library cannot create imported target "boost_signals-mt-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:322 (ADD_LIBRARY):
  add_library cannot create imported target "boost_signals-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:325 (ADD_LIBRARY):
  add_library cannot create imported target "boost_signals-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:328 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wave-mt-static" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:331 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wave-mt-shared" because
  another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:334 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wave-mt-static-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


CMake Error at /usr/lib64/boost/Boost.cmake:337 (ADD_LIBRARY):
  add_library cannot create imported target "boost_wave-mt-shared-debug"
  because another target with the same name already exists.
Call Stack (most recent call first):
  /usr/lib64/boost/BoostConfig.cmake:28 (include)
  /usr/share/cmake28/Modules/FindBoost.cmake:283 (find_package)
  CMakeLists.txt:201 (find_package)


Boost  found.
Found Boost components:
   system;filesystem;program_options;thread;wave
Looking for OIS...
checking for module 'OIS'
  package 'OIS' not found
Found OIS: optimized;/usr/local/lib/libOIS.so;debug;/usr/local/lib/libOIS.so
CMake Warning (dev) at CMakeLists.txt:444 (add_subdirectory):
  The source directory

    /home/bhoessen/Documents/code/openmw/extern/shiny

  does not contain a CMakeLists.txt file.

  CMake does not support this case but it used to work accidentally and is
  being allowed for compatibility.

  Policy CMP0014 is not set: Input directories must have CMakeLists.txt.  Run
  "cmake --help-policy CMP0014" for policy details.  Use the cmake_policy
  command to set the policy and suppress this warning.
This warning is for project developers.  Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred!
I'm also new with cmake, so I may have configured it wrong. Does anyone know what my problem could be?

A few references:
BOOST_VERSION 104100
My-gui: 3.2.0
Ogre: 1-8-1
Bullet: 2.81

Thanks

Benoît
User avatar
Zini
Posts: 5538
Joined: 06 Aug 2011, 15:16

Re: cmake boost problem

Post by Zini »

Never seen this problem before. Are you absolutely sure that boost is properly installed? I can't think of any other problem, except maybe that your version of boost seems to be a bit old (assuming this version string means 1.41.0). I don't think we still have any developer using such an old boost, so there is no guarantee that OpenMW is still working with it.
bhoessen
Posts: 6
Joined: 07 Oct 2012, 11:18

Re: cmake boost problem

Post by bhoessen »

I've removed the different packages relative to Boost, compiled it and installed it and now, with the version 1.51, it generates Makefiles :)
Locked