Something really weird is happening - dev-cpp has been working fine for ages, and now (after firing it up for the first time in a few weeks) it does this - for any project (I just created a simple default "hello world" project) - anyone seen this before???
-=-=-=-
Building Makefile: "D:\cppstuff\testproject\Makefile.win"
Executing make...
d:\dev-cpp\bin\make.exe -f "D:\cppstuff\testproject\Makefile.win" all
d:\dev-cpp\bin\g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" -s
d:dev-cppbing++.exe: not found
d:\dev-cpp\bin\make.exe: *** [main.o] Error 127
Execution terminated
-=-=-=-=-
It seems to be losing the backslashes in the g++ path... so I tried changing it to double backslashes for the g++ path *only*, and this is what it does:
-=-=-=-=-
Building Makefile: "D:\cppstuff\testproject\Makefile.win"
Executing make...
d:\dev-cpp\bin\make.exe -f "D:\cppstuff\testproject\Makefile.win" all
d:\\dev-cpp\\bin\\g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" -s
I just noticed it was picking up some path info from another installation in c:\dev-cpp - have fixed all my paths now - it didn't fix my problem though....
BUT....
I put the path to g++ in quotes (i.e. "d:\dev-cpp\bin\g++.exe") and it works!(?)
Crazy stuff...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Something really weird is happening - dev-cpp has been working fine for ages, and now (after firing it up for the first time in a few weeks) it does this - for any project (I just created a simple default "hello world" project) - anyone seen this before???
-=-=-=-
Building Makefile: "D:\cppstuff\testproject\Makefile.win"
Executing make...
d:\dev-cpp\bin\make.exe -f "D:\cppstuff\testproject\Makefile.win" all
d:\dev-cpp\bin\g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" -s
d:dev-cppbing++.exe: not found
d:\dev-cpp\bin\make.exe: *** [main.o] Error 127
Execution terminated
-=-=-=-=-
It seems to be losing the backslashes in the g++ path... so I tried changing it to double backslashes for the g++ path *only*, and this is what it does:
-=-=-=-=-
Building Makefile: "D:\cppstuff\testproject\Makefile.win"
Executing make...
d:\dev-cpp\bin\make.exe -f "D:\cppstuff\testproject\Makefile.win" all
d:\\dev-cpp\\bin\\g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" -s
d:\\dev-cpp\\bin\\g++.exe main.o -o "Console App.exe" -L"C:/Dev-Cpp/lib" -I"C:/Dev-Cpp/include" -I"C:/Dev-Cpp/include" -s
g++.exe: App.exe -LC:/Dev-Cpp/lib : Invalid argument
d:\dev-cpp\bin\make.exe: *** ["Console] Error 1
Execution terminated
-=-=-=-=-
Any clues? I'm completely baffled.
I just noticed it was picking up some path info from another installation in c:\dev-cpp - have fixed all my paths now - it didn't fix my problem though....
BUT....
I put the path to g++ in quotes (i.e. "d:\dev-cpp\bin\g++.exe") and it works!(?)
Crazy stuff...