Dev-C++: Error 1

This is a discussion on Dev-C++: Error 1 within the Windows Programming forums, part of the Platform Specific Boards category; After finaly getting rid of my hundreds, of errors I get this: Originally Posted by Dev-C++ E:\Programming\DirectX Demo 13.3\Makefile.win [Build ...

  1. #1
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342

    Question Dev-C++: Error 1

    After finaly getting rid of my hundreds, of errors I get this:

    Quote Originally Posted by Dev-C++
    E:\Programming\DirectX Demo 13.3\Makefile.win [Build Error] ["DirectX] Error 1
    What is error 1; and how do I fix it?

    Here is my makefile:

    Quote Originally Posted by Makefile.win
    # Project: DirectX Demo 13.3
    # Makefile created by Dev-C++ 4.9.9.2
    CPP = g++.exe
    CC = gcc.exe
    WINDRES = windres.exe
    RES =
    OBJ = t3dlib1.o t3dlib2.o t3dlib3.o demo13.3.o $(RES)
    LINKOBJ = t3dlib1.o t3dlib2.o t3dlib3.o demo13.3.o $(RES)
    LIBS = -L"E:/Downloads/Dev-Cpp/lib" -mwindows -lddraw -ldinput -ldsound -lwinmm -ldxerr8 -ldinput8 ../../Downloads/Dev-Cpp/lib/libole32.a] -s
    INCS = -I"E:/Downloads/Dev-Cpp/include"
    CXXINCS = -I"E:/Downloads/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"E:/Downloads/Dev-Cpp/include/c++/3.4.2/backward" -I"E:/Downloads/Dev-Cpp/include/c++/3.4.2/mingw32" -I"E:/Downloads/Dev-Cpp/include/c++/3.4.2" -I"E:/Downloads/Dev-Cpp/include"
    BIN = "DirectX Demo 13.3"
    CXXFLAGS = $(CXXINCS)
    CFLAGS = $(INCS)
    RM = rm -f
    .PHONY: all all-before all-after clean clean-custom
    all: all-before "DirectX Demo 13.3" all-after

    clean: clean-custom
    ${RM} $(OBJ) $(BIN)
    $(BIN): $(OBJ)
    $(CPP) $(LINKOBJ) -o "DirectX Demo 13.3" $(LIBS)
    t3dlib1.o: t3dlib1.cpp
    $(CPP) -c t3dlib1.cpp -o t3dlib1.o $(CXXFLAGS)
    t3dlib2.o: t3dlib2.cpp
    $(CPP) -c t3dlib2.cpp -o t3dlib2.o $(CXXFLAGS)
    t3dlib3.o: t3dlib3.cpp
    $(CPP) -c t3dlib3.cpp -o t3dlib3.o $(CXXFLAGS)
    demo13.3.o: demo13.3.cpp
    $(CPP) -c demo13.3.cpp -o demo13.3.o $(CXXFLAGS)
    Thanks for any help.

  2. #2
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Are you allowed to have spaces in the path of your project?

    ╔╗╔╦══╦╗╔╦══╦╗
    ║╚╝║╔╗║╚╝║╔╗║║
    ║╔╗║╠╣║╔╗║╠╣╠╣
    ╚╝╚╩╝╚╩╝╚╩╝╚╩╝

    codez http://code.google.com/p/zxcvbn/

  3. #3
    Registered User Queatrix's Avatar
    Join Date
    Apr 2005
    Posts
    1,342
    I fixed that, but still:

    Quote Originally Posted by Dev-C++
    E:\Programming\DirectX_Demo_13.3\Makefile.win [Build Error] [DirectX_Demo_13.3] Error 1
    EDIT:

    Now I got rid of the period so that the compiler wouldn't think the extestion was "3.cpp", and still, the error:

    Quote Originally Posted by Dev-C++
    E:\Programming\DirectX_Demo_13.3\Makefile.win [Build Error] [DirectXdemo.exe] Error 1
    Last edited by Queatrix; 09-02-2006 at 02:19 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Resources with Dev C++ Problem (many simple problems)
    By Zeusbwr in forum Windows Programming
    Replies: 4
    Last Post: 04-07-2005, 12:08 AM
  2. New to Dev C++/<windows.h>...
    By Cilius in forum C++ Programming
    Replies: 3
    Last Post: 02-23-2005, 01:05 AM
  3. Glut and Dev C++, Programs not Quitting?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-29-2004, 08:43 PM
  4. DEV C++ Limitations?
    By Kirdra in forum Game Programming
    Replies: 3
    Last Post: 09-09-2002, 10:40 PM
  5. Tutorial about Bloodshed Dev!
    By Unregistered in forum C++ Programming
    Replies: 2
    Last Post: 11-13-2001, 07:42 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21