Problem Using SetSuspendState()

Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved

Join Date: Jun 2007
Posts: 275
Reputation: dougy83 is on a distinguished road 
Solved Threads: 45
dougy83 dougy83 is offline Offline
Posting Whiz in Training

Re: Problem Using SetSuspendState()

 
0
  #11
Sep 16th, 2008
Originally Posted by unbeatable0 View Post
$(BIN): $(OBJ)
Those macros are defined elsewhere in the makefile, and that line shows very little information about your specific problem. Post the whole makefile.
Last edited by dougy83; Sep 16th, 2008 at 11:48 am.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 90
Reputation: unbeatable0 is an unknown quantity at this point 
Solved Threads: 12
unbeatable0 unbeatable0 is offline Offline
Junior Poster in Training

Re: Problem Using SetSuspendState()

 
0
  #12
Sep 16th, 2008
  1. # Project: Project2
  2. # Makefile created by Dev-C++ 4.9.9.2
  3.  
  4. CPP = g++.exe -D__DEBUG__
  5. CC = gcc.exe -D__DEBUG__
  6. WINDRES = windres.exe
  7. RES =
  8. OBJ = "C:/Documents\ and\ Settings/U1/Desktop/main.o" $(RES)
  9. LINKOBJ = "C:/Documents and Settings/U1/Desktop/main.o" $(RES)
  10. LIBS = -L"C:/Dev-Cpp/lib" C:/Dev-Cpp/lib/libpowrprof.a -g3
  11. INCS = -I"C:/Dev-Cpp/include"
  12. CXXINCS = -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"
  13. BIN = Project2.exe
  14. CXXFLAGS = $(CXXINCS) -g3
  15. CFLAGS = $(INCS) -g3
  16. RM = rm -f
  17.  
  18. .PHONY: all all-before all-after clean clean-custom
  19.  
  20. all: all-before Project2.exe all-after
  21.  
  22.  
  23. clean: clean-custom
  24. ${RM} $(OBJ) $(BIN)
  25.  
  26. $(BIN): $(OBJ)
  27. $(CPP) $(LINKOBJ) -o "Project2.exe" $(LIBS)
  28.  
  29. "C:/Documents\ and\ Settings/U1/Desktop/main.o": C:/Documents\ and\ Settings/U1/Desktop/main.cpp
  30. $(CPP) -c "C:/Documents and Settings/U1/Desktop/main.cpp" -o "C:/Documents and Settings/U1/Desktop/main.o" $(CXXFLAGS)
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,578
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1486
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is offline Offline
Still Learning

Re: Problem Using SetSuspendState()

 
-1
  #13
Sep 16th, 2008
move your project to a folder that does not contain spaces, such as c:\dev-c++\source
Last edited by Ancient Dragon; Sep 16th, 2008 at 11:52 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Join Date: Sep 2008
Posts: 90
Reputation: unbeatable0 is an unknown quantity at this point 
Solved Threads: 12
unbeatable0 unbeatable0 is offline Offline
Junior Poster in Training

Re: Problem Using SetSuspendState()

 
0
  #14
Sep 16th, 2008
"move your project to a folder that does not contain spaces, such as c:\dev-c++\source"

Thanks! I didn't think it'll make a trouble to create it on the desktop. It works great now!
You deserve a reputation point from me
Thanks again!
Reply With Quote Quick reply to this message  
Join Date: Jun 2007
Posts: 275
Reputation: dougy83 is on a distinguished road 
Solved Threads: 45
dougy83 dougy83 is offline Offline
Posting Whiz in Training

Re: Problem Using SetSuspendState()

 
0
  #15
Sep 16th, 2008
The project compiles when source is on the desktop and project is somewhere else.

Have you determined whether there's more than 1 gcc compiler present yet?

You can always uninstall dev-c++, and reinstall it. To check for another gcc: uninstall dev-c++, from the command prompt run "gcc" - if something runs, then gcc is present.
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC