Quote:
Originally Posted by Cochrane
According to the documentation, that is a macro, not a function, so getting linked errors about it means that you’re probably using the wrong SDL headers. Are you sure you’re using the latest SDL 2.0?
Edit: Wait, just looked again, it’s not a linker error. Still, it’s not finding a macro, so there must be an issue with the header file. Make sure you’re using SDL 2 or higher.
|
Thanks for the help. It turns out I was using SDL 1.0 instead of SDL 2.0. Glad you caught that. I guess the site I downloaded SDL from wasn't the latest version. I was following the Moddb tutorial and I guess it was old. Thanks again guys!
But now there is another problem with the compiling. It is saying that snprintf is undeclared in this scope:
This is getting rather frustrating now. Why is it so hard to compile OpenTomb? Is this why there are no new official builds of OpenTomb? LOL!