11-03-31 update!
VB build (compiled from revision 35920): http://dl.dropbox.com/u/19725436/vb_ins ... 035920.zip
update the script if U download after 2011-03-31!
- susbsurf now works!
- many new things!
- thanks again 4 amazing work Andrey!
----------------------------
HOW TO for B 2.57RC (for revision 35920)
A. You don't need to install/upgrade Python to 3.2 version in Mac OS - its included in "lib/darwin-9.x.universal"
B. Do the same steps 1-4 as it is described in old how-to (below)
- * U can use/copy my user-config.py file (compilation without ffmpeg, for 10.6 64bit )
C. Then run build compilation by:
python vb25-patch/build.py --update_blender --update_patch --datafiles
- this will download and/or update blender sources, "lib/darwin-9.x.universal" sources with all needed dependencies and update patch.
* You could simply run this command every time you want to update Blender
** Check help if you need to override some params:
python vb25-patch/build.py -h
D. after vb is compiled - go to:
cd <blender-install-dir>/<blender-version>MacOS/2.56/scripts/startup/vb25
git clone --depth=1 git://github.com/bdancer/vb25.git
----------------------------
compiled 2011-03-02,
from blender svn 35311 revision
10.6.6, osx 64bit,
build download: http://dl.dropbox.com/u/19725436/vb_instalki/35311.zip
build details:
- VFB doesnt stops when hitting ESC, cant move VFB window (v-ray bug)
- no FFMPEG
- subsurf crushes mesh export
- UV maping works but can be sometimes broken (blender bug) http://projects.blender.org/tracker/?fu ... group_id=9
- compiled with custom user-config.py file http://dl.dropbox.com/u/19725436/vb_ins ... -config.py
--------------------------
OLD (before svn 35311) HOW TO" on osx (if U need to compile from older revision):
1. Make directory and download fe. blender svn 34764 by:
on mac:
svn co https://svn.blender.org/svnroot/bf-blen ... nk/blender --revision 34764
IMPORTANT: do everything in fe. user folder - where U own rights to write files without "sudo" command! otherwise terminal will ask U about server username and password for checkout
2. create lib folder and download libraries for my osx version by:
(fe. I choose: PowerPC, Intel 32bit & 64bit 10.5 and later libs path from here: http://wiki.blender.org/index.php/Dev:2 ... lender/Mac)
mkdir lib
cd lib
svn checkout https://svn.blender.org/svnroot/bf-blen ... .universal
3. I have this folders structure:
blender-build
* blender
* lib (containing the correct version of darwin-X.X.XXXX)
4. then in blender-build copy vb-patch:
git clone git://github.com/bdancer/vb25-patch.git
5.then:
cd blender
Apply patchset:
patch -Np0 -i ../vb25-patch/vb25.patch
6. if U get this error:
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to source/blender/editors/space_api/SConscript.rej
go to: source/blender/editors/space_api/SConscript
and paste:
incs += ' ../../exporter'
so file "SConscript" will look like this:
#!/usr/bin/python
Import ('env')
sources = env.Glob('*.c')
incs = '../include ../../blenlib ../../blenkernel ../../makesdna'
incs += ' ../../windowmanager ../../python ../../makesrna'
incs += ' #/intern/guardedalloc #/extern/glew/include'
incs += ' ../../exporter'
defs = ''
env.BlenderLib ( 'bf_editors_space_api', sources, Split(incs), Split(defs), libtype=['core'], priority=[30] )
7. Copy exporter to source/blender/
cp -Rf ../vb25-patch/exporter source/blender/
If you want project’s great splash image do this:
cp -f ../vb25-patch/splash.png.c source/blender/editors/datafiles
8. Copy to blender folder my own user-config.py (my config is for osx 10.6 64bit without FFMPEG etc)
http://dl.dropbox.com/u/19725436/vb_ins ... -config.py
9. sudo python scons/scons.py
10. after vb is builded:
cd <blender-install-dir>/<blender-version>/scripts/io/
git clone --depth=1 git://github.com/bdancer/vb25.git
-----------------------------------------------
thanks to Cory & bdancer help
VB build (compiled from revision 35920): http://dl.dropbox.com/u/19725436/vb_ins ... 035920.zip
update the script if U download after 2011-03-31!
- susbsurf now works!
- many new things!
- thanks again 4 amazing work Andrey!
----------------------------
HOW TO for B 2.57RC (for revision 35920)
A. You don't need to install/upgrade Python to 3.2 version in Mac OS - its included in "lib/darwin-9.x.universal"
B. Do the same steps 1-4 as it is described in old how-to (below)
- * U can use/copy my user-config.py file (compilation without ffmpeg, for 10.6 64bit )
C. Then run build compilation by:
python vb25-patch/build.py --update_blender --update_patch --datafiles
- this will download and/or update blender sources, "lib/darwin-9.x.universal" sources with all needed dependencies and update patch.
* You could simply run this command every time you want to update Blender
** Check help if you need to override some params:
python vb25-patch/build.py -h
D. after vb is compiled - go to:
cd <blender-install-dir>/<blender-version>MacOS/2.56/scripts/startup/vb25
git clone --depth=1 git://github.com/bdancer/vb25.git
----------------------------
compiled 2011-03-02,
from blender svn 35311 revision
10.6.6, osx 64bit,
build download: http://dl.dropbox.com/u/19725436/vb_instalki/35311.zip
build details:
- VFB doesnt stops when hitting ESC, cant move VFB window (v-ray bug)
- no FFMPEG
- subsurf crushes mesh export
- UV maping works but can be sometimes broken (blender bug) http://projects.blender.org/tracker/?fu ... group_id=9
- compiled with custom user-config.py file http://dl.dropbox.com/u/19725436/vb_ins ... -config.py
--------------------------
OLD (before svn 35311) HOW TO" on osx (if U need to compile from older revision):
1. Make directory and download fe. blender svn 34764 by:
on mac:
svn co https://svn.blender.org/svnroot/bf-blen ... nk/blender --revision 34764
IMPORTANT: do everything in fe. user folder - where U own rights to write files without "sudo" command! otherwise terminal will ask U about server username and password for checkout
2. create lib folder and download libraries for my osx version by:
(fe. I choose: PowerPC, Intel 32bit & 64bit 10.5 and later libs path from here: http://wiki.blender.org/index.php/Dev:2 ... lender/Mac)
mkdir lib
cd lib
svn checkout https://svn.blender.org/svnroot/bf-blen ... .universal
3. I have this folders structure:
blender-build
* blender
* lib (containing the correct version of darwin-X.X.XXXX)
4. then in blender-build copy vb-patch:
git clone git://github.com/bdancer/vb25-patch.git
5.then:
cd blender
Apply patchset:
patch -Np0 -i ../vb25-patch/vb25.patch
6. if U get this error:
Hunk #1 FAILED at 4.
1 out of 1 hunk FAILED -- saving rejects to source/blender/editors/space_api/SConscript.rej
go to: source/blender/editors/space_api/SConscript
and paste:
incs += ' ../../exporter'
so file "SConscript" will look like this:
#!/usr/bin/python
Import ('env')
sources = env.Glob('*.c')
incs = '../include ../../blenlib ../../blenkernel ../../makesdna'
incs += ' ../../windowmanager ../../python ../../makesrna'
incs += ' #/intern/guardedalloc #/extern/glew/include'
incs += ' ../../exporter'
defs = ''
env.BlenderLib ( 'bf_editors_space_api', sources, Split(incs), Split(defs), libtype=['core'], priority=[30] )
7. Copy exporter to source/blender/
cp -Rf ../vb25-patch/exporter source/blender/
If you want project’s great splash image do this:
cp -f ../vb25-patch/splash.png.c source/blender/editors/datafiles
8. Copy to blender folder my own user-config.py (my config is for osx 10.6 64bit without FFMPEG etc)
http://dl.dropbox.com/u/19725436/vb_ins ... -config.py
9. sudo python scons/scons.py
10. after vb is builded:
cd <blender-install-dir>/<blender-version>/scripts/io/
git clone --depth=1 git://github.com/bdancer/vb25.git
-----------------------------------------------
thanks to Cory & bdancer help
Comment