Hi, I am new to programming and I have 3 files that I want to compile at the same time. I have a header file, a demo file and a definition file for the class I created. When I build the project, I get this error in the build log:
mingw32-g++.exe -Wall -fexceptions -g -I"C:\C++ Code\fractions\" -c "C:\C++ Code\fractions\main.cpp" -o obj\Debug\fractions\main.o
mingw32-g++.exe: error: Code\fractions\main.cpp -o obj\Debug\fractions\main.o: No such file or directory
As I am new to programming, I have no idea what this message means or what I can do to fix this, any help with my problem?
The Compiler you are using does NOT like spaces in the path.
Remove the space or replace with an underscore is what I would do.
Tim S.
Thanks so much, Troubleshooted a few more errors and got everything working.