[Bf-committers] building blender

manu at g-lul.com manu at g-lul.com
Fri Jun 9 14:26:32 CEST 2017


Hi,

It's an old post, but i'm getting the exact same error while building blender 2.78c (make full).
Is there a solution to avoid this (I've already tried to install deps from scratch and git clone from scratch too) ?

Thanks.

---
Manuel Rais
manu at g-lul.com (mailto:manu at g-lul.com)

20 août 2016 20:48 "Eugenio Pignataro"  a écrit:
 Yes... blender fails for me too.

#error This file requires compiler and library support for the ISO C++
2011 standard. This support must be enabled with the -std=c++11 or
-std=gnu++11 compiler options.
#error This file requires compiler and library support 

Maybe this error can be solved from build_deps.sh

Thanks

Untitled Document

Eugenio Pignataro
Drawing & Digital Art.
-------------------------------
Sitio: www.oscurart.com.ar
Reel: vimeo.com/92253804
Email: info at oscurart.com.ar (mailto:info at oscurart.com.ar)
Móvil: 15-5177-4936
On 20/08/16 14:42, blubee blubeeme wrote:
 I just tried to update my custom version of blender but the build is
failing with building alembic, missing boost.

I am on debian Jessie
===================

sudo apt-cache policy libboost-dev
libboost-dev:
Installed: 1.55.0.2
Candidate: 1.55.0.2
Version table:
*** 1.55.0.2 0
500 http://http.debian.net/debian (http://http.debian.net/debian) jessie/main amd64 Packages
100 /var/lib/dpkg/status

build log error
================

-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Could NOT find Boost
CMake Error at cmake/AlembicBoost.cmake:98 (MESSAGE):
Boost not found.
Call Stack (most recent call first):
CMakeLists.txt:212 (INCLUDE)

-- Configuring incomplete, errors occurred!
See also "/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeOutput.log".
See also "/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeError.log".
make: *** No rule to make target 'install'. Stop.
make: *** No rule to make target 'clean'. Stop.
ERROR! Alembic-1.6.0 failed to compile, exiting

cat /opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeError.log
Determining if the pthread_create exist failed with the following output:
Change Dir: /opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp

cmake error file
================
cat /opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeError.log
Determining if the pthread_create exist failed with the following output:
Change Dir: /opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec1945370436/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec1945370436.dir/build.make
CMakeFiles/cmTryCompileExec1945370436.dir/build
make[1]: Entering directory
'/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object
CMakeFiles/cmTryCompileExec1945370436.dir/CheckSymbolExists.c.o
/usr/bin/cc -o
CMakeFiles/cmTryCompileExec1945370436.dir/CheckSymbolExists.c.o -c
/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec1945370436
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec1945370436.dir/link.txt --verbose=1
/usr/bin/cc
CMakeFiles/cmTryCompileExec1945370436.dir/CheckSymbolExists.c.o -o
cmTryCompileExec1945370436 -rdynamic
CMakeFiles/cmTryCompileExec1945370436.dir/CheckSymbolExists.c.o: In
function `main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec1945370436.dir/build.make:88: recipe for target
'cmTryCompileExec1945370436' failed
make[1]: *** [cmTryCompileExec1945370436] Error 1
make[1]: Leaving directory
'/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec1945370436/fast' failed
make: *** [cmTryCompileExec1945370436/fast] Error 2

File
/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include 

int main(int argc, char** argv)
{
(void)argv;
#ifndef pthread_create
return ((int*)(&pthread_create))[argc];
#else
(void)argc;
return 0;
#endif
}

Determining if the function pthread_create exists in the pthreads failed
with the following output:
Change Dir: /opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTryCompileExec3949598688/fast"
/usr/bin/make -f CMakeFiles/cmTryCompileExec3949598688.dir/build.make
CMakeFiles/cmTryCompileExec3949598688.dir/build
make[1]: Entering directory
'/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report
/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object
CMakeFiles/cmTryCompileExec3949598688.dir/CheckFunctionExists.c.o
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create -o
CMakeFiles/cmTryCompileExec3949598688.dir/CheckFunctionExists.c.o -c
/usr/share/cmake-3.0/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec3949598688
/usr/bin/cmake -E cmake_link_script
CMakeFiles/cmTryCompileExec3949598688.dir/link.txt --verbose=1
/usr/bin/cc -DCHECK_FUNCTION_EXISTS=pthread_create
CMakeFiles/cmTryCompileExec3949598688.dir/CheckFunctionExists.c.o -o
cmTryCompileExec3949598688 -rdynamic -lpthreads
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
CMakeFiles/cmTryCompileExec3949598688.dir/build.make:88: recipe for target
'cmTryCompileExec3949598688' failed
make[1]: *** [cmTryCompileExec3949598688] Error 1
make[1]: Leaving directory
'/opt/blender/deps/src/alembic-1.6.0/CMakeFiles/CMakeTmp'
Makefile:118: recipe for target 'cmTryCompileExec3949598688/fast' failed
make: *** [cmTryCompileExec3949598688/fast] Error 2

Any tips to fix this build issue?
_______________________________________________
Bf-committers mailing list
Bf-committers at blender.org (mailto:Bf-committers at blender.org)
https://lists.blender.org/mailman/listinfo/bf-committers (https://lists.blender.org/mailman/listinfo/bf-committers)  

_______________________________________________
Bf-committers mailing list
Bf-committers at blender.org (mailto:Bf-committers at blender.org)
https://lists.blender.org/mailman/listinfo/bf-committers (https://lists.blender.org/mailman/listinfo/bf-committers)


More information about the Bf-committers mailing list