Compilation with free borland c++ 5.5
I used to compile my programs with Visual c++ 6.
I recently decided to use the free borland compiler.
I have ever succed in compiling a single file but I don''t know how to compile a program which has several files (.cpp and .h).
How can I do?
If I have to write a makefile, how to write it (I have never write such a file) ?
Thanks.
OK! but...
It''s work perfectly with a simple program (a printf in a function which is in a separate file), but not with my OpenGL/glut program.
I have this type of message:
Error E2337 c:\borland\bcc55\include\glut.h 140: Only one of the set of overloaded can be "C".
The problem don''t come from Glut. I can compile a simple program with one .cpp file.
It''s work perfectly with a simple program (a printf in a function which is in a separate file), but not with my OpenGL/glut program.
I have this type of message:
Error E2337 c:\borland\bcc55\include\glut.h 140: Only one of the set of overloaded can be "C".
The problem don''t come from Glut. I can compile a simple program with one .cpp file.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement