Compilation with free borland c++ 5.5

Started by
2 comments, last by greg2 22 years, 5 months ago
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.
Advertisement
Just list the seperate files on the command line, i.e.
bcc32 file1.cpp file2.cpp file3.cpp
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.
Please help me!

You can download my program here:
http://www.texel.fr.fm/opengl/sources/readobj.zip

This topic is closed to new replies.

Advertisement