Thread: What I would assume is a compiler problem

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    183

    Unhappy What I would assume is a compiler problem

    Hi again.

    So , I started a new project ( a test to see if my method of moving the camera in a first person shooter was correct , ) and all was fine. Hunki-dori , one might say. Anyway , I deleted the stuff that automatically comes up , and pasted in a basecode I had saved. But it was different.

    On the basecode , the text is nicly colour coded , blue for comments , green for including things ect , but when I pasted it into the new project , everything was black. I knew then somthing was wrong.

    So I tried to complie it , but it came up with these errors :


    1)

    make.exe C:\Program Files\Dev-Cpp\Project-files\make.exe Circular ../Templates/MovingTest <- ../Templates/MovingTest.o dependency dropped.

    2)

    ../Templates/MovingTest C:\Program Files\Dev-Cpp\Project-files\G__~1.EXE linker input file unused because linking not done

    3)

    C:\Program Files\Dev-Cpp\Project-files\G__~1.EXE ../Templates/MovingTest.o: No such file or directory.


    I thought it might be the code. So I opened the basecode and compiled it. It worked just fine. The code is exactly the same , and I have checked the project settings. It should work.

    Please help.


    Oh , I am using dev C++ 4.9.9.0 if that helps , and I will post the code if you want to see it.
    Last edited by Necrofear; 08-01-2005 at 09:23 AM.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Try doing a clean, and then a rebuild all.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    183
    I tried it , but it dosen't work. Still the same errors.

    Would it help if I download the compiler again ?

  4. #4
    ---
    Join Date
    May 2004
    Posts
    1,379
    I think the compiler thinks it is a text file and not a .c / .cpp file

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. added start menu crashes game
    By avgprogamerjoe in forum Game Programming
    Replies: 6
    Last Post: 08-29-2007, 01:30 PM
  2. Compiler problem
    By Necrofear in forum C++ Programming
    Replies: 5
    Last Post: 01-28-2006, 11:52 AM
  3. Compiler Problem
    By sitestem in forum C++ Programming
    Replies: 2
    Last Post: 04-11-2004, 03:48 PM
  4. Problem with compiler
    By knight543 in forum C++ Programming
    Replies: 4
    Last Post: 02-09-2002, 09:16 PM
  5. Please help me with this compiler problem
    By incognito in forum C++ Programming
    Replies: 1
    Last Post: 01-05-2002, 05:14 PM