+ 1

random error; identifier "SDL_INIT_VIDEO" is undefined

for some reason i get this error for no reason at all. i get the error but if i save the scirpt and reopen it the error goes away. but when interact with anything that has a connection with that line ( SDL_INIT(SDL_INIT_VIDEO); ) the error is everywhere. help!

12th Nov 2019, 2:58 PM
doonv
doonv - avatar
4 Respostas
+ 2
If you have not follow this tutorial. http://lazyfoo.net/tutorials/SDL/01_hello_SDL/windows/msvsnet2010u/index.php If you need coding help paste the code in the playground or in hastebin. Long code in the description is messy. - edit code removed
12th Nov 2019, 5:58 PM
Manual
Manual - avatar
+ 1
dan Gameing hi. Did you link the libraries and includes in project properties?
12th Nov 2019, 5:55 PM
Manual
Manual - avatar
+ 1
Would be nice when you share how you fixed it, so that others with the same problem can solve it too...
14th Nov 2019, 8:54 PM
Matthias Hoffmann
Matthias Hoffmann - avatar
0
It's fixed by now
13th Nov 2019, 5:23 AM
doonv
doonv - avatar