1
General discussions / Distributing an SFML app on Linux
« on: January 05, 2011, 02:57:45 pm »
Ahoy,
I am trying this for SFML but I guess it applies to linux apps in general.
I made a small game which I shared with other people on windows; the game only uses SFML and is almost entirely cross platform code.
On windows to distribute my apps I put the sfml DLLs in a subfolder called Lib/ and I then use the windows.h "SetDllDirectory" function to point to Lib/ and then load my own main DLL which contains all my code.
On linux, when a user wants to install my app should I place the SFML .so's in /usr/lib? or should I keep them in a subfolder? Should I move all the app's data to /usr/share/myapp?
I'm never too sure about the way linux works... Thanks again.
I am trying this for SFML but I guess it applies to linux apps in general.
I made a small game which I shared with other people on windows; the game only uses SFML and is almost entirely cross platform code.
On windows to distribute my apps I put the sfml DLLs in a subfolder called Lib/ and I then use the windows.h "SetDllDirectory" function to point to Lib/ and then load my own main DLL which contains all my code.
On linux, when a user wants to install my app should I place the SFML .so's in /usr/lib? or should I keep them in a subfolder? Should I move all the app's data to /usr/share/myapp?
I'm never too sure about the way linux works... Thanks again.