Goombert
|
 |
Posted on: May 19, 2013, 09:17:20 pm |
|
|
 Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
In the past it was necessary that you build your project from the platform you intend to target, each platform. This may be a bit a pain in the but for indie devs who don't have 3 different computers or dual boot. So fundies has decided to start our cross compiler abilities and has created a nice patch for everyone. Here is me testing it on Ubuntu...  **** Prerequisite Packages ***** sudo apt-get install mingw-w64-i686-dev g++-mingw-w64-i686
***** Instructions ***** 1) Install ENIGMA 2) [snip]cd your_enigma_install_directory[/snip] 3) [snip]wget http://awesome-toons.org/WinPatch.zip[/snip] 4) [snip]unzip WinPatch.zip[/snip] 5) You may optionally install WINE Emulator to ensure your game built correctly before testing it on Windows if you are on Linux 6) Go to ENIGMA->ENIGMA Settings and set audio system to SFML or None as OpenAL does not work with MinGW32 7) Set compiler to MinGW32 8) Test compile an empty game 9) You should be good to go!  ***** Running Games ***** 32-bit Debian or Ubuntu : [snip]apt-get install fglrx-glx or libgl1-mesa-glx or nvidia-glx or nvidia-glx-legacy-96xx[/snip] 64-bit Debian or Ubuntu : [snip]apt-get install fglrx-glx-ia32 or ia32-libs or nvidia-glx-ia32 or nvidia-glx-legacy-96xx-ia32[/snip] Please give feedback and suggestions and discuss the future development of this in this topic.
|
|
« Last Edit: May 19, 2013, 09:56:50 pm by Robert B Colton »
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect. 
|
|
|
gra
|
 |
Reply #1 Posted on: May 20, 2013, 01:13:32 am |
|
|
 Joined: Feb 2013
Posts: 147
|
great!!  i try now to follow guide EDIT o my... it compile  but this have sense, i'm idiot 6) Go to ENIGMA->ENIGMA Settings and set audio system to SFML or None as OpenAL does not work with MinGW32 openal not go in windows, i have the problem with this,  Thanks for this, the system switch for compile is bad i'm happy  EDIT2 in fedora wine with open video driver, not view game, i have tessted three month ago, in ubuntu wine run fine with ati open driver
|
|
« Last Edit: May 20, 2013, 01:57:31 am by gra »
|
Logged
|
|
|
|
zesterer
|
 |
Reply #2 Posted on: May 22, 2013, 02:44:28 pm |
|
|
 Location: Mars Joined: Jan 2013
Posts: 16
|
Er... I tried compiling with and empty game, and installed all dependencies. I got this error: http://pastebin.com/ERiUMSk4:S -Zesterer (Xen)
|
|
|
Logged
|
|
|
|
|
|
|
Goombert
|
 |
Reply #6 Posted on: May 30, 2013, 04:45:27 am |
|
|
 Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
It should be able to gra, do you by chance have both the 32 and 64bit libraries?, they could be getting mixed. I am generally not so good with this kind of stuff and cheeseboy is the one who made this. But yes theoretical what you are trying to do gra should be possible and if not it should be fixed.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect. 
|
|
|
|
Goombert
|
 |
Reply #8 Posted on: May 31, 2013, 04:27:58 pm |
|
|
 Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
Oh gra, are you installing from source code using github or are you using the new windows installer? Because we had the wrong MinGW version linked on the download page for sometime.
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect. 
|
|
|
|
|
|
|
Goombert
|
 |
Reply #13 Posted on: July 08, 2013, 02:52:59 am |
|
|
 Location: Cappuccino, CA Joined: Jan 2013
Posts: 2993
|
intygamer, I can't say much about this as I did not create it, cheeseboy did and forced me to post it >:
|
|
|
Logged
|
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect. 
|
|
|
intygamer
|
 |
Reply #14 Posted on: July 08, 2013, 05:37:13 pm |
|
|
 Joined: Mar 2013
Posts: 77
|
Thanks Robert for responding. I will wait for Josh to respond. I probally need to add the repo to ubuntu for the terminal command to work. Ubuntu repo has a mingw64 compiler, but not the one in command line sudo apt-get install mingw-w64-i686-dev g++-mingw-w64-i686 I looked under downloading windows version of enigma by source and seen the link for http://tdm-gcc.tdragon.net/download I'm not sure if I can use these for ubuntu and did not see the exact files listed. Thanks Joe
|
|
|
Logged
|
|
|
|
|