0

I am just using ubuntu 14.04, and i want to compile blender with Cmake, Here is the Website:http://wiki.blender.org/index.php/Dev:Doc/Building_Blender/Linux/Ubuntu/CMake When i already in the Cmake application, i configure it then it wont work. i already have everything, Can you explained to me.

Varel
  • 33
  • which version of blender? is there a reason for not using the one included: aka using sudo apt-get install blender – Mateo Nov 08 '14 at 03:44
  • Please be more specific than "it won't work". Add error messages or more specifics to the question. – TheSchwa Nov 08 '14 at 05:19
  • but Mateo, using sudo apt-get install blender it's still 2.69 and i want the latest version of blender and if i download from the website it is just a file. – Varel Nov 09 '14 at 07:33
  • If you want the latest blender, you can add corresponding ppa. And install as you install any other software in ubunu

    (Whatever you download would always be a file, what did you expect?)

    – jaseem Nov 10 '14 at 12:14

2 Answers2

0

You may want to read this about alternative blender installs.

The cmake name is a bit misleading, it actually configures options and creates the makefiles. Run make install in the build directory after you have run ccmake. Once make has finished you can then start blender with ./bin/blender in the same directory.

If you are using the cmake-gui then you need to open a terminal in the Where to build binaries setting shown in the cmake-gui window.

sambler
  • 264
  • 1
  • 4
0

issue this to install upstream libraries

sudo apt-get build-dep  blender

then in the blender source directory issue

mkdir build
cd build
cmake ..  # <-- NOTE the two periods (..) which tells cmake to look in parent dir
make
make install

now you can launch

source_dir/build/bin/blender

optionally add to $PATH

export PATH=$PATH:source_dir/build/bin

then launch using

blender