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

Simon Brummer simon.brummer at posteo.de
Tue Feb 14 15:39:55 CET 2017


Okay since i am working on a 64bit Maschine and from the 32bit 
dependencies
for working on native,  I think my gtest library is 64bit. This seems to 
cause all my trouble.

I look into that, thanks for the help.


Am 2017-02-14 15:05 schrieb Robert Hartung:
> Yeah … right …
> http://stackoverflow.com/questions/3119714/skipping-incompatible-libraries-at-compile
> [1]
> 
> 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
> 
> 
> 
> Links:
> ------
> [1]
> http://stackoverflow.com/questions/3119714/skipping-incompatible-libraries-at-compile
> 
> _______________________________________________
> users mailing list
> users at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/users


More information about the users mailing list