🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
SDL / C++ Pages?
Can someone give me a good SDL page, that gives examples useing C++? Please?
Thanks
Mess with the best,
Die like the rest!!
Why wont it compile? Should i make it a dos application, or windows?
Mess with the best,
Die like the rest!!
Mess with the best,
Die like the rest!!
If you''re using MSVC do the following:
Make a Win32 application.
Go to Project->Settings.
Make "Settings For" All Configurations.
Click on the "Link" tab.
Check "Ignore all default libraries."
Add sdl.lib, sdlmain.lib, msvcrt.lib and (possibly) libc.lib and libcp.lib to the "Object/library modules" textbox.
Instead of another variety of main you must use "int main(int argc, char *argv[])"
That should be all you need to do .
[Resist Windows XP''s Invasive Production Activation Technology!]
That should be all you need to do .
[Resist Windows XP''s Invasive Production Activation Technology!]
Also, make sure you put your libraries and include files in the correct places.
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
I tried to get it to work with Dev C++ to explain how to someone a while ago and failed. I know it is possible, since I''ve used SDL with GCC (what Dev C++ uses) before. If you want to do it from a makefile or from the command line it is easy (see this page). However, I still haven''t figured out why it won''t work in the Dev C++ IDE .
[Resist Windows XP''s Invasive Production Activation Technology!]
[Resist Windows XP''s Invasive Production Activation Technology!]
Hey, I''ve got a tut on my site aboud Dev-C++ and SDL. Go check it out. Maybe it will help you.
---
cone3d
http://cone3d.gamedev.net
Multitasking - screwing up several things at once.
---
cone3d
http://cone3d.gamedev.net
Multitasking - screwing up several things at once.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement