[Bf-committers] building blender
blubee blubeeme
gurenchan at gmail.com
Sat Aug 20 19:42:06 CEST 2016
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/ 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 <pthread.h>
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?
More information about the Bf-committers
mailing list