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

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Brian Gerkey
Dato:  
Til: Wim Meeussen
CC: ros-release
Emne: Re: [Ros-release] Dry stack prereleases for groovy
On Fri, Nov 23, 2012 at 7:53 PM, Wim Meeussen <> wrote:
> 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


FWIW, I've added that workaround to the setup preamble of Jenkins
builds and it worked fine. I'm surprised that the linker can't find
the lib in your case. I would turn on verbose linker output to figure
out what's going on there.

    brian.