File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3737 git
3838 make
3939 pkgconf
40- mingw-w64-x86_64-pkgconf
4140 mingw-w64-x86_64-gcc
4241 mingw-w64-x86_64-tools
4342 - name : Install Dependencies
5857 run : |
5958 export PATH="/usr/bin:/mingw64/bin:/c/FPC/3.2.2/bin:/c/FPC/3.2.2/bin/i386-win32:$PATH"
6059 export MAKE="/usr/bin/make"
61- export PKG_CONFIG="/mingw64/bin/pkg-config"
62- export PKG_CONFIG_PATH="/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig"
6360 export FPCCFG="/c/FPC/3.2.2/bin/i386-win32/fpc.cfg"
6461 export FPCDIR="/c/FPC/3.2.2"
65- export PPC="ppcrossx64"
6662 export FPCMAKE="/c/FPC/3.2.2/bin/i386-win32/fpcmake"
6763 ./autogen.sh
6864 ./configure
Original file line number Diff line number Diff line change @@ -43,13 +43,11 @@ Optional libraries:
4343
4444#### Windows using MSYS2
4545- Install [ MSYS2] ( https://www.msys2.org )
46- - Install [ FPC] ( https://www.freepascal.org ) . Use the Win32 cross-to-Win64 installer so you get ` ppcrossx64 ` and the Win64 RTL units.
47- - ` pacman -S autoconf-wrapper automake-wrapper gcc git make mingw-w64-x86_64-SDL2 mingw-w64-x86_64-SDL2_image mingw-w64-x86_64-ffmpeg mingw-w64-x86_64-lua mingw-w64-x86_64-pkgconf pkgconf `
46+ - Install [ FPC] ( https://www.freepascal.org ) . Use the Win32 cross-to-Win64 installer so you get the Win64 RTL units.
47+ - ` pacman -S autoconf-wrapper automake-wrapper git make mingw-w64-x86_64-gcc mingw-w64-x86_64-tools `
4848- Add some information to ` .bash_profile ` :
4949 * Path to the cross compiler: ` PATH="${PATH}:/c/FPC/3.2.2/bin/i386-win32" `
5050 * FPC config and base: ` FPCCFG="/c/FPC/3.2.2/bin/i386-win32/fpc.cfg" ` and ` FPCDIR="/c/FPC/3.2.2" `
51- * mingw64 pkg-config path: ` PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig" `
52- * (Optional) pin the compiler: ` PPC="ppcrossx64" `
5351
5452### Compile and run
5553- ` git clone https://github.com/UltraStar-Deluxe/USDX `
Original file line number Diff line number Diff line change 11USDXResCompiler.exe UltraStar.rc
22
3- C:\lazarus\fpc\2.0.4\bin\i386-win32\ppcx64 .exe -S2cgi -OG1 -gl -vewnhi -l -Filib\JEDI-SDLv1.0\SDL\Pas\ -Fuc:\lazarus\components\jpeg\lib\i386-win32\ -Fuc:\lazarus\components\images\lib\i386-win32\ -Fuc:\lazarus\lcl\units\i386-win32\ -Fuc:\lazarus\lcl\units\i386-win32\win32\ -Fuc:\lazarus\packager\units\i386-win32\ -Fu. -oUltraStar.exe -dLCL -dLCLwin32 UltraStar.lpr
3+ C:\lazarus\fpc\2.0.4\bin\i386-win32\ppc386 .exe -S2cgi -OG1 -gl -vewnhi -l -Filib\JEDI-SDLv1.0\SDL\Pas\ -Fuc:\lazarus\components\jpeg\lib\i386-win32\ -Fuc:\lazarus\components\images\lib\i386-win32\ -Fuc:\lazarus\lcl\units\i386-win32\ -Fuc:\lazarus\lcl\units\i386-win32\win32\ -Fuc:\lazarus\packager\units\i386-win32\ -Fu. -oUltraStar.exe -dLCL -dLCLwin32 UltraStar.lpr
You can’t perform that action at this time.
0 commit comments