Thread: Dev C++: can't run code

  1. #1
    Registered User
    Join Date
    Apr 2007
    Posts
    27

    Question Dev C++: can't run code

    EDIT: Fixed the problem. The program had been made a static library in the options.

    I have recently started into a book on building a game engine. My current problem isn't actually the code (I don't think) or any other logical error I can double check.

    My problem is that while everything compiles great, there's no executable file. Normally you can compile and run, but this only outputs the standard .a file, no .exe with it. I have tried the different means in the program, such as the run button, ctrl-F10 and ctrl-F9 (which is compile AND run), however I can't seem to trick it into running.


    If anyone happens to know or can tell why it won't give me the option to run the code, I would love to know. Any help is appreciated.

    Disclaimer: I have successfully run the BOOK's code from the CD it comes with, and it has the option to run. I am assuming the files I'm linking have something to do with it, but I've followed instructions to the letter, and everything compiles fine. I've never encountered this before..
    Last edited by blurrymadness; 08-07-2009 at 07:42 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev and Code Blocks
    By swgh in forum Game Programming
    Replies: 3
    Last Post: 04-07-2006, 07:21 PM
  2. How come Dev C++ cant run some programs??
    By Sephiroth in forum C Programming
    Replies: 41
    Last Post: 09-17-2005, 05:35 AM
  3. Code compiles but doesn't run
    By dbyte in forum C Programming
    Replies: 5
    Last Post: 07-22-2003, 08:25 PM
  4. << !! Posting Code? Read this First !! >>
    By biosx in forum C++ Programming
    Replies: 1
    Last Post: 03-20-2002, 12:51 PM
  5. Replies: 4
    Last Post: 01-16-2002, 12:04 AM