You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows (cross-compile):
The recommended way to build Windows binaries for Attract-Mode is to cross compile on an OS that supports MXE (http://mxe.cc) such as Linux, FreeBSD or OS X.
make ffmpeg sfml libarchive
the above command will make 32-bit versions of ffmpeg and sfml (and anything else that they depend on). To make the 64-bit version use the following:
make MXE_TARGETS='x86_64-w64-mingw32.static' ffmpeg sfml
Extract the Attract-Mode source to your system.
From the directory you extracted the source into, run the following:
make -j 3 CROSS=1 TOOLCHAIN=i686-w64-mingw32.static WINDOWS_STATIC=1
to build the 32-bit version of Attract-Mode. To build 64-bit, run:
make -j 3 CROSS=1 TOOLCHAIN=x86_64-w64-mingw32.static WINDOWS_STATIC=1
This step will create the "attract.exe" executable file.
Copy the contents of the config directory from the Attract-Mode source directory and the executable you just built into the same directory on your Windows-based system, and you should be ready to go!
Should be..
Windows (cross-compile):
The recommended way to build Windows binaries for Attract-Mode is to cross compile on an OS that supports MXE (http://mxe.cc) such as Linux, FreeBSD or OS X.
Make mxe's sfml, ffmpeg libarchive and curl packages:
make ffmpeg sfml libarchive curl
the above command will make 32-bit versions of ffmpeg,sfml,libarchive and curl (and anything else that they depend on). To make the 64-bit version use the following:
make MXE_TARGETS='x86_64-w64-mingw32.static' ffmpeg sfml libarchive curl
Extract the Attract-Mode source to your system.
From the directory you extracted the source into, run the following:
make -j 3 CROSS=1 TOOLCHAIN=i686-w64-mingw32.static WINDOWS_STATIC=1 USE_LIBCURL=1
to build the 32-bit version of Attract-Mode. To build 64-bit, run:
make -j 3 CROSS=1 TOOLCHAIN=x86_64-w64-mingw32.static WINDOWS_STATIC=1 USE_LIBCURL=1
This step will create the "attract.exe" executable file.
Copy the contents of the config directory from the Attract-Mode source directory and the executable you just built into the same directory on your Windows-based system, and you should be ready to go!
The text was updated successfully, but these errors were encountered:
The page at http://attractmode.org/docs/Compile.html doesn't include the curl dependency for windows cross compiling.
Original
Follow the steps in the mxe tutorial to set up mxe on your system: http://mxe.cc/#tutorial
Make mxe's sfml, ffmpeg and libarchive packages:
make ffmpeg sfml libarchive
the above command will make 32-bit versions of ffmpeg and sfml (and anything else that they depend on). To make the 64-bit version use the following:
make MXE_TARGETS='x86_64-w64-mingw32.static' ffmpeg sfml
Extract the Attract-Mode source to your system.
From the directory you extracted the source into, run the following:
make -j 3 CROSS=1 TOOLCHAIN=i686-w64-mingw32.static WINDOWS_STATIC=1
to build the 32-bit version of Attract-Mode. To build 64-bit, run:
make -j 3 CROSS=1 TOOLCHAIN=x86_64-w64-mingw32.static WINDOWS_STATIC=1
This step will create the "attract.exe" executable file.
Copy the contents of the config directory from the Attract-Mode source directory and the executable you just built into the same directory on your Windows-based system, and you should be ready to go!
Should be..
Follow the steps in the mxe tutorial to set up mxe on your system: http://mxe.cc/#tutorial
Make mxe's sfml, ffmpeg libarchive and curl packages:
make ffmpeg sfml libarchive curl
the above command will make 32-bit versions of ffmpeg,sfml,libarchive and curl (and anything else that they depend on). To make the 64-bit version use the following:
make MXE_TARGETS='x86_64-w64-mingw32.static' ffmpeg sfml libarchive curl
Extract the Attract-Mode source to your system.
From the directory you extracted the source into, run the following:
make -j 3 CROSS=1 TOOLCHAIN=i686-w64-mingw32.static WINDOWS_STATIC=1 USE_LIBCURL=1
to build the 32-bit version of Attract-Mode. To build 64-bit, run:
make -j 3 CROSS=1 TOOLCHAIN=x86_64-w64-mingw32.static WINDOWS_STATIC=1 USE_LIBCURL=1
This step will create the "attract.exe" executable file.
Copy the contents of the config directory from the Attract-Mode source directory and the executable you just built into the same directory on your Windows-based system, and you should be ready to go!
The text was updated successfully, but these errors were encountered: