The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Static Linking SDL
Richard Johnson
Guest

At present due to my lack of expertise, I have only been linking SDL manual through the configuration on Visual Studio properties page. And I have been manually placing appropriate files in the directories as to where my program or coding resides in. As to linking the SDL in the linker input section I added only the SDL.lib and SDLmain.lib to that. And then I place or copy to the system32 area of windows. Then I copy the libSDL2_image.a file to where it needs to be.


If I had a step by step direction in static linking would be great and helpful. although in my program. I have had errors more related to the IMG_init, IMG_Load, and the IMG_Quit functions in the SDL coding of my application. Thanks for the great insight on the static linking that Bob Rubbens had mentioned. It will look forward to reading more on this subject. Thanks Bob...