• ### Announcements

#### Archived

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

# These wonderfull... things

## Recommended Posts

##### Share on other sites
for the "already defined" errors, it sounds like you''ve included an include file in more than one file. The way I solved this was by putting:

  #ifndef BLAH_H // the first include, this will be undefined#define BLAH_H 1 // the next time, it will// .... CODE .... //#endif

this means that the first time the file is included, the variable will be undefined and so it will run through the file. The second time however, the variable WILL be defined, so the file won''t be run through. Or at least it will be, but only from the #endif onwards.
The other 2 errors basically mean that "CLoad3DS" and "Import3DS" are called in main.cpp, but are undefined i.e. Not known about. You can check a few things:

1. That the functions your calling are implemented (the code is typed) somewhere in your project.

or 3. That the include file which defines, but does not implement CLoad3DS is included in main.cpp.

Keep trying and good luck!

HTH

------------------------------
Baldur K

• ## Partner Spotlight

• ### Forum Statistics

• Total Topics
627678
• Total Posts
2978605

• 12
• 12
• 10
• 12
• 22