View Single Post
Old 14-08-19, 21:28   #2338
ExpertRaider
Member
 
ExpertRaider's Avatar
 
Joined: Aug 2019
Posts: 24
Default

Quote:
Originally Posted by Cochrane View Post
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!

Last edited by ExpertRaider; 14-08-19 at 21:38.
ExpertRaider is offline   Reply With Quote