Video Tutorials Rock.com Forums
September 06, 2010, 06:41:54 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: glutTimerFunc Error  (Read 479 times)
Pottsy
Newbie
*
Posts: 1


View Profile
« on: February 25, 2010, 02:48:33 PM »

Hi,

First i'd like to say what a great help you are with all your tutorial stuff, makes things alot easier to learn lol.

Anyway, making shapes rotate...
I basically copied the code word for word (But related to my code) and i get this error

"error C2664: 'glutTimerFunc' : cannot convert parameter 2 from 'void (__cdecl *)(void)' to 'void (__cdecl *)(int)'"

I'm not sure why it comes up with this, as i was even watching the video and typing as you were, yet i got the error and you didn't? lol. Could it possibly be to do with version? As i saw you were using 2005, whereas i run 2008

Thanks in advance
Logged
edison_wannabe
Newbie
*
Posts: 1


View Profile
« Reply #1 on: March 05, 2010, 05:22:28 PM »

Are you sure the "update" function definition contains the argument "int val" ?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.8 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!