CMAKE ERROR at wrap/CMakeLists.txt:29 (target_link_libraries):The "debug" argument must be followed by a library.

Issue #463 closed
jakobs created an issue

-- The CXX compiler identification is GNU 5.4.0
-- The C compiler identification is GNU 5.4.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- GTSAM_SOURCE_ROOT_DIR: [/home/guhao/Documents/gtsam]
Boost 1.43 found.
Found Boost components:
serialization;system;filesystem;thread;program_options;date_time;timer;chrono;regex
-- GTSAM_BOOST_LIBRARIES: optimized;debug
-- Found TBB: /usr/include (found version "4.4") found components: tbb tbbmalloc
-- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_LIBRARIES)
-- Try OpenMP C flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Try OpenMP CXX flag = [-fopenmp]
-- Performing Test OpenMP_FLAG_DETECTED
-- Performing Test OpenMP_FLAG_DETECTED - Success
-- Found OpenMP: -fopenmp
CMake Warning (dev) at wrap/CMakeLists.txt:29 (target_link_libraries):
Link library type specifier "optimized" is followed by specifier "debug"
instead of a library name. The first specifier will be ignored.
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at wrap/CMakeLists.txt:29 (target_link_libraries):
The "debug" argument must be followed by a library.

-- Configuring incomplete, errors occurred!
See also "/home/guhao/Documents/gtsam/build/CMakeFiles/CMakeOutput.log".
See also "/home/guhao/Documents/gtsam/build/CMakeFiles/CMakeError.log".

Comments (5)

  1. jakobs reporter

    I still have the same problem in my two computer after i tried the latest version. I have installed boost and cmake which are over needed version.

  2. Log in to comment