|
|
06-10-2010
, 09:00 AM
|
|
|
Posts: 173 |
Thanked: 70 times |
Joined on Mar 2010
@ Denmark
|
#2
|
|
|
06-10-2010
, 09:47 AM
|
|
Posts: 432 |
Thanked: 640 times |
Joined on Mar 2009
|
#3
|
Okay, so I fixed this by putting "-lSDL -lSDL_image" in LIBS.
But I got another question: Where should I put the image files, that the binary reads from? It reads some images, and shows them on the SDL screen.
|
|
06-10-2010
, 10:00 AM
|
|
|
Posts: 173 |
Thanked: 70 times |
Joined on Mar 2010
@ Denmark
|
#4
|
|
|
06-10-2010
, 10:09 AM
|
|
Posts: 432 |
Thanked: 640 times |
Joined on Mar 2009
|
#5
|
ln -s /opt/.../<executable-binary> /usr/bin/<executable-binary>
|
|
06-10-2010
, 10:13 AM
|
|
|
Posts: 173 |
Thanked: 70 times |
Joined on Mar 2010
@ Denmark
|
#6
|
|
|
06-10-2010
, 01:05 PM
|
|
Posts: 726 |
Thanked: 343 times |
Joined on Apr 2010
@ Sweden
|
#7
|
You can add a line to create a softlink in the postinst like:
DanielCode:ln -s /opt/.../<executable-binary> /usr/bin/<executable-binary>
| The Following User Says Thank You to Joorin For This Useful Post: | ||
|
|
06-11-2010
, 03:09 AM
|
|
Posts: 432 |
Thanked: 640 times |
Joined on Mar 2009
|
#8
|
Or include the link in the staging directory and it will be included in the package.
Using the postinst script is, in my view, the less good alternative.

![]() |
| Thread Tools | Search this Thread |
|
I am trying to port this little SDL application, but I'm kind of clueless regarding the prog.pro file, when packaging the application.
I have created a "simple" template using MADDE, but how do I tell make that it needs the SDL libraries?