You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the current master (342f30d), running cmake .. from a build-folder, using Ubuntu 20.04 and CMake version 3.16.3 results in:
note: I also tried with the latest release tag 4.0.2, same issue.
Environment
Ubuntu 20.04,
CMake version 3.16.3
Boost 1.71
Happens with master and v4.0.2
Additional information
11:32 $ cmake ..
-- GTSAM_SOURCE_ROOT_DIR: [/home/thomas/Libraries/gtsam]
-- GTSAM_BOOST_LIBRARIES: optimized;/usr/lib/x86_64-linux-gnu/libboost_serialization.so.1.71.0;optimized;/usr/lib/x86_64-linux-gnu/libboost_system.so.1.71.0;optimized;/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0;optimized;/usr/lib/x86_64-linux-gnu/libboost_thread.so.1.71.0;optimized;/usr/lib/x86_64-linux-gnu/libboost_date_time.so.1.71.0;optimized;/usr/lib/x86_64-linux-gnu/libboost_regex.so.1.71.0;debug;debug;debug;debug;debug;debug
-- Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_LIBRARIES)
-- Found Eigen version: 3.3.7
CMake Error at wrap/CMakeLists.txt:32 (target_link_libraries):
The "debug" argument must be followed by a library.
-- Configuring incomplete, errors occurred!
See also "/home/thomas/Libraries/gtsam/build/CMakeFiles/CMakeOutput.log".
See also "/home/thomas/Libraries/gtsam/build/CMakeFiles/CMakeError.log".
i tried the trick mentioned here: https://stackoverflow.com/a/39663388, which allows cmake to configure (after changing debug to libdebug.so in several cmakelists.txt).. But however fails on compiling:
but makes sense as the approach feels kind of hacky.
I'm not a cmake-wizard, but maybe @jlblancoc can give some guidance for a desired solution (if agreed this is a bug/want to fix thing) and I can put on a pull request.
The text was updated successfully, but these errors were encountered:
Hi,
Maybe not a bug (yet) but a compatibility issue:
Description
Using the current master (342f30d), running
cmake ..
from a build-folder, using Ubuntu 20.04 and CMake version 3.16.3 results in:note: I also tried with the latest release tag 4.0.2, same issue.
Environment
Ubuntu 20.04,
CMake version 3.16.3
Boost 1.71
Happens with master and v4.0.2
Additional information
i tried the trick mentioned here: https://stackoverflow.com/a/39663388, which allows cmake to configure (after changing debug to libdebug.so in several cmakelists.txt).. But however fails on compiling:
but makes sense as the approach feels kind of hacky.
I'm not a cmake-wizard, but maybe @jlblancoc can give some guidance for a desired solution (if agreed this is a bug/want to fix thing) and I can put on a pull request.
The text was updated successfully, but these errors were encountered: