|"no such file or directory" error when trying to build FORTE using gnu toolchain (make) [message #1771958]
||Fri, 01 September 2017 14:05
| Marc Jakobi
Registered: April 2017
I have followed the tutorial for cross compilation of FORTE between Windows and the Raspberry Pi 2 (see https://www.eclipse.org/4diac/documentation/html/installation/raspi.html#crossCompilingLinux).
So far, it all works fine, but when I navigate to the raspPi folder in the Windows command prompt and attempt to build it with make, I get the following error:
[ 51%] Linking CXX executable forte
arm-linux-gnueabihf-g++.exe: error: CreateProcess: No such file or directory
src/CMakeFiles/forte.dir/build.make:16646: recipe for target 'src/forte' failed
make: *** [src/forte] Error 1
CMakeFiles/Makefile2:137: recipe for target 'src/CMakeFiles/forte.dir/all' failed
make: *** [src/CMakeFiles/forte.dir/all] Error 2
Makefile:129: recipe for target 'all' failed
make: *** [all] Error 2
I have attempted fixes suggested on StackOverflow, such as moving the project to a location with a shorter directory and restarting to make sure the PATH variable was added correctly.
I'm also not sure if it can't find a project file or if it can't find the c++ compiler. But it looks more like the compiler isn't found.
Has anyone encountered this issue before and found a fix?
into the command window lists the options, so Windows definitely recognizes the compiler.
[Updated on: Fri, 01 September 2017 14:21]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01515 seconds