Advertisement Jump to content


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


Lesson 31 first lesson to not compile

This topic is 5925 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 ( 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

Important Information

By using, you agree to our community Guidelines, Terms of Use, and Privacy Policy. is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!