Path Getting Formatted Incorrectly [message #1855882] |
Tue, 08 November 2022 19:23 |
John Klein Messages: 5 Registered: April 2012 |
Junior Member |
|
|
I'm trying to get a RPi cross compile project within Windows to work and getting hit with a strange path issues.
Within the properties for C/C++ Build->Settings->Cross GCC Compiler->Includes I have the following.
"${workspace_loc:/${ProjName}/WiringPi/wiringPi}"
If I right click on a .c file and build it, the command looks like this and compiles successfully.
arm-linux-gnueabihf-gcc "-IC:\\Users\\OmmittedForPrivacy\\Source Code\\WiringPi\\wiringPi" -O0 -g3 -c -fmessage-length=0 -o OmmitedForPrivacy.o "..\\OmmittedForPrivacy.c"
If I right click on the project and build it, the command looks like this and fails.
arm-linux-gnueabihf-gcc -I"C:\Users\OmmittedForPrivacy\Source Code\WiringPi\wiringPi" -O0 -g3 -c -fmessage-length=0 -MMD -MP -MF"OmmittedForPrivacy.d" -MT"OmmittedForPrivacy.o" -o "OmmittedForPrivacy.o" "../OmmittedForPrivacy.c"
../OmmittedForPrivacy.c:5:10: fatal error: wiringPiSPI.h: No such file or directory
What am I doing that is causing it to malform paths when trying to build the project?
[Updated on: Tue, 08 November 2022 19:26] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.02982 seconds