egidijus / blender-compile

(NOT MAINTIANED) docker environment for compiling blender 2.8
14 stars 3 forks source link

What is broken? #3

Open eric-burel opened 4 years ago

eric-burel commented 4 years ago

Hi,

I currently struggle to build Blender Python on Linux.

In the readme you seem to say that this package is broken, could you please elaborate? Is the dependency install working?

Related: https://github.com/TylerGubala/blenderpy/issues/1

eric-burel commented 4 years ago

Currently I got this during dep install:

tree/RootNode.h:23:10: fatal error: tbb/parallel_for.h: No such file or directory
 #include <tbb/parallel_for.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:766: recipe for target 'io/GridDescriptor.o' failed
make: *** [io/GridDescriptor.o] Error 1
Makefile:766: recipe for target 'Grid.o' failed
make: *** [Grid.o] Error 1
...
ERROR! OpenVDB-7.0.0 failed to compile, exiting

Fixed by installing lbtbb-dev.

Now I get:

CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
  CMake 3.12 or higher is required.  You are running version 3.10.2

CMake is nuts to install on Ubuntu for higher versions...

selecsosi commented 3 years ago

Currently I got this during dep install:

tree/RootNode.h:23:10: fatal error: tbb/parallel_for.h: No such file or directory
 #include <tbb/parallel_for.h>
          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Makefile:766: recipe for target 'io/GridDescriptor.o' failed
make: *** [io/GridDescriptor.o] Error 1
Makefile:766: recipe for target 'Grid.o' failed
make: *** [Grid.o] Error 1
...
ERROR! OpenVDB-7.0.0 failed to compile, exiting

Fixed by installing lbtbb-dev.

Now I get:

CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
  CMake 3.12 or higher is required.  You are running version 3.10.2

CMake is nuts to install on Ubuntu for higher versions...

Your solution fixed my issue, for cmake, my solution in docker:

RUN wget https://github.com/Kitware/CMake/releases/download/v3.16.5/cmake-3.16.5.tar.gz && \
  tar -zxvf cmake-3.16.5.tar.gz && \
  cd cmake-3.16.5 && \
  ./bootstrap && \
  make && \
  sudo make install
egidijus commented 2 years ago

I know it's been a while, thank you for caring !