Hi,
We’re trying to build a CMake project with VisualGDB using arm-none-eabi-gcc (ver 4.9.3) compiler for the nrf52 board.
The build stage completes, but then immediately fails in the linking stage for 2 files.
“arm-none-eabi-gcc.exe: error: <filename> No such file or directory”
Looking at the file name, we noticed it prints out a wrong name, meaning it removed a letter and looks for the path without that letter.
For instance: “nRF5_SDK_14” turns into “nRF5_DK_14”, and “GCC_Embedded.dir/” turns into “GCC_Embedded.di/”
However, while looking in the CMake directory in the build.make file, the file name and path seem to be fine.
When we change the order in the list of source files in the CMakeLists.txt file, different file names appear.
Would appreciate any help with the issue, thanks.