Linux Compiling LuxCore

Use this forum for general user support and related questions.
User avatar
Dade
Developer
Posts: 3935
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Linux Compiling LuxCore

Post by Dade » Mon Feb 10, 2020 11:21 pm

Have you done a "git clone" of LuxCore repository as explained in the README file ? You should do a git clone on a "LuxCore-opencl" directory.

I have the feeling your "opencl" (wrong name) is just empty :?:
Support LuxCoreRender project with salts and bounties

Fox
Posts: 404
Joined: Sat Mar 31, 2018 11:17 am

Re: Linux Compiling LuxCore

Post by Fox » Mon Feb 10, 2020 11:51 pm

Dade wrote:
Mon Feb 10, 2020 11:21 pm
Have you done a "git clone" of LuxCore repository as explained in the README file ? You should do a git clone on a "LuxCore-opencl" directory.

I have the feeling your "opencl" (wrong name) is just empty :?:
This part is not mentioned in readme. Readme tells to create empty folder named opencl.
This is what i cloned:

Code: Select all

# Download Static compilation scripts
git clone https://github.com/LuxCoreRender/LinuxCompile.git
cd LinuxCompile

# Download LuxCore sources
git clone https://github.com/LuxCoreRender/LuxCore.git

# Start build script, pass the path to the LuxCore sources as first argument
# This will take a very long time on the first run because it needs to compile all dependencies
./build-64-sse2 LuxCore
I will do the LuxCore-opencl clone.
u3dreal wrote:
Mon Feb 10, 2020 10:58 pm
Why do you bother to compile it when there is a nightly build almost every day ?
I have soo much free time, plus linux is not that far away from windows in user friendliness or speed, like it used to be or was on very old hardware (duron 800Mhz, GeForce2 MX 32MB).

User avatar
Dade
Developer
Posts: 3935
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Linux Compiling LuxCore

Post by Dade » Tue Feb 11, 2020 12:39 am

Fox wrote:
Mon Feb 10, 2020 11:51 pm
This part is not mentioned in readme. Readme tells to create empty folder named opencl.
Nope, from the README:
1. Unpack LuxCoreRender sources into the subdirectory below 'root' directory
(where scripts are located). The subdir with Lux sources may have
any name, however if it contains 'opencl' then OpenCL-enabled
version is compiled (disabled otherwise);
if it contains 'dll' then the DLL
version of LuxCore library is compiled; if it contains 'sdk' then the SDK
version of LuxCore library is compiled; if it contains 'pyluxcore' then
only pyluxcore target will be compiled;
Support LuxCoreRender project with salts and bounties

Fox
Posts: 404
Joined: Sat Mar 31, 2018 11:17 am

Re: Linux Compiling LuxCore

Post by Fox » Tue Feb 11, 2020 1:52 am

Dade wrote:
Tue Feb 11, 2020 12:39 am
1. Unpack LuxCoreRender sources into the subdirectory below 'root' directory
(where scripts are located). The subdir with Lux sources may have
any name, however if it contains 'opencl' then OpenCL-enabled
version is compiled (disabled otherwise);
if it contains 'dll' then the DLL
version of LuxCore library is compiled; if it contains 'sdk' then the SDK
version of LuxCore library is compiled; if it contains 'pyluxcore' then
only pyluxcore target will be compiled;
Yes it's the same one that i studied hard:
But to be clear, i need to build luxcore ui standalone opencl.
Am i missing something from below?
yg9a0vmqz012.jpg

User avatar
Dade
Developer
Posts: 3935
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Linux Compiling LuxCore

Post by Dade » Tue Feb 11, 2020 9:00 am

You need the name the the cloned LuxCore repository "LuxCore-opencl" (not "LuxCore") otherwise it will be built without OpenCL support.
Support LuxCoreRender project with salts and bounties

Fox
Posts: 404
Joined: Sat Mar 31, 2018 11:17 am

Re: Linux Compiling LuxCore

Post by Fox » Tue Feb 11, 2020 7:16 pm

This is what i'm doing now:

Code: Select all

git clone https://github.com/LuxCoreRender/LinuxCompile.git
cd LinuxCompile
git clone https://github.com/LuxCoreRender/LuxCore.git LuxCore-opencl
./build-64-sse2  LuxCore-opencl
cd LuxCore-opencl
rm CMakeCache.txt
cmake -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.7m.so -DPYTHON_INCLUDE_DIR=/usr/local/bin/python3.7m .
make -j 16
No luck so far, maybe it's python mess:

Code: Select all

/usr/bin/python3.7m
/usr/include/python3.7m/pyconfig.h
/usr/include/x86_64-linux-gnu/python3.7m/pyconfig.h
/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu/libpython3.7m.so
/usr/lib/x86_64-linux-gnu/libpython3.7m.so
/usr/local/bin/python3.7m
/usr/local/include/python3.7m/pyconfig.h

User avatar
Dade
Developer
Posts: 3935
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Linux Compiling LuxCore

Post by Dade » Tue Feb 11, 2020 8:20 pm

Fox wrote:
Tue Feb 11, 2020 7:16 pm
This is what i'm doing now:

Code: Select all

git clone https://github.com/LuxCoreRender/LinuxCompile.git
cd LinuxCompile
git clone https://github.com/LuxCoreRender/LuxCore.git LuxCore-opencl
./build-64-sse2  LuxCore-opencl
cd LuxCore-opencl
rm CMakeCache.txt
cmake -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.7m.so -DPYTHON_INCLUDE_DIR=/usr/local/bin/python3.7m .
make -j 16
And do you still get the same error ?
Support LuxCoreRender project with salts and bounties

Fox
Posts: 404
Joined: Sat Mar 31, 2018 11:17 am

Re: Linux Compiling LuxCore

Post by Fox » Tue Feb 11, 2020 8:34 pm

Dade wrote:
Tue Feb 11, 2020 8:20 pm
And do you still get the same error ?

Code: Select all

human@human:~/LinuxCompile/LuxCore-opencl$ cmake -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.7m.so -DPYTHON_INCLUDE_DIR=/usr/local/bin/python3.7m .
-- CMake version 3.13.4 detected
-- The C compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 9.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Single-config generator detected
-- Using build variant: 
-- Available custom configurations in cmake/SpecializedConfig:
--   Config_Dade
--   Config_Linux-Static
--   Config_OSX
--   Config_Windows
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
CMake Error at /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
  Could NOT find OpenImageIO (missing: OPENIMAGEIO_LIBRARY
  OPENIMAGEIO_INCLUDE_DIR)
Call Stack (most recent call first):
  /usr/share/cmake-3.13/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  cmake/Packages/FindOpenImageIO.cmake:60 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  cmake/Dependencies.cmake:31 (find_package)
  CMakeLists.txt:99 (include)


-- Configuring incomplete, errors occurred!
See also "/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeOutput.log".
See also "/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeError.log".
human@human:~/LinuxCompile/LuxCore-opencl$
Error-log

Code: Select all

Determining if the pthread_create exist failed with the following output:
Change Dir: /home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_ed0f0/fast"
/usr/bin/make -f CMakeFiles/cmTC_ed0f0.dir/build.make CMakeFiles/cmTC_ed0f0.dir/build
make[1]: Entering directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_ed0f0.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_ed0f0.dir/CheckSymbolExists.c.o   -c /home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_ed0f0
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_ed0f0.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_ed0f0.dir/CheckSymbolExists.c.o  -o cmTC_ed0f0 
/usr/bin/ld: CMakeFiles/cmTC_ed0f0.dir/CheckSymbolExists.c.o: in function `main':
CheckSymbolExists.c:(.text+0x1f): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_ed0f0.dir/build.make:87: cmTC_ed0f0] Error 1
make[1]: Leaving directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_ed0f0/fast] Error 2

File /home/human/LinuxCompile/LuxCore-opencl/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/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1cb30/fast"
/usr/bin/make -f CMakeFiles/cmTC_1cb30.dir/build.make CMakeFiles/cmTC_1cb30.dir/build
make[1]: Entering directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1cb30.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_1cb30.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_1cb30
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1cb30.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_1cb30.dir/CheckFunctionExists.c.o  -o cmTC_1cb30 -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_1cb30.dir/build.make:87: cmTC_1cb30] Error 1
make[1]: Leaving directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_1cb30/fast] Error 2


Determining if the pthread_create exist failed with the following output:
Change Dir: /home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_73087/fast"
/usr/bin/make -f CMakeFiles/cmTC_73087.dir/build.make CMakeFiles/cmTC_73087.dir/build
make[1]: Entering directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_73087.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_73087.dir/CheckSymbolExists.c.o   -c /home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_73087
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_73087.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_73087.dir/CheckSymbolExists.c.o  -o cmTC_73087 
/usr/bin/ld: CMakeFiles/cmTC_73087.dir/CheckSymbolExists.c.o: in function `main':
CheckSymbolExists.c:(.text+0x1f): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_73087.dir/build.make:87: cmTC_73087] Error 1
make[1]: Leaving directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_73087/fast] Error 2

File /home/human/LinuxCompile/LuxCore-opencl/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/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_1ffb9/fast"
/usr/bin/make -f CMakeFiles/cmTC_1ffb9.dir/build.make CMakeFiles/cmTC_1ffb9.dir/build
make[1]: Entering directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_1ffb9.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_1ffb9.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_1ffb9
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1ffb9.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_1ffb9.dir/CheckFunctionExists.c.o  -o cmTC_1ffb9 -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_1ffb9.dir/build.make:87: cmTC_1ffb9] Error 1
make[1]: Leaving directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_1ffb9/fast] Error 2


Determining if the pthread_create exist failed with the following output:
Change Dir: /home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_9b3ca/fast"
/usr/bin/make -f CMakeFiles/cmTC_9b3ca.dir/build.make CMakeFiles/cmTC_9b3ca.dir/build
make[1]: Entering directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9b3ca.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_9b3ca.dir/CheckSymbolExists.c.o   -c /home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_9b3ca
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_9b3ca.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_9b3ca.dir/CheckSymbolExists.c.o  -o cmTC_9b3ca 
/usr/bin/ld: CMakeFiles/cmTC_9b3ca.dir/CheckSymbolExists.c.o: in function `main':
CheckSymbolExists.c:(.text+0x1f): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_9b3ca.dir/build.make:87: cmTC_9b3ca] Error 1
make[1]: Leaving directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_9b3ca/fast] Error 2

File /home/human/LinuxCompile/LuxCore-opencl/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/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_fbbef/fast"
/usr/bin/make -f CMakeFiles/cmTC_fbbef.dir/build.make CMakeFiles/cmTC_fbbef.dir/build
make[1]: Entering directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_fbbef.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_fbbef.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_fbbef
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_fbbef.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_fbbef.dir/CheckFunctionExists.c.o  -o cmTC_fbbef -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_fbbef.dir/build.make:87: cmTC_fbbef] Error 1
make[1]: Leaving directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_fbbef/fast] Error 2


Determining if the pthread_create exist failed with the following output:
Change Dir: /home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_430f5/fast"
/usr/bin/make -f CMakeFiles/cmTC_430f5.dir/build.make CMakeFiles/cmTC_430f5.dir/build
make[1]: Entering directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_430f5.dir/CheckSymbolExists.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_430f5.dir/CheckSymbolExists.c.o   -c /home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp/CheckSymbolExists.c
Linking C executable cmTC_430f5
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_430f5.dir/link.txt --verbose=1
/usr/bin/cc      -rdynamic CMakeFiles/cmTC_430f5.dir/CheckSymbolExists.c.o  -o cmTC_430f5 
/usr/bin/ld: CMakeFiles/cmTC_430f5.dir/CheckSymbolExists.c.o: in function `main':
CheckSymbolExists.c:(.text+0x1f): undefined reference to `pthread_create'
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_430f5.dir/build.make:87: cmTC_430f5] Error 1
make[1]: Leaving directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_430f5/fast] Error 2

File /home/human/LinuxCompile/LuxCore-opencl/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/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make" "cmTC_04d02/fast"
/usr/bin/make -f CMakeFiles/cmTC_04d02.dir/build.make CMakeFiles/cmTC_04d02.dir/build
make[1]: Entering directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_04d02.dir/CheckFunctionExists.c.o
/usr/bin/cc   -DCHECK_FUNCTION_EXISTS=pthread_create   -o CMakeFiles/cmTC_04d02.dir/CheckFunctionExists.c.o   -c /usr/share/cmake-3.13/Modules/CheckFunctionExists.c
Linking C executable cmTC_04d02
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_04d02.dir/link.txt --verbose=1
/usr/bin/cc  -DCHECK_FUNCTION_EXISTS=pthread_create    -rdynamic CMakeFiles/cmTC_04d02.dir/CheckFunctionExists.c.o  -o cmTC_04d02 -lpthreads 
/usr/bin/ld: cannot find -lpthreads
collect2: error: ld returned 1 exit status
make[1]: *** [CMakeFiles/cmTC_04d02.dir/build.make:87: cmTC_04d02] Error 1
make[1]: Leaving directory '/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_04d02/fast] Error 2



User avatar
Dade
Developer
Posts: 3935
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Linux Compiling LuxCore

Post by Dade » Tue Feb 11, 2020 10:13 pm

That is some quite strange error, may be, there is a problem in your Linux installation.
Support LuxCoreRender project with salts and bounties

Fox
Posts: 404
Joined: Sat Mar 31, 2018 11:17 am

Re: Linux Compiling LuxCore

Post by Fox » Wed Feb 12, 2020 4:45 pm

I made progress with:

Code: Select all

CPLUS_INCLUDE_PATH=/usr/include/python3.7m/
export CPLUS_INCLUDE_PATH
./build-64-sse2  LuxCore-opencl
New error now:

Code: Select all

* TBB library and headers installed successfully
 * Configuring luxrays luxcore pyluxcore luxcoreui
-- CMake version 3.13.4 detected
-- The C compiler identification is GNU 9.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- The CXX compiler identification is GNU 9.2.1
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Single-config generator detected
-- Using build variant: 
-- Available custom configurations in cmake/SpecializedConfig:
--   Config_Dade
--   Config_Linux-Static
--   Config_OSX
--   Config_Windows
-- Using custom build config: cmake/SpecializedConfig/Config_Linux-Static.cmake
-- Using Linux static settings
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE  
-- Found OpenImageIO: /home/human/LinuxCompile/target-64-sse2/lib/libOpenImageIO.a  
-- Found OPENEXR: /home/human/LinuxCompile/target-64-sse2/lib/libIex.a;/home/human/LinuxCompile/target-64-sse2/lib/libIlmImf.a;/home/human/LinuxCompile/target-64-sse2/lib/libHalf.a;/home/human/LinuxCompile/target-64-sse2/lib/libImath.a;/home/human/LinuxCompile/target-64-sse2/lib/libIlmThread.a  
-- Found TIFF: /home/human/LinuxCompile/target-64-sse2/lib/libtiff.a (found version "4.0.3") 
-- Found JPEG: /home/human/LinuxCompile/target-64-sse2/lib/libjpeg.a (found version "62") 
-- Found ZLIB: /home/human/LinuxCompile/target-64-sse2/lib/libz.a (found version "1.2.8") 
-- Found PNG: /home/human/LinuxCompile/target-64-sse2/lib/libpng.a (found version "1.5.26") 
-- Found PythonLibs: /home/human/LinuxCompile/target-64-sse2/lib/libpython3.7.a (found suitable version "3.7.5", minimum required is "3.4") 
-- Could NOT find Boost
-- Re-trying with link static = ON
-- Could NOT find Boost
-- Found OpenGL: /usr/lib/x86_64-linux-gnu/libOpenGL.so   
-- Found OPENCL: /usr/lib/x86_64-linux-gnu/libOpenCL.so  
-- Found OpenMP_C: -fopenmp (found version "4.5") 
-- Found OpenMP_CXX: -fopenmp (found version "4.5") 
-- Found OpenMP: TRUE (found version "4.5")  
-- OpenMP found - compiling with
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.12
-- Found BISON: /usr/bin/bison (found version "3.4.1") 
-- Found FLEX: /usr/bin/flex (found version "2.6.4") 
CMake Error at CMakeLists.txt:102 (MESSAGE):
  --> Could not locate required Boost files - Please check


-- Configuring incomplete, errors occurred!
See also "/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeOutput.log".
See also "/home/human/LinuxCompile/LuxCore-opencl/CMakeFiles/CMakeError.log".
 !!! luxrays luxcore pyluxcore luxcoreui configuration failed
human@human:~/LinuxCompile$ 
----------
EDIT
Seems to be same gcc pthread error, but deps are all built other than numpy.

Post Reply