Author Topic: Daily Windows Build available.  (Read 2800 times)

andrego536

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Daily Windows Build available.
« Reply #30 on: November 08, 2018, 05:32:16 AM »
Estou tentando compilar no modo crossfire usando uma imagem vmware do ubuntu 32bits  já segui todas as instruções e não consigo gerar o excultavel
 
Por favor se alguém puder me ajudar eu ficaria muito agradecido 

dabone

  • Jr. Member
  • **
  • Posts: 20
    • View Profile
Re: Daily Windows Build available.
« Reply #31 on: November 09, 2018, 07:03:13 AM »
You private messaged me 3 times, but No, I'm not posting a copy of my vm, it has other things on it.

I just followed the instructions from here.

http://attractmode.org/docs/Compile.html

I do recommend a 64bit version of linux.

I'm running Ubuntu Server 16.04.4, cli only, no gui.

The first thing is the install and update the os.

sudo apt-get update

sudo apt-get upgrade


Then install build-essential

sudo apt-get install build-essential.

and make sure git is installed

sudo apt-get install git

Then install mxe package.

https://mxe.cc/#tutorial


This is the hardest part, and probably what you are stuck on.
Also, compiling MXE takes a long time.

sudo apt-get install autoconf automake autopoint bison flex gperf intltool libtool libtool-bin libgtk2.0-dev

git clone https://github.com/mxe/mxe.git
sudo mv mxe /opt/mxe
cd /opt/mxe

make cc
make ffmpeg sfml libarchive

and for 64bit also do

make MXE_TARGETS='x86_64-w64-mingw32.static' ffmpeg sfml

And don't forget to add the path (Step 4) into your .bashrc file (it's in your home directory)


cd ~
nano .bashrc

now find the export path line and add the mxe path to it.
mine looks like this

export PATH=/opt/mxe/usr/bin:$PATHg


Press control x to exit and save .bashrc

now grab attractmode

git clone https://github.com/mickelson/attract.git

cd attract

for 32 bit compile using this command

make -j 3 CROSS=1 TOOLCHAIN=i686-w64-mingw32.static WINDOWS_STATIC=1

for 64 bit use this command.

make -j 3 CROSS=1 TOOLCHAIN=x86_64-w64-mingw32.static WINDOWS_STATIC=1




This guide may have errors in it, It's been a while since I set this up myself.
« Last Edit: November 11, 2018, 07:01:49 AM by dabone »

andrego536

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: Daily Windows Build available.
« Reply #32 on: November 09, 2018, 07:37:55 AM »

Thanks for the tutorial I'll see if I can do it.
I apologize for having sent the same information three times without meaning to