Re: [Ros-release] Dry stack prereleases for groovy

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
+ (text/html)
Slet denne besked
Besvar denne besked
Skribent: Wim Meeussen
Dato:  
Til: Vincent Rabaud
CC: ros-release
Emne: Re: [Ros-release] Dry stack prereleases for groovy
I tried one of the (ugly) workarounds from the comments above:

cd /usr/src/gtest
sudo cmake CMakeLists.txt
sudo make
sudo cp *.a /usr/lib

This creates a static library /usr/lib/libgtest.a, but linking fails:

Linking CXX executable ../bin/test_unique_id
/usr/bin/ld: cannot find -l/usr/lib/libgtest.a





On Fri, Nov 23, 2012 at 5:35 PM, Vincent Rabaud <>wrote:

> Please have a look at :
> https://launchpad.net/ubuntu/+source/gtest/+changelog
> (especially the change for 1.6.0-1ubuntu2)
> This is a known issue on Ubuntu:
> https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/969891
> Catkin solves this problem as follows:
> https://github.com/ros/catkin/blob/master/cmake/test/gtest.cmake
>
> On Fri, Nov 23, 2012 at 5:22 PM, Wim Meeussen <> wrote:
>
>>
>>> The libgtest-dev package did get installed. Here is the full console
>>> output:
>>>
>>>
>>> http://build.willowgarage.com/job/prerelease_groovy_unique_identifier_precise_amd64/1/console
>>>
>>>
>>
>> There's more going on. I added the libgtest-dev package, but the library
>> is still not found. Looking at the Ubuntu package, the library is not part
>> of libgtest-dev <
>> http://packages.ubuntu.com/precise/amd64/libgtest-dev/filelist>. The
>> only Ubuntu package containing the libgtest.so is ugene <
>> http://packages.ubuntu.com/search?searchon=contents&keywords=libgtest.so&mode=exactfilename&suite=precise&arch=any>,
>> which is not really what we're looking for. So that leaves the question,
>> where did we get install libgtest.so from in the past?
>>
>> Wim
>>
>>
>>
>> Wim Meeussen
>> CTO, hiDOF Inc.
>> 650-529-4522
>> http://hidof.com
>>
>> _______________________________________________
>> Ros-release mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-release
>>
>>
>



--
Wim Meeussen
CTO, hiDOF Inc.
650-529-4522
http://hidof.com