compiling example files

Debugging
sydney
2013-02-23
2013-09-20
  • sydney
    sydney
    2013-02-23

    I have a book on algorithms with a lot of source code: c and h files. So I created a new project within the example code directory and added in the book code for the .c and .h files, and then removed the default main.c, since it was not needed: the other code already contained a main(). I then compiled and tried to run project code. No good! I looked in the project folder and found a .o file, so some of the compilation process is working, but there is no .exe file to be found! I looked at some of the included examples, ie Pascal, and found that this example works OK. Then I looked at and compared the make file for both projects. The syntax in both of these makefiles is the same except for the paths to the .o and .exe files! I thought that I new quite a bit about now to use compilers and linkers, but this problem is making me doubt myself! Any ideas are appreciated.

     
  • Extropian314
    Extropian314
    2013-09-20

    Maybe you could post the Compile Log (in bottom toolbar) here.

     
    Last edit: Extropian314 2013-09-20