Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: iOtero on June 03, 2018, 04:09:53 AM
-
I have followed these steps of compile.md without error messages:
Install MSYS2 https://msys2.github.io/
In the MSYS2 console:
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
And when I run make, it gives me these errors (my system is Spanish):
$ 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
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.
-
Nobody can help me? :'(
-
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 (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.
-
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?
-
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 (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.
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
-
What Mickelson could do - or another person who knows, can and wants to do it - is to make a "nightly" version and upload it to the server. That has not had any version for a long time.
More than anything because having the "per_playlist" option is very important. And to know when the next version of attract-mode will be available...
Sorry for my very bad english. :-[
-
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?
I don't think it could be done easily, i also spent couple days in attempt to compile "natively" with only one result a massive headache and i gave up at the end
-
I haven't compiled on Windows for over a year. I don't remember it being that difficult. I do remember that you had to deal with dozens of .dll files which I didn't like. You had two choices, copy all of the .dll files to the AttractMode directory or set a "path" in the OS to point to all of the .dll files.
Are you guys taking these .dll files into account? A Windows compiled build will not work without them.
-
I’m pretty sure you are refering to building with mingw. I’m talking about native VS compiler.
-
I’m pretty sure you are refering to building with mingw. I’m talking about native VS compiler.
Yes, that's correct but it's what is mentioned in the original post.
-
I’m pretty sure you are refering to building with mingw. I’m talking about native VS compiler.
Yes, that's correct but it's what is mentioned in the original post.
Well, that's embarrassing , I indeed forgot what the first post was about :)
-
Daily compile.
See here.
http://forum.attractmode.org/index.php?topic=2324.0 (http://forum.attractmode.org/index.php?topic=2324.0)
-
Daily compile.
See here.
http://forum.attractmode.org/index.php?topic=2324.0 (http://forum.attractmode.org/index.php?topic=2324.0)
Thank you very much!