Do pro indies compile every open source library they use?
Posted 24 February 2013 - 02:30 PM
In the past I used to write all the code to interface OpenGL etc to Win32, however my current pet project uses SDL. The prebuilt DLLs I downloaded work just fine, so I was wondering if directly including them in the end product folder wouldn't be a little, ahem, lame
Posted 24 February 2013 - 06:13 PM
Getting a third-party library integrated into your build process is usually a pain. However, it's often necessary because of annoying incompatibilities, such as you and the prebuilt binary disagreeing on which version of the CRT (C runtime library) you want to use, or whether you have STL iterator debugging turned on or off, etc. This is more of an issue using statically linked libraries than DLLs. And of course if you want to make any modifications then you have to build stuff from source. Finally, it can be useful to build from source just so that you get debugging information and can therefore step into the library code with the debugger if you need to. But if none of those conditions obtain, then using prebuilt binaries is fine.
Posted 25 February 2013 - 03:51 PM
If you statically link against everything (though you will run into DLL hell if dynamically link), you need to rebuild your libraries whenever you switch your CRT, as Reed noted above. This has been a fairly standard practice when upgrading visual studio over the years. Same goes for whenever I update my Linux box.
Posted 25 February 2013 - 06:05 PM
Posted 26 February 2013 - 03:24 AM
If you don't know how to speed up application, go "roarrrrrr!", hit the compiler with the club and use -O3 :D
Posted 26 February 2013 - 10:20 AM
3) Magic particle system
Some games use others, but those are used by most games
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users