Community
Participate
Working Groups
This problem reproduced for any C/C++ project with cross GNU toolchain. Steps to reproduce positively or negatively in 3 cases: 1) Case_1 (positive) - Open the project from zip; - right-click on project -> Team -> Share… -> Create new repository -> Finish; - Build project for the first time -> error; Console output: make all Building file: ../src/main.c Invoking: Cross GCC Compiler gcc -I"D:/test/inc" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c" ../src/main.c:2:16: fatal error: my.h: No such file or directory #include "my.h" ^ compilation terminated. make: *** [src/subdir.mk:20: src/main.o] Error 1 - Try to Build one more time: Console output: make all Building file: ../src/main.c Invoking: Cross GCC Compiler gcc -I"C:/git_new/test/inc" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c" Finished building: ../src/main.c Building target: test Invoking: Cross GCC Linker gcc -o "test" ./src/main.o Finished building target: test 2) Case_2 (negative) - Open the project from zip; - BUILD project; - right-click on project -> Team -> Share… -> Create new repository -> Finish; - Build project for the first time -> build finished successfully; Console output: make all make: Nothing to be done for 'all'. 3) Case_3 (negative) - Open the project from zip; - right-click on project -> Team -> Share… -> Check “Use or create repository in parent folder of project” -> Create repository -> Finish; - Build project for the first time -> build finished successfully; Console output: make all Building file: ../src/main.c Invoking: Cross GCC Compiler gcc -I"D:/test/inc" -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/main.d" -MT"src/main.o" -o "src/main.o" "../src/main.c" Finished building: ../src/main.c Building target: test Invoking: Cross GCC Linker gcc -o "test" ./src/main.o Finished building target: test
Created attachment 271694 [details] Testcase project zipped