User Tools

Site Tools


en:tutorials:orx:linux:linuxsetup

This is an old revision of the document!


Linux Setup

I had quite a difficult time seting up Orx on linux, Not sure why, IArwain said he never had those problems. Maybe it's because I have old machines, maybe it's my distro ( Linux Mint). Anyway, I managed to get it to build by doing the following.

  1. Install missing libraries: in order to have orx compile :)
    • freeglut3-dev
    • libsndfile1-dev
    • libopenal-dev
    • libxrandr-dev
    • libgl1-mesa-swx11: This one is a software rasteriser. you probably won't need it, but if you're using virtualisation, and hardwarde 3d is not working it's an option.
  2. Change outputs and includes for Orx and OrxLIB project. Do this for Linux Embedded Dynamic Debug, Profile, and Release, and the same for Linux64. (we have to do this so the files don't get overwritten)
    • orxLIB outputfile: add Linux32/64 folder. so you get something like.
      ../../../lib/dynamic/linux64/liborxd.so
    • orxLIB Postbuild: again add the folder into the path… so it becomes
      cp -f ../../../lib/dynamic/linux64/liborxd.so ../../../bin
    • orx libpath: update the libpath to match your changes into the lib.
      ../../../lib/dynamic/linux64

You should now be able to build orx in linux (even just with step 1), but step 2 is important if you plan to build in 32 and 64bit.

another thing you might want to do now… is write up a quick bash script.

en/tutorials/orx/linux/linuxsetup.1354471124.txt.gz · Last modified: 2017/05/30 00:50 (7 years ago) (external edit)