Forum Replies Created
-
AuthorPosts
-
aelmicro
Participanthands up, my mistake, I was not copying all the source files to the compiling PC, all works as it should
Keep up the good work!
aelmicro
ParticipantOK so I had some luck.
This works if I copy the *.c file into the same directory as my other *.cpp files, which happens to be the same file as the project.
It would appers that it can’t find a make rule if the source file is in a different folder to the project folder.
Mark
aelmicro
ParticipantHad this problem when I tried to add a .c file to my other 3 *.cpp files which all compile OK
It appears to indicate no rule in the make file to compile the .c file, but there is one!
C:\Projects\PixieBoards\Software\PixieLvLib => /tmp/VisualGDB/c/Projects/PixieBoards/Software/PixieLvLib: 6 files are up-to-date.
make -f “VisualGDB/Debug/PixieLvLib.msbuild-mak” –no-print-directory
mkdir -p VisualGDB/Debug/_4_/tmp/VisualGDB/c/Projects/PixieBoards/Software/Source VisualGDB/Debug
make[1]: *** No rule to make target ‘/tmp/VisualGDB/c/Projects/PixieBoards/Software/PixieLvLib/../Source/PixieInfo.c’, needed by ‘VisualGDB/Debug/_4_/tmp/VisualGDB/c/Projects/PixieBoards/Software/Source/PixieInfo.o’. Stop.
make: *** [VisualGDB/Debug/PixieLvLib.msbuild-mak:14: all] Error 2
————————————————————-
Command exited with code 2
Executable: make
Arguments: -f “VisualGDB/Debug/PixieLvLib.msbuild-mak” –no-print-directory
Directory: /tmp/VisualGDB/c/Projects/PixieBoards/Software/PixieLvLib
Command-line action failed -
AuthorPosts