|
|
Re: ARM Cross compiler error [message #1720149 is a reply to message #1719973] |
Thu, 14 January 2016 18:24 |
Dan Berry Messages: 6 Registered: January 2016 |
Junior Member |
|
|
I should say I'm using Eclipse Mars.1 Release (4.5.1) on an Ubuntu 14.04 LTS machine. I'm cross compiling for a RaspberryPi.
I found and fixed the error I was getting, now I am getting a new one;
1:17:49 **** Incremental Build of configuration Debug for project Fury ****
make all
Building target: Fury
Invoking: Cross G++ Linker
arm-linux-gnueabihf-g++ -L/home/dan/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin -o "Fury" ./scr/Fury.o ./scr/Ultrasonic.o -lwiringPi
/home/dan/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/../lib/gcc/arm-linux-gnueabihf/4.8.3/../../../../arm-linux-gnueabihf/bin/ld: cannot find -lwiringPi
collect2: error: ld returned 1 exit status
make: *** [Fury] Error 1
11:17:50 Build Finished (took 58ms)
in the program I have this include statement;
#include "/home/dan/wiringPi-78b5c32/wiringPi/wiringPi.h" // for GPIO of Raspberry Pi
I would think that it wouldn't have a problem with that in the program.
[Updated on: Thu, 14 January 2016 18:24] Report message to a moderator
|
|
|
|
Powered by
FUDForum. Page generated in 0.04101 seconds