C++ bare bones is platform compatible if you use the right compiler. If I'm using C++ SDL code it does not have to be changed to compile for multiple platforms right?
How can I use SDL with Visual Studio 2010 and not restrict my game to one platform
Started by liamzebedee, Jun 20 2011 12:30 AM
2 replies to this topic
#1
Posted 20 June 2011 - 12:30 AM
|
|
|
#2
Posted 20 June 2011 - 04:21 AM
C++ bare bones can be compiled to multiple platforms. However, the compiled code is not cross-platform. If you use ANY windows-specific code, it will not be cross-platform.
#3
Posted 20 June 2011 - 02:44 PM
As long as you compile for the specific platform, you can use your original source and library. You will require the binaries specific to each platform however if you do not compile the libSDL .tar.gz package yourself.
Be sure to read the updated FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
If a suggested code/method fails, informing us is less important than telling us why or what errors occurred.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account


Back to top









