Author Topic: Linux/Ubuntu Compliling with code:blocks  (Read 1350 times)

0 Members and 1 Guest are viewing this topic.

Offline eldorico

Linux/Ubuntu Compliling with code:blocks
« on: November 07, 2012, 04:22:30 AM »
Hello!


Please excuse my english...


I would like to modify the code source to make the game create some stats and graphics.


Does any one have tried to compile simutrans with code:blocs using Ubuntu?


If yes, was it easy? Because I tried it for 6 months and I'm still having dificulties. I'm learning, and yet I think I could give the proper libraries. But now, I'm encoutering errors with the codesource itself, so I think I'm compiling very badly.


Does any one knows where I could find some help to compile simutrans with code:blocks, having linux?


Thanks,


Eldorico

Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4862
  • Total likes: 201
  • Helpful: 108
  • Languages: EN, NO
Re: Linux/Ubuntu Compliling with code:blocks
« Reply #1 on: November 07, 2012, 05:40:02 AM »
I'm using code:blocks on Windows. A bit of a pain to set up with all the files (not all should be compiled for a given target) and defines (at least COLOUR_DEPTH), but doable. I also have to keep track of new and deleted files so I can add and remove them from the project.

Offline eldorico

Re: Linux/Ubuntu Compliling with code:blocks
« Reply #2 on: November 07, 2012, 11:57:54 PM »
Ok thanks.


I tryed with codeblocks for windows using wine, and it seems much easier :-)


Does the file "trunk/text_pixel.c" remember you anything? I've got trouble with the syntax of asm volatile..


I'll do a new post.


Thanks however ;-)




Offline Ters

  • Coder/patcher
  • Devotee
  • *
  • Posts: 4862
  • Total likes: 201
  • Helpful: 108
  • Languages: EN, NO
Re: Linux/Ubuntu Compliling with code:blocks
« Reply #3 on: November 08, 2012, 05:40:04 AM »
I tryed with codeblocks for windows using wine, and it seems much easier :-)

Strange. I don't remember code:blocks being any different on Linux than on Windows. In some ways Linux was easier as GCC and related tools are more at there. But that was several years ago now.