   Build Error in Dev C++
  When I run my program in Dev C++, it compiles, but then I get this error that prevents me from creating a .exe: C:\Documents and Settings\mitchell\Desktop\Everything Game\Makefile.win [Build Error]  [CoolGame.exe] Error 1 Why is this?  I can't figure it out   
  It would probably help to provide us with source code so we can more accurately diagnose your problem. [smile]-AJ   ;Quote:Original post by u235It would probably help to provide us with source code so we can more accurately diagnose your problem. [smile]-AJright, exactly as it is being requested in and covered by the FAQ thread titled "PLEASE READ THIS BEFORE POSTING" in the Bloodshed DevC++ forum over at sourceforge: http://sourceforge.net/forum/forum.php?forum_id=48211;  I have 2500+ lines of code in this project. I can assure you it has nothing to do with my code. It has something to do with my options or settings in Dev C++.  Hasn't anyone encountered this problem before? If so, how did you solve it?   ;  Well...one time, I moved some of my project to another directory, and I got that same error.  So, I just moved it all back, and it worked just fine.  Although, I do doubt that is the problem...anything is worth a try.  So, have you moved any of your project contents?  Chad.;Quote:Original post by bballmitchI have 2500+ lines of code in this project. I can assure you it has nothing to do with my code. It has something to do with my options or settings in Dev C++.  Hasn't anyone encountered this problem before? If so, how did you solve it?...by telling people "in the know" what sort of options I were using, as well as providing the complete compile log for further evaluation.;  The compile log is the following:Compiler: Default compilerBuilding Makefile: "C:\Documents and Settings\mitchell\Desktop\Everything Game\Makefile.win"Executing  make cleanrm -f "../Everything\ Game/CoolGame.o" "../Everything\ Game/MilkshapeModel.o" "../Everything\ Game/Model.o" "../Everything Game/CoolGame_private.res" CoolGame.exeg++.exe -c CoolGame.cpp -o "../Everything Game/CoolGame.o" -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"  -I"C:/Dev-Cpp"  -I"C:/Dev-Cpp/include/GL"  -I"C:/Dev-Cpp/include"  -I"C:/oalsdk"   g++.exe -c MilkshapeModel.cpp -o "../Everything Game/MilkshapeModel.o" -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"  -I"C:/Dev-Cpp"  -I"C:/Dev-Cpp/include/GL"  -I"C:/Dev-Cpp/include"  -I"C:/oalsdk"   g++.exe -c Model.cpp -o "../Everything Game/Model.o" -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"  -I"C:/Dev-Cpp"  -I"C:/Dev-Cpp/include/GL"  -I"C:/Dev-Cpp/include"  -I"C:/oalsdk"   windres.exe -i CoolGame_private.rc --input-format=rc -o "../Everything Game/CoolGame_private.res" -O coff  --include-dir C:/Dev-Cpp/include --include-dir C:/oalsdkwindres.exe -i CoolGame_private.rc --input-format=rc -o "../Everything Game/CoolGame_private.res" -O coff  --include-dir C:/Dev-Cpp/include --include-dir C:/oalsdkg++.exe "../Everything\ Game/CoolGame.o" "../Everything\ Game/MilkshapeModel.o" "../Everything\ Game/Model.o" "../Everything Game/CoolGame_private.res" -o "CoolGame.exe" -L"C:/Dev-Cpp/lib" -L"C:/Dev-Cpp" -L"C:/Dev-Cpp/include" -L"C:/Documents and Settings/mitchell/Desktop/Everything Game" -L"C:/Dev-Cpp/include" -L"C:/oalsdk" -mwindows -lopengl32 ../../../../Dev-Cpp/lib/libglaux.a -lglut32 -lglu32 -lopengl32 -lwinmm -lgdi32 ../../../../Dev-Cpp/lib/libglut32.a ../../../../Dev-Cpp/lib/libglut.a ../../../../Dev-Cpp/lib/glut32.lib ../../../../oalsdk/libs/Win32/OpenAL32.lib ../../../../Dev-Cpp/lib/glut32.lib ../../../../Dev-Cpp/lib/libalut.a ../../../../Dev-Cpp/lib/libwinmm.a  g++.exe: ../Everything\ Game/CoolGame.o: No such file or directoryg++.exe: ../Everything\ Game/MilkshapeModel.o: No such file or directoryg++.exe: ../Everything\ Game/Model.o: No such file or directoryg++.exe: ../../../../Dev-Cpp/lib/libalut.a: No such file or directorymake.exe: *** [CoolGame.exe] Error 1Execution terminated;Quote:g++.exe: ../Everything\ Game/CoolGame.o: No such file or directoryg++.exe: ../Everything\ Game/MilkshapeModel.o: No such file or directoryg++.exe: ../Everything\ Game/Model.o: No such file or directoryg++.exe: ../../../../Dev-Cpp/lib/libalut.a: No such file or directoryMy vast powers of telepathy tell me that this is indeed a problem with your directory stucture and/or locations. Try moving stuff around into something that resembles what the compiler/linker is looking for, or see if you can find the options to set new paths for it to hunt after. [smile](I'd offer more indepth information about doing that, exactly, but Dev-C++ isn't in my "things-I-know-jack-about zone". [grin])   ;  but the files that it says its looking for are exactly where they are searching. This is REALLY weird. :(   ;  Could it be because there is a space in the "Everything Game" directory name? I don't think Windows understands "\ " as being an escaped space character (since backslash is typically the directory separator in windows). In your makefile, instead of referring to it as Everything\ Game, change it to "Everything Game" with the quotes (or remove the space from the dir name altogether).   