libcvd-members
[Top][All Lists]
Advanced

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

Re: [libcvd-members] build problems with


From: Carson Reynolds
Subject: Re: [libcvd-members] build problems with
Date: Mon, 2 Jul 2012 19:49:35 +0900

It appears that something weird is happening with the installation of libcvd.so.

On my system it is a broken link to a non-existent file:

$ ldd /usr/local/lib/libcvd.so
ldd: /usr/local/lib/libcvd.so: No such file or directory

$ ls -al libcvd.so
lrwxrwxrwx 1 root root 26 Jul  2 19:24 libcvd.so -> /usr/local/lib/libcvd.so.0

Here is a link for the output of "ldd libcvd.so.0.8" the file which is
installed by make install:

https://gist.github.com/3032550

Also here is the config.log:

https://gist.github.com/3032634

I ought to say I am using the following steps as part of a larger
build process for a modified variant of PTAM:

https://gist.github.com/3032618

Perhaps some of the assumptions I am making there are not playing out
as planned. I'd be happy to perform further testing if something comes
to mind.

Regards,

-carson-


On Fri, Jun 29, 2012 at 7:23 PM, E. Rosten <address@hidden> wrote:
> It looks like libCVD isn't bringing in librt correctly.
>
> You can work around it by adding -lrt to the linker line for PTAM.
>
> Would it be possible for you to send the output of libcvd's configure
> script, its config.log file and also the output of
>
> ldd /usr/local/lib/libcvd.so
>
>
> -Ed
>
>
>
>
>
> On Wed, 27 Jun 2012, Carson Reynolds wrote:
>
>> 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-
>>
>> _______________________________________________
>> libcvd-members mailing list
>> address@hidden
>> https://lists.nongnu.org/mailman/listinfo/libcvd-members
>>
>
> --
> Edward Rosten                     Machine Intelligence Laboratory
> http://mi.eng.cam.ac.uk/~er258          Department of Engineering
> +44 1223 7 65960                          University of Cambridge
>
>



-- 

-carson-



reply via email to

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