Jump to content
  • Advertisement

Archived

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

GuineaPig

Lesson 31 first lesson to not compile

This topic is 5827 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''ve been going through each lesson in the NeHe Tutorials, and have had no problems until lesson 31, which deals with the Milkshape model importer. I recieved the following errors, which may be caused by mssdk and STL Port being used as the default libraries... Compiling... Lesson31.cpp MilkshapeModel.cpp c:\sierra\nehe\lesson31\milkshapemodel.cpp(117) : error C2039: ''nocreate'' : is not a member of ''basic_ios >'' c:\sierra\nehe\lesson31\milkshapemodel.cpp(117) : error C2065: ''nocreate'' : undeclared identifier c:\sierra\nehe\lesson31\milkshapemodel.cpp(126) : error C2664: ''read'' : cannot convert parameter 1 from ''unsigned char *'' to ''char *'' Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast Model.cpp Error executing cl.exe. I have DirextX 8.0 SDK installed on my machine, along with STL Port (I forget which version) and service pack 5 for Visual C++. mssdk has been set to the first entry in the library paths, for use with OGRE rendering engine (ogre.sourceforge.net). Typically, I have to include LIBCMT under settings-->link-->input-->[ignore libraries]. That, however, was not sufficient in this case. Anyone else have this problem?

Share this post


Link to post
Share on other sites
Advertisement

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!