Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


[Help] Lesson 06 Texturing Update Problem


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 Alfox   Members   -  Reputation: 148

Like
0Likes
Like

Posted 17 March 2014 - 12:15 PM

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, 17 March 2014 - 12:18 PM.


Sponsor:

#2 Petrov_VA   Members   -  Reputation: 596

Like
0Likes
Like

Posted 17 March 2014 - 05:03 PM

Problem is Glaux.lib. To avoid see adaptation of the codes of 2000 to Visual C++ MS VS pro 2010-2012:   NeHe's demo and codes OpenGL summary



#3 Alfox   Members   -  Reputation: 148

Like
0Likes
Like

Posted 18 March 2014 - 10:37 AM

Thanks! I'll see your link.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS