libcvd-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[libcvd-members] build problems with


From: Carson Reynolds
Subject: [libcvd-members] build problems with
Date: Wed, 27 Jun 2012 15:42:50 +0900

Hello, I've been trying to build a variant of PTAM with the most
recent version of libcvd. At present I'm encountering some linker
errors related to librt:
---

cd BUILD/PTAML && /usr/bin/cmake -E cmake_link_script
CMakeFiles/PTAML.dir/link.txt --verbose=1
/usr/bin/c++    -fmessage-length=0 -fopenmp
CMakeFiles/PTAML.dir/agast/nonMaximumSuppression.cc.o
CMakeFiles/PTAML.dir/agast/agast5_8_nms.cc.o
CMakeFiles/PTAML.dir/agast/agast5_8.cc.o
CMakeFiles/PTAML.dir/agast/agast7_12d_nms.cc.o
CMakeFiles/PTAML.dir/agast/agast7_12d.cc.o
CMakeFiles/PTAML.dir/agast/agast7_12s_nms.cc.o
CMakeFiles/PTAML.dir/agast/agast7_12s.cc.o
CMakeFiles/PTAML.dir/agast/oast9_16_nms.cc.o
CMakeFiles/PTAML.dir/agast/oast9_16.cc.o
CMakeFiles/PTAML.dir/ARToolkit.cc.o
CMakeFiles/PTAML.dir/ATANCamera.cc.o CMakeFiles/PTAML.dir/Bundle.cc.o
CMakeFiles/PTAML.dir/FeatureGrid.cc.o
CMakeFiles/PTAML.dir/Frontend.cc.o CMakeFiles/PTAML.dir/GLWindow2.cc.o
CMakeFiles/PTAML.dir/GLWindowMenu.cc.o
CMakeFiles/PTAML.dir/HomographyInit.cc.o
CMakeFiles/PTAML.dir/InitialTracker.cc.o
CMakeFiles/PTAML.dir/KeyFrame.cc.o CMakeFiles/PTAML.dir/main.cc.o
CMakeFiles/PTAML.dir/Map.cc.o CMakeFiles/PTAML.dir/MapLockManager.cc.o
CMakeFiles/PTAML.dir/MapMaker.cc.o CMakeFiles/PTAML.dir/MapPoint.cc.o
CMakeFiles/PTAML.dir/MapSerializer.cc.o
CMakeFiles/PTAML.dir/MapViewer.cc.o CMakeFiles/PTAML.dir/MD5.cc.o
CMakeFiles/PTAML.dir/MD5Wrapper.cc.o
CMakeFiles/PTAML.dir/MiniPatch.cc.o
CMakeFiles/PTAML.dir/PatchFinder.cc.o
CMakeFiles/PTAML.dir/TargetController.cc.o
CMakeFiles/PTAML.dir/Rectangle.cc.o
CMakeFiles/PTAML.dir/Relocaliser.cc.o
CMakeFiles/PTAML.dir/ScaleMarkerTracker.cc.o
CMakeFiles/PTAML.dir/ShiTomasi.cc.o
CMakeFiles/PTAML.dir/SmallBlurryImage.cc.o
CMakeFiles/PTAML.dir/System.cc.o CMakeFiles/PTAML.dir/Timing.cc.o
CMakeFiles/PTAML.dir/tinyxml.cc.o
CMakeFiles/PTAML.dir/tinyxmlerror.cc.o
CMakeFiles/PTAML.dir/tinyxmlparser.cc.o
CMakeFiles/PTAML.dir/Tracker.cc.o CMakeFiles/PTAML.dir/Utils.cc.o
CMakeFiles/PTAML.dir/MKProtocol.cc.o
CMakeFiles/PTAML.dir/MKConnection.cc.o
CMakeFiles/PTAML.dir/MikroKopter.cc.o CMakeFiles/PTAML.dir/rs232.c.o
CMakeFiles/PTAML.dir/VideoSource.cc.o
CMakeFiles/PTAML.dir/VideoSource_Linux_Gstreamer_File.cc.o
CMakeFiles/PTAML.dir/VideoSource_Linux_V4L.cc.o  -o ../bin/PTAML
-rdynamic -L/home/carson/Desktop/airconvision/PTAML/ARToolKit/lib
-lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lxml2
-lglib-2.0 -lgstapp-0.10 -lGVars3 -lcvd -lARgsub -lAR -lGLU -lGL
-llapack -lblas
-Wl,-rpath,/home/carson/Desktop/airconvision/PTAML/ARToolKit/lib
/usr/bin/ld: /usr/local/lib/libcvd.a(get_time_of_day_ns.o): undefined
reference to symbol 'clock_gettime@@GLIBC_2.2.5'
/usr/bin/ld: note: 'clock_gettime@@GLIBC_2.2.5' is defined in DSO
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/librt.so
so try adding it to the linker command line
/usr/lib/gcc/x86_64-linux-gnu/4.6/../../../x86_64-linux-gnu/librt.so:
could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[2]: *** [bin/PTAML] Error 1
make[2]: Leaving directory `/home/carson/Desktop/airconvision/PTAML/BUILD'
make[1]: *** [PTAML/CMakeFiles/PTAML.dir/all] Error 2
make[1]: Leaving directory `/home/carson/Desktop/airconvision/PTAML/BUILD'
make: *** [all] Error 2

-- 

This is on Ubuntu 12.04 64-bit libcvd with revision
adda08eaab24e508e37b1963b4792cf30fe1fa6a

Cheers,

-carson-



reply via email to

[Prev in Thread] Current Thread [Next in Thread]