Hi there,
I’m currently developing for a Intel Edison and would like to get a unit test running. Because the project will expand more and more it would be nice to use the cross-compile method.
In the tutorial (https://visualgdb.com/tutorials/tests/googletest/) a MSBuild for the unit test is used. It says that it’s also able to build with a cross toolchain tool. So I choosed the “Build the project locally with a cross-compiler” and got an error message after clicking finish:
Tool arguments: -Wl,--start-group "C:\Users\Thomas\AppData\Local\Temp\/VisualGDB_ToolchainTestProgram.o" -o "C:\Users\Thomas\AppData\Local\Temp\/VisualGDB_ToolchainTestProgram" -Wl,-gc-sections -Wl,--end-group
d:/toolchain/i686-pokysdk-mingw32/usr/bin/i586-poky-linux/../../libexec/i586-poky-linux/gcc/i586-poky-linux/4.8.2/ld.exe: cannot find crt1.o: No such file or directory
d:/toolchain/i686-pokysdk-mingw32/usr/bin/i586-poky-linux/../../libexec/i586-poky-linux/gcc/i586-poky-linux/4.8.2/ld.exe: cannot find crti.o: No such file or directory
d:/toolchain/i686-pokysdk-mingw32/usr/bin/i586-poky-linux/../../libexec/i586-poky-linux/gcc/i586-poky-linux/4.8.2/ld.exe: cannot find crtbegin.o: No such file or directory
collect2.exe: error: ld returned 1 exit statu
When I try to build the project the <ctype> and <string> headers are missing and the compilation process fails. How can I fix the problem? It seems that the GoogleTest Framework is stored in C:\Users\Thomas\AppData\Local\VisualGDB\TestFrameworks\com.sysprogs.unittest.googletest\. My files and the Cross-Toolchain are in a different path.
Is there anything special compared to the build toolchain described in https://visualgdb.com/tutorials/linux/edison/ ? Maybe a special unit test tutorial for the Intel Edison 😉 ?
Greetings,
Thomas
**** EDIT ****
Forgot to say: I need the cross-compile toolchain for the compile process. The edison itself takes to much time for the compile process…
-
This topic was modified 6 years, 11 months ago by ThomasM.