Jump to content
  • Advertisement
Sign in to follow this  
VCAlfox

[Help] Lesson 06 Texturing Update Problem

This topic is 1585 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

Hello,

I downloaded the Lesson 6 source (this is the Lesson 6: http://nehe.gamedev.net/tutorial/lesson_06_texturing_update/47002/ ), and when I load it into VC all works fine. Now I want to create my own project and when I compile the files. I receive this errors:

1>SOIL.lib(stb_image_aug.o) : error LNK2019: unresolved external symbol  __alloca referenced in function _stbi_zlib_decode_noheader_buffer
1>MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol  _main referenced in function  ___tmainCRTStartup

I tried also to put the same code of Lesson 6 in my .cpp file.

And of course I followed the instructions in the lesson (include .h and link .lib)

 

So, What is my error?

 

Thanks

Edited by Alfox

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

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