Jump to content
Posted 27 September 2012 - 00:01
Posted 27 September 2012 - 20:20
Posted 28 September 2012 - 02:33
Posted 28 September 2012 - 02:42
Posted 28 September 2012 - 14:51
I tried to compile your code on my Mint VM but I didn't have SDL installed, and I'm not sure how to properly install it on Linux.
sudo apt-get install libsdl-dev libsdl-image1.2-dev
gcc -o cosmos -O2 -march=native -s -pedantic -Wall `pkg-config --cflags --libs sdl` -lSDL_image main.c
gcc main.c -o cosmos -O2 -march=native -s -pedantic -Wall `pkg-config --cflags --libs sdl` -lSDL_image
That said SDL is obviously a quality and widely used library especially in the *.nix world
Posted 28 September 2012 - 15:07
I much prefer Allegro 5 over SDL, but both are good at what they do. A game I'm developing uses Allegro 5 to abstract most platform-specific stuff, while the rest is done in C# and OpenGL 3.3. I went with Allegro over the experience and (in my opinion), the nicer API. But I guess that doesn't matter much when it's all P/Invoke.
Posted 28 September 2012 - 17:13
It worked, thanks. That looks pretty sweet indeed.sudo apt-get install libsdl-dev libsdl-image1.2-dev
Posted 29 September 2012 - 18:17
If you're on Ubuntu or Mint you need to add the badgerports repositories to get the latest Monodevelop/MonoGame packages. On other distributions I don't know.
$ yaourt -Ss monogame aur/monogame 188.8.131.52-1 (3) XNA Implementation for Mono based platforms aur/monogame-git 20120512-1 (1) XNA Implementation for Mono based platforms (git)
$ yaourt -Si monogame | grep Licenses Licenses : Microsoft Public License