![]() ![]() Run Build Command(s):/usr/bin/make cmTC_1c5cf/fast & /usr/bin/make -f CMakeFiles/cmTC_1c5cf.dir/build.make CMakeFiles/cmTC_1c5cf. Pthread_create(&thread, NULL, test_func, NULL) ĭetermining if the function pthread_create exists in the pthreads failed with the following output: Make: Leaving directory '/home/isp/Downloads/gtsam-4.0.2/build/CMakeFiles/CMakeTmp' usr/bin/ld: src.c:(.text+0x5c): undefined reference to `pthread_join'Ĭollect2: error: ld returned 1 exit status usr/bin/ld: src.c:(.text+0x50): undefined reference to `pthread_detach' Src.c:(.text+0x48): undefined reference to `pthread_create' usr/bin/ld: CMakeFiles/cmTC_97e14.dir/src.c.o: in function `main': usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -rdynamic CMakeFiles/cmTC_97e14.dir/src.c.o -o cmTC_97e14 usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_97e14.dir/link.txt -verbose=1 Make mono's build use a slightly more idiomatic cmake style: One project() per subdirectory, rather than just in mini toplevel addsubdirectory for each subdirectory specify sources relative to the current project source dir, rather than using addprefix to relativize everything from mini use object libraries for each logical grouping. usr/bin/cc -DCMAKE_HAVE_LIBC_PTHREAD -o CMakeFiles/cmTC_97e14.dir/src.c.o -c /home/isp/Downloads/gtsam-4.0.2/build/CMakeFiles/CMakeTmp/src.c Make: Entering directory '/home/isp/Downloads/gtsam-4.0.2/build/CMakeFiles/CMakeTmp'īuilding C object CMakeFiles/cmTC_97e14.dir/src.c.o Run Build Command(s):/usr/bin/make cmTC_97e14/fast & /usr/bin/make -f CMakeFiles/cmTC_97e14.dir/build.make CMakeFiles/cmTC_97e14.dir/build I'm not entirely sure what this refers to, but I tried to run it under sudo and still no such luck.ĬmakeError.log: Performing C SOURCE FILE Test CMAKE_HAVE_LIBC_PTHREAD failed with the following output:Ĭhange Dir: /home/isp/Downloads/gtsam-4.0.2/build/CMakeFiles/CMakeTmp , which the contributor states that its not an issue with gtsam, but a permission issue. I have found a similar issue in the thread. See also "/home/isp/Downloads/gtsam-4.0.2/build/CMakeFiles/CMakeError.log". See also "/home/isp/Downloads/gtsam-4.0.2/build/CMakeFiles/CMakeOutput.log". Configuring incomplete, errors occurred! The "debug" argument must be followed by a library. Could NOT find MKL (missing: MKL_INCLUDE_DIR MKL_LIBRARIES)ĬMake Error at wrap/CMakeLists.txt:32 (target_link_libraries): GTSAM_BOOST_LIBRARIES: optimized /usr/lib/aarch64-linux-gnu/libboost_serialization.so.1.71.0 optimized /usr/lib/aarch64-linux-gnu/libboost_system.so.1.71.0 optimized /usr/lib/aarch64-linux-gnu/libboost_filesystem.so.1.71.0 optimized /usr/lib/aarch64-linux-gnu/libboost_thread.so.1.71.0 optimized /usr/lib/aarch64-linux-gnu/libboost_date_time.so.1.71.0 optimized /usr/lib/aarch64-linux-gnu/libboost_regex.so.1.71.0 debug debug debug debug debug debug I am trying to build gtsam 4.0.2, but when I reach the step to run: cmake -DGTSAM_BUILD_WITH_MARCH_NATIVE=OFF -DCMAKE_INSTALL_PREFIX=/usr/local/include/gtsam402. Running on Ubuntu 20.04 on Jetson Orin (arm64, Noetic)
0 Comments
Leave a Reply. |