Dev:2.4/Doc/Building Blender/Solaris

提供: wiki
移動先: 案内検索
Instructions for building Blender2.5 should be placed here

Solaris 10, i386, 64bit

For this you will need an internet connection and 64bit AMD or Intel processor running solaris.

This also works in the virtual machine VMWare.

install blastwave - ref Step 1

 pkgadd -d

Skip Step 2, install software!

 /opt/csw/bin/pkg-get -i gcc4core gcc4corert gcc4g++ gcc4g++rt subversion gmake wget

Path, add this line to your, ~/.bashrc

 PS1="\w >"
 CFLAGS="-m64 -O2 -pipe -mtune=opteron"

All commands below assume your running bash, not the default shell

make a dir for blender

 mkdir ~/B

Get blenders source

 cd ~/B
 svn co

Get the x86_64 libs, we could get all libs but better just to get what we need

 cd ~/B
 mkdir lib
 cd lib
 svn co

Build Blender

 gmake NAN_NO_OPENAL=true

The blender binary will be created in ./obj/solaris-2.11-x86_64/bin/blender


OpenGL Headers

With Solaris 10 glu.h is in


But blender expects it to be in


quick workaround is to do a symlink the headers, there is overlap

 ln -s /usr/X11/include/mesa/*.h /usr/X11/include/GL/

Alternately you can edit blenders source and point to /usr/X11/include/mesa