[riot-users] Linking against gtest with RIOT and C++ compiler

Robert Hartung hartung at ibr.cs.tu-bs.de
Tue Feb 14 15:05:28 CET 2017


Yeah … right …
http://stackoverflow.com/questions/3119714/skipping-incompatible-libraries-at-compile <http://stackoverflow.com/questions/3119714/skipping-incompatible-libraries-at-compile>

So just check the architecture and make sure it’s compiled correctly?

> Am 14.02.2017 um 23:02 schrieb Simon Brummer <simon.brummer at posteo.de>:
> 
> I have buildt it from the sources and "../googletest" contains a libgtest.a.
> So the linker should find it. What concernes me more is the "skpping message" before
> 
> "/usr/bin/ld: cannot find -lgtest"
> 
> 
> 
> Am 2017-02-14 14:58 schrieb Robert Hartung:
>> It looks like it is not installed.
>>> Am 14.02.2017 um 22:57 schrieb Simon Brummer
>>> <simon.brummer at posteo.de>:
>>> /usr/bin/ld: cannot find -lgtest
>> _______________________________________________
>> users mailing list
>> users at riot-os.org
>> https://lists.riot-os.org/mailman/listinfo/users
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/users/attachments/20170214/a93c3fd4/attachment.html>


More information about the users mailing list