Hi, 

I cannot seem to be able to build Blender with OSL. 

Attached is the error log. 

Also, for completeness, Cmake returns me this: 

../../lib/libcycles_kernel_osl.a(osl_services.cpp.o):(.data.rel.ro._ZTVN3ccl17OSLRenderServicesE[_ZTVN3ccl17OSLRenderServicesE]+0xb8):
undefined reference to
`OSL::RendererServices::pointcloud_write(OSL::ShaderGlobals*,
OpenImageIO::v1_4::ustring, Imath::Vec3<float> const&, int,
OpenImageIO::v1_4::ustring const*, OpenImageIO::v1_4::TypeDesc const*,
void const**)'
collect2: error: ld returned 1 exit status 

My Specs: 

Linux Mint 15 64bit 

GCC 4.7.2 

Thanks in advance for any help. 
 
Determining if the pthread_create exist failed with the following output:
Change Dir: /home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1516148557/fast"
make[1]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec1516148557.dir/build.make 
CMakeFiles/cmTryCompileExec1516148557.dir/build
make[2]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building C object 
CMakeFiles/cmTryCompileExec1516148557.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o 
CMakeFiles/cmTryCompileExec1516148557.dir/CheckSymbolExists.c.o   -c 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec1516148557
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec1516148557.dir/link.txt --verbose=1
/usr/bin/cc         
CMakeFiles/cmTryCompileExec1516148557.dir/CheckSymbolExists.c.o  -o 
cmTryCompileExec1516148557 -rdynamic 
CMakeFiles/cmTryCompileExec1516148557.dir/CheckSymbolExists.c.o: In function 
`main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[2]: *** [cmTryCompileExec1516148557] Error 1
make[2]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[1]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec1516148557/fast] Error 2

File 
/home/kevin/Compilations/blender-git/build_linux/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: /home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1310631033/fast"
make[1]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec1310631033.dir/build.make 
CMakeFiles/cmTryCompileExec1310631033.dir/build
make[2]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building C object 
CMakeFiles/cmTryCompileExec1310631033.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o 
CMakeFiles/cmTryCompileExec1310631033.dir/CheckFunctionExists.c.o   -c 
/usr/share/cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1310631033
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec1310631033.dir/link.txt --verbose=1
/usr/bin/cc     -DCHECK_FUNCTION_EXISTS=pthread_create    
CMakeFiles/cmTryCompileExec1310631033.dir/CheckFunctionExists.c.o  -o 
cmTryCompileExec1310631033 -rdynamic -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[2]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[2]: *** [cmTryCompileExec1310631033] Error 1
make[1]: *** [cmTryCompileExec1310631033/fast] Error 2
make[1]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'


Determining if the system is big endian passed with the following output:
Change Dir: /home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec2576463542/fast"
make[1]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec2576463542.dir/build.make 
CMakeFiles/cmTryCompileExec2576463542.dir/build
make[2]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building C object CMakeFiles/cmTryCompileExec2576463542.dir/TestEndianess.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec2576463542.dir/TestEndianess.c.o   
-c 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/TestEndianess.c
Linking C executable cmTryCompileExec2576463542
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec2576463542.dir/link.txt --verbose=1
/usr/bin/cc         CMakeFiles/cmTryCompileExec2576463542.dir/TestEndianess.c.o 
 -o cmTryCompileExec2576463542 -rdynamic 
make[2]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[1]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'

TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE 
ENDIAN."
   On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] =  {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 
0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
   On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] =     {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 
0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_little[argc];
  require += info_big[argc];
  (void)argv;
  return require;
}


Determining if the include file unordered_map exists failed with the following 
output:
Change Dir: /home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1214176012/fast"
make[1]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec1214176012.dir/build.make 
CMakeFiles/cmTryCompileExec1214176012.dir/build
make[2]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building CXX object 
CMakeFiles/cmTryCompileExec1214176012.dir/CheckIncludeFile.cxx.o
/usr/bin/c++    -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op 
-Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits 
-Wuninitialized  -Wmissing-declarations  -fopenmp  -msse2  -msse -pipe -fPIC 
-funsigned-char -fno-strict-aliasing  -Wno-deprecated-declarations 
-Wno-unused-parameter -Wno-error=unused-but-set-variable     -o 
CMakeFiles/cmTryCompileExec1214176012.dir/CheckIncludeFile.cxx.o -c 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
In file included from /usr/include/c++/4.7/unordered_map:35:0,
                 from 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file 
requires compiler and library support for the ISO C++ 2011 standard. This 
support is currently experimental, and must be enabled with the -std=c++11 or 
-std=gnu++11 compiler options.
make[2]: *** [CMakeFiles/cmTryCompileExec1214176012.dir/CheckIncludeFile.cxx.o] 
Error 1
make[2]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec1214176012/fast] Error 2
make[1]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'


Determining if the pthread_create exist failed with the following output:
Change Dir: /home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec857594472/fast"
make[1]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec857594472.dir/build.make 
CMakeFiles/cmTryCompileExec857594472.dir/build
make[2]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building C object CMakeFiles/cmTryCompileExec857594472.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o 
CMakeFiles/cmTryCompileExec857594472.dir/CheckSymbolExists.c.o   -c 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTryCompileExec857594472
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec857594472.dir/link.txt --verbose=1
/usr/bin/cc         
CMakeFiles/cmTryCompileExec857594472.dir/CheckSymbolExists.c.o  -o 
cmTryCompileExec857594472 -rdynamic 
CMakeFiles/cmTryCompileExec857594472.dir/CheckSymbolExists.c.o: In function 
`main':
CheckSymbolExists.c:(.text+0x16): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[2]: *** [cmTryCompileExec857594472] Error 1
make[2]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec857594472/fast] Error 2
make[1]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'

File 
/home/kevin/Compilations/blender-git/build_linux/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: /home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec1682870018/fast"
make[1]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec1682870018.dir/build.make 
CMakeFiles/cmTryCompileExec1682870018.dir/build
make[2]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building C object 
CMakeFiles/cmTryCompileExec1682870018.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o 
CMakeFiles/cmTryCompileExec1682870018.dir/CheckFunctionExists.c.o   -c 
/usr/share/cmake-2.8/Modules/CheckFunctionExists.c
Linking C executable cmTryCompileExec1682870018
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec1682870018.dir/link.txt --verbose=1
/usr/bin/cc     -DCHECK_FUNCTION_EXISTS=pthread_create    
CMakeFiles/cmTryCompileExec1682870018.dir/CheckFunctionExists.c.o  -o 
cmTryCompileExec1682870018 -rdynamic -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[2]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[2]: *** [cmTryCompileExec1682870018] Error 1
make[1]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec1682870018/fast] Error 2


Determining if the system is big endian passed with the following output:
Change Dir: /home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec2043310398/fast"
make[1]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec2043310398.dir/build.make 
CMakeFiles/cmTryCompileExec2043310398.dir/build
make[2]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building C object CMakeFiles/cmTryCompileExec2043310398.dir/TestEndianess.c.o
/usr/bin/cc    -o CMakeFiles/cmTryCompileExec2043310398.dir/TestEndianess.c.o   
-c 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/TestEndianess.c
Linking C executable cmTryCompileExec2043310398
/usr/bin/cmake -E cmake_link_script 
CMakeFiles/cmTryCompileExec2043310398.dir/link.txt --verbose=1
/usr/bin/cc         CMakeFiles/cmTryCompileExec2043310398.dir/TestEndianess.c.o 
 -o cmTryCompileExec2043310398 -rdynamic 
make[2]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[1]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'

TestEndianess.c:
/* A 16 bit integer is required. */
typedef unsigned short cmakeint16;

/* On a little endian machine, these 16bit ints will give "THIS IS LITTLE 
ENDIAN."
   On a big endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_little[] =  {0x4854, 0x5349, 0x4920, 0x2053, 0x494c, 
0x5454, 0x454c, 0x4520, 0x444e, 0x4149, 0x2e4e, 0x0000};

/* on a big endian machine, these 16bit ints will give "THIS IS BIG ENDIAN."
   On a little endian machine the characters will be exchanged pairwise. */
const cmakeint16 info_big[] =     {0x5448, 0x4953, 0x2049, 0x5320, 0x4249, 
0x4720, 0x454e, 0x4449, 0x414e, 0x2e2e, 0x0000};

#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
  int require = 0;
  require += info_little[argc];
  require += info_big[argc];
  (void)argv;
  return require;
}


Determining if the include file unordered_map exists failed with the following 
output:
Change Dir: /home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp

Run Build Command:/usr/bin/make "cmTryCompileExec2412673128/fast"
make[1]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/make -f CMakeFiles/cmTryCompileExec2412673128.dir/build.make 
CMakeFiles/cmTryCompileExec2412673128.dir/build
make[2]: Entering directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
/usr/bin/cmake -E cmake_progress_report 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CMakeFiles 
1
Building CXX object 
CMakeFiles/cmTryCompileExec2412673128.dir/CheckIncludeFile.cxx.o
/usr/bin/c++    -Wall -Wno-invalid-offsetof -Wno-sign-compare -Wlogical-op 
-Winit-self -Wmissing-include-dirs -Wno-div-by-zero -Wtype-limits 
-Wuninitialized  -Wmissing-declarations  -fopenmp  -msse2  -msse -pipe -fPIC 
-funsigned-char -fno-strict-aliasing  -Wno-deprecated-declarations 
-Wno-unused-parameter -Wno-error=unused-but-set-variable     -o 
CMakeFiles/cmTryCompileExec2412673128.dir/CheckIncludeFile.cxx.o -c 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx
In file included from /usr/include/c++/4.7/unordered_map:35:0,
                 from 
/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp/CheckIncludeFile.cxx:1:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file 
requires compiler and library support for the ISO C++ 2011 standard. This 
support is currently experimental, and must be enabled with the -std=c++11 or 
-std=gnu++11 compiler options.
make[2]: *** [CMakeFiles/cmTryCompileExec2412673128.dir/CheckIncludeFile.cxx.o] 
Error 1
make[2]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'
make[1]: *** [cmTryCompileExec2412673128/fast] Error 2
make[1]: Leaving directory 
`/home/kevin/Compilations/blender-git/build_linux/CMakeFiles/CMakeTmp'


_______________________________________________
Bf-committers mailing list
Bf-committers@blender.org
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to