I try to compile renpy-deps by mingw
1: git clone https://github.com/renpy/renpy-deps
2: cd renpy-deps
3: ./build.sh
But I had the below error.
building 'pygame.imageext' extension
creating build\temp.win32-2.7
creating build\temp.win32-2.7\Release
creating build\temp.win32-2.7\Release\src
C:\MinGW\bin\gcc.exe -mno-cygwin -mdll -O -Wall -D_REENTRANT -IC:/MinGW/msys/1.0
/home/kuma/renpy-deps/install/include/SDL -IC:/MinGW/msys/1.0/home/kuma/renpy-de
ps/install/include -IC:/MinGW/msys/1.0/home/kuma/renpy-deps/install/include -IC:
/MinGW/msys/1.0/home/kuma/renpy-deps/install/include -IC:/MinGW/msys/1.0/home/ku
ma/renpy-deps/install/include -Ic:\Python27\include -Ic:\Python27\PC -c src/imag
eext.c -o build\temp.win32-2.7\Release\src\imageext.o
cc1.exe:error: unknown option '-mno-cygwin'
error: command 'gcc' failed with exit status 1
I use gcc4.62
Compile renpy-deps by MinGW
- akakyouryuu
- Regular
- Posts: 153
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Compile renpy-deps by MinGW
If it helps, I use gcc 4.7.0.
I also use the specs and crt_resource.o file found in the windows directory of renpy-deps. These files need to be placed in the c:\MingW\lib\gcc\mingw32\4.7.0 directory.
You want to run module/build_win32.sh, which runs:
python setup.py clean
python setup.py build --compiler=mingw32 install_lib -d $PYTHONPATH
The --compiler argument is important here.
I also use the specs and crt_resource.o file found in the windows directory of renpy-deps. These files need to be placed in the c:\MingW\lib\gcc\mingw32\4.7.0 directory.
You want to run module/build_win32.sh, which runs:
python setup.py clean
python setup.py build --compiler=mingw32 install_lib -d $PYTHONPATH
The --compiler argument is important here.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
- akakyouryuu
- Regular
- Posts: 153
- Joined: Fri Nov 30, 2012 10:29 am
- Contact:
Re: Compile renpy-deps by MinGW
Thank you, I completed build_win32.sh.
And how do I make renpy.exe?
And how do I make renpy.exe?
- PyTom
- Ren'Py Creator
- Posts: 15893
- Joined: Mon Feb 02, 2004 10:58 am
- Completed: Moonlight Walks
- Projects: Ren'Py
- IRC Nick: renpytom
- Github: renpytom
- itch: renpytom
- Location: Kings Park, NY
- Contact:
Re: Compile renpy-deps by MinGW
In renpy-deps, check out scripts/build_renpy_win.sh and scripts/build_finish.sh
I do ask that if you distribute a patched Ren'Py, you let people know what's going on, and that I can't give tech support for it.
I do ask that if you distribute a patched Ren'Py, you let people know what's going on, and that I can't give tech support for it.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom(When was the last time you backed up your game?)
"Silly and fun things are important." - Elon Musk
Software > Drama • https://www.patreon.com/renpytom
Who is online
Users browsing this forum: No registered users