[tuhopuu-cvs] CVS commit: blender free_windows-env.sh Makefile blender/dlltool ntdll.def python.def blender/intern/ghost GHOST_Types.h blender/intern/ghost/intern GHOST_C-api.cpp GHOST_DisplayManagerWin32.cpp GHOST_SystemWin32.cpp blender/intern/keymaker Makefile keyloader.c ...
Chris Want
cwant at ualberta.ca
Sun Apr 13 05:32:15 CEST 2003
hos (Chris Want) 2003/04/13 05:32:15 CEST
Modified files:
. Makefile
blender/intern/ghost GHOST_Types.h
blender/intern/ghost/intern GHOST_C-api.cpp
GHOST_DisplayManagerWin32.cpp
GHOST_SystemWin32.cpp
blender/intern/keymaker Makefile keyloader.c
blender/intern/python/freeze makemakefile.py
blender/source Makefile nan_compile.mk nan_link.mk
blender/source/blender/blenlib BLI_storage_types.h
BLI_winstuff.h
blender/source/blender/blenlib/intern rand.c winstuff.c
blender/source/blender/blenloader/intern genfile.c readfile.c
writefile.c
blender/source/blender/decrypt BLO_en_de_cryptHeader.h
blender/source/blender/encrypt/intern BLO_encrypt.c
blender/source/blender/imbuf/intern IMB_anim.h anim.c
blender/source/blender/makesdna DNA_sdna_types.h
blender/source/blender/makesdna/intern Makefile
blender/source/blender/readstreamglue BLO_sys_types.h
blender/source/blender/render/intern/source initrender.c
blender/source/blender/src writeavicodec.c
blender/source/blender/verify BLO_sign_verify_Header.h
blender/source/creator creator.c
blender/source/gameengine Makefile
blender/source/gameengine/BlenderRoutines
KX_BlenderInputDevice.h
blender/source/gameengine/SoundSystem Makefile
SND_DependKludge.h
blender/source/tools/guess guessconfig
Added files:
. free_windows-env.sh
blender/dlltool ntdll.def python.def
Log:
A cygwin based build for windows using only free tools that
produces a binary that does not rely on cygwin
The instructions are:
1. Download cygwin (www.cygwin.com) and use the setup program
to install packages for gcc, gcc-mingw, w32api, make, cvs,
and probably others (sorry for bring vague, but I can't
remember everything I installed). All of the following
commands will be entered at the cygwin prompt so launch
cygwin now.
2. Create a directory to put your sources and then enter that
directory, e.g.:
mkdir tuhopuu
cd tuhpuu
3. checkout the tuhopuu tree using cvs (use password anonymous):
cvs -d:pserver:anonymous at cvs.blender.org:/cvsroot/tuhopuu login
cvs -z3 -d:pserver:anonymous at cvs.blender.org:/cvsroot/tuhopuu \
co blender
4. checkout the lib/windows module from bf-blender using cvs
(use password anonymous):
cvs -d:pserver:anonymous at cvs.blender.org:/cvsroot/bf-blender login
cvs -z3 -d:pserver:anonymous at cvs.blender.org:/cvsroot/bf-blender \
co lib/windows
5. put the newly created lib directory into the newly created blender
directory and enter the blender directory:
mv lib blender
cd blender
6. to prepare the build system to use only free tools we must
set some environment variables. This is done by issuing the
command:
source free_windows-env.sh
7. The final step, time to build... issue the command:
make
Some final notes:
- The build will take a long time, even on a fast machine
(a clean build takes almost an hour on my Athlon 1800+
based laptop).
- If the build is successful you will find it has created
the program obj/windows/debug/blenderdynamic.exe
- Sound is disabled
- If you want to clean your sources issue a 'make clean'
in the top blender directory. You will need to get a
new copy of the lib/windows module from the bf-blender
tree (see earlier step 4).
- If you want to update your sources when somebody has
added a new awesome feature, you will want to go to the
topmost blender directory and issue the following command:
cvs -z3 update -P -d
It would probably be best to clean your sources before
re-building (see previous note).
- the debug binary is much larger than a regular binary.
If you would like to build the regular binary, add this
line to free_windows-env.sh:
export ALL_DEPENDS="guessconf libdir frozen interndir app"
Clean your sources and the follow steps 6 & 7. With this
method the binary created is obj/windows/blenderdynamic.exe
- if you have problems, come by #blendersauce on irc.freenode.net
or post questions to the "Compiling, Libraries, Modules" forum
at www.blender.org. The most common fix to a problem will
probably involve installing an additional cygwin package,
so keep the cygwin setup program close by ...
- this is a work in progress, so some things may not be working
right or it may not support some of the cutting edge features.
Please let me know what is working and what isn't.
- ultimately I would like to offload the maintainence of this
build method to folks that will actually be using it (I do
my development on linux).
Revision Changes Path
1.25 +17 -1 blender/Makefile
1.5 +2 -2 blender/intern/ghost/GHOST_Types.h
1.2 +3 -3 blender/intern/ghost/intern/GHOST_C-api.cpp
1.3 +3 -3 blender/intern/ghost/intern/GHOST_DisplayManagerWin32.cpp
1.5 +6 -4 blender/intern/ghost/intern/GHOST_SystemWin32.cpp
1.4 +9 -3 blender/intern/keymaker/Makefile
1.2 +6 -2 blender/intern/keymaker/keyloader.c
1.4 +6 -2 blender/intern/python/freeze/makemakefile.py
1.20 +35 -10 blender/source/Makefile
1.7 +44 -23 blender/source/nan_compile.mk
1.13 +23 -16 blender/source/nan_link.mk
1.2 +2 -2 blender/source/blender/blenlib/BLI_storage_types.h
1.3 +7 -1 blender/source/blender/blenlib/BLI_winstuff.h
1.2 +2 -2 blender/source/blender/blenlib/intern/rand.c
1.2 +3 -1 blender/source/blender/blenlib/intern/winstuff.c
1.2 +4 -1 blender/source/blender/blenloader/intern/genfile.c
1.8 +5 -4 blender/source/blender/blenloader/intern/readfile.c
1.7 +4 -4 blender/source/blender/blenloader/intern/writefile.c
1.2 +5 -1 blender/source/blender/decrypt/BLO_en_de_cryptHeader.h
1.2 +3 -1 blender/source/blender/encrypt/intern/BLO_encrypt.c
1.6 +5 -2 blender/source/blender/imbuf/intern/IMB_anim.h
1.11 +8 -5 blender/source/blender/imbuf/intern/anim.c
1.2 +2 -2 blender/source/blender/makesdna/DNA_sdna_types.h
1.2 +9 -5 blender/source/blender/makesdna/intern/Makefile
1.2 +7 -2 blender/source/blender/readstreamglue/BLO_sys_types.h
1.5 +4 -4 blender/source/blender/render/intern/source/initrender.c
1.4 +2 -2 blender/source/blender/src/writeavicodec.c
1.2 +4 -1 blender/source/blender/verify/BLO_sign_verify_Header.h
1.14 +5 -1 blender/source/creator/creator.c
1.2 +5 -3 blender/source/gameengine/Makefile
1.2 +8 -2 blender/source/gameengine/BlenderRoutines/KX_BlenderInputDevice.h
1.4 +3 -2 blender/source/gameengine/SoundSystem/Makefile
1.5 +2 -2 blender/source/gameengine/SoundSystem/SND_DependKludge.h
1.3 +8 -1 blender/source/tools/guess/guessconfig
More information about the tuhopuu-cvs
mailing list