• Advertisement

Archived

This topic is now archived and is closed to further replies.

Compilation with free borland c++ 5.5

This topic is 5943 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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.

Share this post


Link to post
Share on other sites
Advertisement
Just list the seperate files on the command line, i.e.
bcc32 file1.cpp file2.cpp file3.cpp

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
Please help me!

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

Share this post


Link to post
Share on other sites

  • Advertisement