Attract-Mode Support > General

Help to compile attract-mode in windows 10 64bits

(1/3) > >>

iOtero:
I have followed these steps of compile.md without error messages:

Install MSYS2 https://msys2.github.io/

In the MSYS2 console:


--- Code: ---
pacman --needed -Sy bash pacman pacman-mirrors msys2-runtime

pacman -S git mingw-w64-x86_64-toolchain msys/make mingw64/mingw-w64-x86_64-sfml mingw64/mingw-w64-x86_64-ffmpeg mingw64/mingw-w64-x86_64-libarchive

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

cd attract


--- End code ---

And when I run make, it gives me these errors (my system is Spanish):


--- Code: ---$ make
/bin/sh: pkg-config: no se encontró la orden
/bin/sh: pkg-config: no se encontró la orden
/bin/sh: pkg-config: no se encontró la orden
make: pkg-config: No se encontró el programa
make: pkg-config: No se encontró el programa
flags: -Wl,--subsystem,windows -O2 -DNDEBUG -Iextlibs/miniz -Iextlibs/audio/include -D__STDC_CONSTANT_MACROS  -Iextlibs/expat -Iextlibs/squirrel/include -Iextlibs/sqrat/include -Iextlibs/gameswf
mkdir -p obj
Compiling obj/fe_base.o...
make: g++: No se encontró el programa
make: *** [Makefile:457: obj/fe_base.o] Error 127

--- End code ---

TRANS:

no se encontró la orden --> the order was not found

No se encontró el programa --> The program was not found

I need help, please.

iOtero:
Nobody can help me?  :'(

progets:
Compiling AttractMode on Windows requires the use of many .dll files once complete. Because of this I don't think many people do it. The recommend method is to cross compile using Linux since it a cleaner build that doesn't require outside dependencies.

https://github.com/mickelson/attract/blob/v2.3.0/Compile.md

I know this doesn't answer your question but can explain the lack of response. I think I've seen currently compiled Windows versions of AttractMode on Discord which might be a better option if you can't compile in Linux.

Oomek:
Two weeks ago I asked myself, is it possible to compile AM natively using the Visual Studio compiler ( not just by using VS IDE as a wrapper for make from msys) so I opened the project and started squishing those tons of errors. I gave up after 3 days.
It’s way over my single head, but what If I posted it on github so anyone can contribute? Maybe it’s doable?

qqplayer:

--- Quote from: progets on June 06, 2018, 10:13:28 PM ---Compiling AttractMode on Windows requires the use of many .dll files once complete. Because of this I don't think many people do it. The recommend method is to cross compile using Linux since it a cleaner build that doesn't require outside dependencies.

https://github.com/mickelson/attract/blob/v2.3.0/Compile.md

I know this doesn't answer your question but can explain the lack of response. I think I've seen currently compiled Windows versions of AttractMode on Discord which might be a better option if you can't compile in Linux.

--- End quote ---



So... any step by step "for dummies" on linux?
I mean I´ve tried cross-compile too but set an mxe enviroment is not like "sudo apt-get install..."

http://forum.attractmode.org/index.php?topic=1061.msg7821#msg7821

Navigation

[0] Message Index

[#] Next page

Go to full version