[quote]If you start a new project from one of the default templates in a new folder do you still have the problem? [/quote]
Yes I still have that problem
[quote[If you have the utility called XPize (no idea what it does, but it is nasty), it is known to thave a problem with Visual Studio [/quote]
No, I haven't ever had such program
[quote]My advice in the past is that if you cannot solve it in a few hours - use a different tool. [/quote]
Yep, I think thtat's the best option for me.
Thank you very much slocombe! =D
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-12-06
Move or copy the "examples" folder out of the c:\dev-cpp hierarchy and try it again (delete makefile.win and do a rebuild-all to ensure the project regenerates the makefile and dependencies). There is a weird bug in Dev-C++ that sometimes causes projects to fail to build when in the Dev-C++ installation folder.
Clifford
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
(1) Run the uninstall program...called uininstall in the dev-c++ directory. Do not go to Start:Control Panel:Add or Remove Programs - directly run the program in the Dev directory
(2) Delete the Dev directory
(3) Find and remove devcpp.ini and devcpp.cfg. In Windows 9x this is easy, they are in the Dev directory. For the other Windows - 2000, XP, NT - it is a little harder, as they are placed in a directory that Windows calls hidden. On this computer, the are in:
c:\documents and settings\username\local settings\application data
You can find them with Windows search, if you remember to click the box that says look in hidden folders. It is VITAL that these files be removed, as they contain information about your current install. If this information is still there when you re-install, it can foul things up again. Please, if you have XP, 2000 etc., the files ARE there. Do not answer that the files were not on my machine.
(4) Restart
(5) Re-download the full Dev installation from the web site
(6) Install Dev, preferably where it wants to go, usuallly c:\dev-cpp, but definitely NOT in a directory with spaces in its name, like "Program Files" or "My Documents"
>>>>>>>=========================================================<<<<<<<<<<
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-12-06
>> I did that without a good result :(
If you change anything, always repost the log.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
g++.exe: Hello.cpp: No such file or directory
g++.exe: no input files
make.exe: *** [Hello.o] Error 1
Execution terminated
btw, I installed DevC in D:\Dev-Cpp
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2007-12-07
These symptoms have been reported on a number of occasions with various causes.
If you start a new project from one of the default templates in a new folder do you still have the problem?
If you have the utility called XPize (no idea what it does, but it is nasty), it is known to thave a problem with Visual Studio that has also been reported to affect Dev-C++ http://www.xpize.net/?page=support
When trying to compile an example program I get this error :
================================================== ===================
Compiler: Default compiler
Building Makefile: "D:\Dev-Cpp\Examples\Hello\Makefile.win"
Executing make...
make.exe -f "D:\Dev-Cpp\Examples\Hello\Makefile.win" all
g++.exe -c Hello.cpp -o Hello.o -I"D:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"D:/Dev-Cpp/include/c++/3.4.2/backward" -I"D:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"D:/Dev-Cpp/include/c++/3.4.2" -I"D:/Dev-Cpp/include"
g++.exe: Hello.cpp: No such file or directory
g++.exe: no input files
make.exe: *** [Hello.o] Error 1
Execution terminated
================================================== ====================
what could be the problem?
I'm using ver 4.9.9.2
image: <img>http://img504.imageshack.us/img504/4526/screenxh3.gif</img>
[quote]If you start a new project from one of the default templates in a new folder do you still have the problem? [/quote]
Yes I still have that problem
[quote[If you have the utility called XPize (no idea what it does, but it is nasty), it is known to thave a problem with Visual Studio [/quote]
No, I haven't ever had such program
[quote]My advice in the past is that if you cannot solve it in a few hours - use a different tool. [/quote]
Yep, I think thtat's the best option for me.
Thank you very much slocombe! =D
Move or copy the "examples" folder out of the c:\dev-cpp hierarchy and try it again (delete makefile.win and do a rebuild-all to ensure the project regenerates the makefile and dependencies). There is a weird bug in Dev-C++ that sometimes causes projects to fail to build when in the Dev-C++ installation folder.
Clifford
I did that without a good result :(
this is what is inside makefile.win
========== ========= ============
Project: Hello Sample
Makefile created by Dev-C++ 4.9.9.2
CPP = g++.exe
CC = gcc.exe
WINDRES = windres.exe
RES =
OBJ = Hello.o $(RES)
LINKOBJ = Hello.o $(RES)
LIBS = -L"d:/Dev-Cpp/lib"
INCS = -I"d:/Dev-Cpp/include"
CXXINCS = -I"d:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"d:/Dev-Cpp/include/c++/3.4.2/backward" -I"d:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"d:/Dev-Cpp/include/c++/3.4.2" -I"d:/Dev-Cpp/include"
BIN = Hello.exe
CXXFLAGS = $(CXXINCS)
CFLAGS = $(INCS)
RM = rm -f
.PHONY: all all-before all-after clean clean-custom
all: all-before Hello.exe all-after
clean: clean-custom
${RM} $(OBJ) $(BIN)
$(BIN): $(OBJ)
$(CPP) $(LINKOBJ) -o "Hello.exe" $(LIBS)
Hello.o: Hello.cpp
$(CPP) -c Hello.cpp -o Hello.o $(CXXFLAGS)
========== ========= ============
Before using ver 4.9.9.2 I used ver 4.0, and It worked fine (ver 4.0), of course I uninstalled ver 4.0 first
Did you follow the instructions for uninstalling, or just click uninstall? That could be causing your problem...
[quote]Did you follow the instructions for uninstalling, or just click uninstall? That could be causing your problem... [/quote]
Yep, I did this :
>>>>>>>=========================================================<<<<<<<<<<
(1) Run the uninstall program...called uininstall in the dev-c++ directory. Do not go to Start:Control Panel:Add or Remove Programs - directly run the program in the Dev directory
(2) Delete the Dev directory
(3) Find and remove devcpp.ini and devcpp.cfg. In Windows 9x this is easy, they are in the Dev directory. For the other Windows - 2000, XP, NT - it is a little harder, as they are placed in a directory that Windows calls hidden. On this computer, the are in:
c:\documents and settings\username\local settings\application data
You can find them with Windows search, if you remember to click the box that says look in hidden folders. It is VITAL that these files be removed, as they contain information about your current install. If this information is still there when you re-install, it can foul things up again. Please, if you have XP, 2000 etc., the files ARE there. Do not answer that the files were not on my machine.
(4) Restart
(5) Re-download the full Dev installation from the web site
(6) Install Dev, preferably where it wants to go, usuallly c:\dev-cpp, but definitely NOT in a directory with spaces in its name, like "Program Files" or "My Documents"
>>>>>>>=========================================================<<<<<<<<<<
>> I did that without a good result :(
If you change anything, always repost the log.
sorry I forgot.
here is
=====================================
Compiler: Default compiler
Building Makefile: "D:\Examples\Hello\Makefile.win"
Executing make clean
rm -f Hello.o Hello.exe
g++.exe -c Hello.cpp -o Hello.o -I"d:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"d:/Dev-Cpp/include/c++/3.4.2/backward" -I"d:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"d:/Dev-Cpp/include/c++/3.4.2" -I"d:/Dev-Cpp/include"
g++.exe: Hello.cpp: No such file or directory
g++.exe: no input files
make.exe: *** [Hello.o] Error 1
Execution terminated
btw, I installed DevC in D:\Dev-Cpp
These symptoms have been reported on a number of occasions with various causes.
If you start a new project from one of the default templates in a new folder do you still have the problem?
If you have the utility called XPize (no idea what it does, but it is nasty), it is known to thave a problem with Visual Studio that has also been reported to affect Dev-C++ http://www.xpize.net/?page=support
In other cases no solution was found. Do a Forum search on the exact phrase "g++.exe: no input files" to find relevant threads. It may take a bit of wading through because of the dumb way the forum search presents threads - it is less than helpful. Here's the search for you:
http://sourceforge.net/search/index.php?group_id=10639&search_subject=1&search_body=1&type_of_search=forums&all_words=&exact_phrase=g%2B%2B.exe%3A+no+input+files&some_word=&without_words=&forum_id%5B%5D=48211&posted_by=&posted_date_start=&posted_date_end=&form_submit=Search
My advice in the past is that if you cannot solve it in a few hours - use a different tool.