[Bf-committers] building 10.3
Kent Mein
bf-committers@blender.org
Wed, 26 Nov 2003 09:40:38 -0600
In reply to milk (trip@spymac.com):
>
> I still wait for some nice kind soul to tell me what I am doing wrong
> for building 10.3 blender.
> Till then he is my blog terminal report
>
It can't find SDL. (If you look at your output its saying it can't find
SDL.h.
I used the following script to build on my system...
(Note the SDL settings, you also need to make sure you have SDL installed via fink.)
I've also included a diff below the script I had to apply.
#!/bin/bash
rm -f /tmp/.nanguess
export NANBLENDERHOME=`pwd`
export MAKEFLAGS="-w -I $NANBLENDERHOME/source --no-print-directory"
#export HMAKE="$NANBLENDERHOME/source/tools/hmake/hmake"
export HMAKE=make
echo
echo NANBLENDERHOME : ${NANBLENDERHOME}
export NAN_PYTHON=/sw
export NAN_SDL=`sdl-config --prefix`
export NAN_SDLLIBS=`sdl-config --libs`
export NAN_SDLCFLAGS=`sdl-config --cflags`
export NAN_FTGL=/Users/mein/develop/FTGL
export NAN_ODE=/Users/mein/develop/blender/extern/ode/dist
export NAN_GETTEXT=/sw
export WITH_QUICKTIME=true
$HMAKE -C intern/
if [ $? -eq 0 ]; then
$HMAKE -C source/
fi
$HMAKE -C release
Finally, I had to make the following change to source/nan_link.mk
Index: source/nan_link.mk
===================================================================
RCS file: /cvsroot/bf-blender/blender/source/nan_link.mk,v
retrieving revision 1.19
diff -u -r1.19 nan_link.mk
--- source/nan_link.mk 4 Aug 2003 03:26:07 -0000 1.19
+++ source/nan_link.mk 26 Nov 2003 15:43:40 -0000
@@ -58,7 +58,7 @@
ifeq ($(OS),darwin)
LLIBS += -lGLU -lGL
LLIBS += -lz -framework Carbon -framework AGL
- LLIBS += -framework QuickTime
+ LLIBS += -framework QuickTime -liconv
LDFLAGS += -L/System/Library/Frameworks/OpenGL.framework/Libraries
DBG_LDFLAGS += -L/System/Library/Frameworks/OpenGL.framework/Libraries
endif
Kent
--
mein@cs.umn.edu
http://www.cs.umn.edu/~mein