Deploying binary on linux

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
tobix10
Posts: 15
Joined: Thu Feb 26, 2015 5:34 pm

Deploying binary on linux

Post by tobix10 »

To compile irrlicht on Linux we need
  • freeglut3
    freeglut3-dev
    freeglut3-dbg
    xserver-xorg-dev
    x11proto-xf86vidmode-dev
    libxxf86vm-dev
    mesa-common-dev
    libgl1-mesa-dev
    libglu1-mesa-dev
    libxext-dev libxcursor-dev
If I want to send someone my application which libraries should be installed to run this app?

I ask only about irrlicht (statically compiled).
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Deploying binary on linux

Post by CuteAlien »

You can use 'ldd' on the binary and it will show you the dependencies. But usually all those you mentioned should be installed on a typical Linux system (with X11). The most common problem I run into was that users often have older c-libs installed. I work around that by compiling with debian stable which usually (sadly) has the oldest libs around of all distros.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
tobix10
Posts: 15
Joined: Thu Feb 26, 2015 5:34 pm

Re: Deploying binary on linux

Post by tobix10 »

Thx. I used that command and tried running my application on virtual machine (ubuntu, debian). I've noticed that libc6-dev for debian is older.
chronologicaldot
Competition winner
Posts: 688
Joined: Mon Sep 10, 2012 8:51 am

Re: Deploying binary on linux

Post by chronologicaldot »

CuteAlien wrote: But usually all those you mentioned should be installed on a typical Linux system (with X11).
Using Linux Mint 17 Cinnamin, I had to install a few of the libraries I believe, notably Xcursor at the very least.
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Deploying binary on linux

Post by CuteAlien »

Xcursor really? Oh man - I thought every system has those by now (it's for multi-color cursors in X11).
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply