Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Distributing an SFML app on Linux  (Read 2454 times)

0 Members and 2 Guests are viewing this topic.

Manux

  • Newbie
  • *
  • Posts: 23
    • View Profile
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.

Lupinius

  • Jr. Member
  • **
  • Posts: 85
    • View Profile
Distributing an SFML app on Linux
« Reply #1 on: January 05, 2011, 03:03:52 pm »

 

anything