Archived

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

Dev C++

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

Recommended Posts

EDIT: Thanks for guiding me towards Dev-C++, it seems to be what I was looking for. To anyone that uses Dev-C++: I am currently trying to compile NeHe's basecode using the program, but I am getting a few errors:

Compiler errors (all having to do with CDS_FULLSCREEN):

127 opengl_basecode.cpp
CDS_FULLSCREEN' undeclared (first use this function)
127 opengl_basecode.cpp
(Each undeclared identifier is reported only once
127 opengl_basecode.cpp
for each function it appears in.)

g++: c:\dan\dev-c++\projects\opengl_basecode.o: No such file or directory
g++: file path prefix C:\DAN\DEV-C_~1\BIN\' never used

From reading posts on the forums, it seems to me that there are some compatibility issues when using code designed for VC++ with Dev-C++. Any tips for getting code to work? [edited by - Erunama on June 3, 2002 10:48:37 AM]

Share on other sites
Yes, LCC-32 is a C-only compiler, there''s no way to get it to do C++ (but it does C well, I''ve heard). You can use a GCC port bundled with MinGW (see bloodshed.net for a commonly used IDE that uses GCC). The free Borland compiler does C++ too.

Share on other sites
Hrm, I changed the subject, but it still says "LCC-32" on the main forums page. Oh well, I will search for an answer to my question, and if I don''t find it, I will make a new topic.

Share on other sites
Yes, it's something they left out of the MinGW headers (it might be fixed in newer versions though; Edit: I just checked, this IS added in any somewhat-new MinGW headers). Use this:

    #ifndef CDS_FULLSCREEN#define CDS_FULLSCREEN 4#endif

[edited by - Null and Void on June 3, 2002 11:26:02 AM]

1. 1
2. 2
3. 3
Rutin
20
4. 4
frob
20
5. 5

• 32
• 13
• 10
• 11
• 9
• Forum Statistics

• Total Topics
632560
• Total Posts
3007084

×