Sign in to follow this  
jovial girl

toturial 6 and up

Recommended Posts

hi every one ... I'm learning how to create project with openGL but when I reached tuturial 6 it didn't make run correctly what I mean is when I start running the window didn't appear and message appered instead said that the initialization failed ... how can I solve this problem pleeeeeeeeeeese help me I would love to continue this totourial. I'm waiting

Share this post


Link to post
Share on other sites
I'm just guessing, but there arent too many possible errors in tutorial 6, unless one likes to do something own not related to tutorial 6.

So, you're using Win32?

I guess the error is a lack of bmp file.
So make sure you have the texture to load in tutorial 6.
There is a list of downloads on the bottom of the page. Theyre mainly for those using other than Win32, but they generally have the same files. Thus, for examble Glut file has raw instead of bmp. If you fail to find a bmp file, create one your self. Basicly just draw smiley on it, name it correctly and place in correct directory.

Share this post


Link to post
Share on other sites
Quote:
Original post by jovial girl
about the message that appear it said initilisation failed


We need the exact error message - word for word. Are you saying that the exact error message is "initialization failed"? Just those two words?

Quote:
and about the code I used that exist in the toturial itself ??


I don't understand what you're asking here.

I would recommend that you step through the program with the debugger to pin-point the line that causes the error. Once you've found it, post it here.

Share this post


Link to post
Share on other sites
hi

I glad to say I solved the problem ...

It was happened becouse the folder of the picture my foult is that I put the picture with the code in the same folder put when I put it in folder and renamed it Date it works

thanks you all for your help

god bless you

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this