Jump to content
  • Advertisement

Archived

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

lobravo

Why does it have to happen?!

This topic is 5461 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''m using DevC++. I was trying to load models. I got the nehe''s basecode and started reading the tutorial #31(about milkshape) and copying the copy and pasting in the basecode, each thing in its right place. Well. Well. Well, the screen is just black like i had did nothing. I got some error. Some about 32 the first is sintax error before ''::'' the line is bool MilkshapeModel::loadModelData( const char *filename ) well, resuming, i got 32 errors. But one called me attention. This: ''inputFile'' was not declared in this scope If you look at the tutorial you''ll see how big the Loadmodeldata is! Did it happen to anyone? A help would be good :|! thanx!

Share this post


Link to post
Share on other sites
Advertisement
da first paragraph reads...

The source for this project has been extracted from PortaLib3D, a library I have written to enable users to do things like displaying models with very little extra code. But so that you can trust such a library, you should understand what it is doing, so this tutorial aims to help with that.


...anyway the reason why it doesn't work is because is just sections of that code is just so you get an understanding on how it works, if you copy/paste you won't be able to compile since there's stuff missing. Take a look here

[edited by - FtMonkey on October 9, 2003 1:22:43 AM]

Share this post


Link to post
Share on other sites
I downed the specific demo for DevC and I got the following error.
I had other errors and then i added the linker for the glaux, glu32 and opengl32 in the project options. But the following continues to happen:



c:\documents and settings\hype\meus documentos\lesson31\lesson31.o(.text+0x941):lesson31.cpp: undefined reference to `ChoosePixelFormat@8''
c:\documents and settings\hype\meus documentos\lesson31\lesson31.o(.text+0x985):lesson31.cpp: undefined reference to `SetPixelFormat@12''
c:\documents and settings\hype\meus documentos\lesson31\lesson31.o(.text+0xd3a):lesson31.cpp: undefined reference to `SwapBuffers@4''



could someone help me?

"There are people who live in the reality. We recreate it!"

Share this post


Link to post
Share on other sites

  • 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!