Page 1 of 1

Could not locate required Boost files

Posted: Thu Apr 04, 2019 4:35 pm
by motaman
I'm trying to build LuxCore API SDK release v2.1 in windows with openCL support.

First cmake couldn't find openCL , i solved that with intel SDK for openCL , then i tried to configure again and now cmake can't find the required Boost files

Code: Select all

CMAKE VERSION DETECTED 3.13.4
The C compiler identification is GNU 6.3.0
The CXX compiler identification is GNU 6.3.0
Check for working C compiler: C:/MinGW/bin/gcc.exe
Check for working C compiler: C:/MinGW/bin/gcc.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Detecting C compile features
Detecting C compile features - done
Check for working CXX compiler: C:/MinGW/bin/g++.exe
Check for working CXX compiler: C:/MinGW/bin/g++.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Building mode: Release
Found OPENCL: C:/Windows/System32/OpenCL.dll  
Found OpenGL: opengl32   
Looking for pthread.h
Looking for pthread.h - not found
Found Threads: TRUE  
Could NOT find Boost
Could NOT find Boost
CMake Error at CMakeLists.txt:137 (MESSAGE):
  --> Could not locate required Boost files - Please check


Configuring incomplete, errors occurred!
See also "C:/Users/Daniel/Desktop/LUXAPIbuild/CMakeFiles/CMakeOutput.log".
See also "C:/Users/Daniel/Desktop/LUXAPIbuild/CMakeFiles/CMakeError.log".
:? :?

Re: Could not locate required Boost files

Posted: Thu Apr 04, 2019 6:08 pm
by Dade
Are you following the procedure described here https://github.com/LuxCoreRender/WindowsCompile :?:

Re: Could not locate required Boost files

Posted: Fri Apr 05, 2019 2:40 am
by motaman
i wasn't following that , I downloaded directly from here https://luxcorerender.org/download/ and started playing with cmake.

but now i'm following that procedure and this error happens

Code: Select all

Build FAILED.

       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\bcd.vcxproj" (default target)
       (2) ->
       (Lib target) ->
         LINK : warning LNK4044: opci≤n '/INCREMENTAL:NO' no reconocida; omitida [C:\Users\Daniel\Desktop\Luxcorerender
       \WindowsCompile\Build_CMake\LuxCore\src\slg\bcd.vcxproj]


       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\deps\glfw-3.1.1\src\
       glfw.vcxproj" (default target) (5) ->
         LINK : warning LNK4044: opci≤n '/INCREMENTAL:NO' no reconocida; omitida [C:\Users\Daniel\Desktop\Luxcorerender
       \WindowsCompile\Build_CMake\LuxCore\samples\luxcoreui\deps\glfw-3.1.1\src\glfw.vcxproj]


       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxcore\luxcore.vcxproj" (default
       target) (6) ->
         LINK : warning LNK4044: opci≤n '/INCREMENTAL:NO' no reconocida; omitida [C:\Users\Daniel\Desktop\Luxcorerender
       \WindowsCompile\Build_CMake\LuxCore\src\luxcore\luxcore.vcxproj]


       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\openvdb.vcxproj" (default targ
       et) (3) ->
         LINK : warning LNK4044: opci≤n '/INCREMENTAL:NO' no reconocida; omitida [C:\Users\Daniel\Desktop\Luxcorerender
       \WindowsCompile\Build_CMake\LuxCore\src\slg\openvdb.vcxproj]


       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\slg-kernels.vcxproj" (default
       target) (10) ->
         LINK : warning LNK4044: opci≤n '/INCREMENTAL:NO' no reconocida; omitida [C:\Users\Daniel\Desktop\Luxcorerender
       \WindowsCompile\Build_CMake\LuxCore\src\slg\slg-kernels.vcxproj]


       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj" (default
       target) (7) ->
         LINK : warning LNK4044: opci≤n '/INCREMENTAL:NO' no reconocida; omitida [C:\Users\Daniel\Desktop\Luxcorerender
       \WindowsCompile\Build_CMake\LuxCore\src\luxrays\luxrays.vcxproj]


       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\slg-film.vcxproj" (default tar
       get) (9) ->
         LINK : warning LNK4044: opci≤n '/INCREMENTAL:NO' no reconocida; omitida [C:\Users\Daniel\Desktop\Luxcorerender
       \WindowsCompile\Build_CMake\LuxCore\src\slg\slg-film.vcxproj]


       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\slg\slg-core.vcxproj" (default tar
       get) (8) ->
         LINK : warning LNK4044: opci≤n '/INCREMENTAL:NO' no reconocida; omitida [C:\Users\Daniel\Desktop\Luxcorerender
       \WindowsCompile\Build_CMake\LuxCore\src\slg\slg-core.vcxproj]


       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\LuxRays.sln" (default target) (1) ->
       "C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\Build_CMake\LuxCore\src\pyluxcoretools\pyluxcoretools_copy
       _dir.vcxproj" (default target) (4) ->
       (CustomBuild target) ->
         C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.tar
       gets(209,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Users\Daniel\Desktop\Luxcorerender\WindowsCompile\
       Build_CMake\LuxCore\src\pyluxcoretools\pyluxcoretools_copy_dir.vcxproj]

    8 Warning(s)
    1 Error(s)

Time Elapsed 00:18:31.41
--- FATAL ERROR RUNNING CMAKE ---


:cry:

Re: Could not locate required Boost files

Posted: Fri Apr 05, 2019 6:03 am
by acasta69
To correctly generate pyluxcoretools files you also need to have Python 3.5 with package PySide2 installed (see same procedure, a few rows below: In order to create an official release...).
I will update the README in order to make this more clear.

However, if you don't need pyluxcoretools, even with that error you have all the required luxcore binaries.

Re: Could not locate required Boost files

Posted: Fri Apr 05, 2019 8:06 am
by acasta69
acasta69 wrote: Fri Apr 05, 2019 6:03 am However, if you don't need pyluxcoretools, even with that error you have all the required luxcore binaries.
Apparently I was wrong and this error prevents binaries from being generated.
So at the moment you really need python + PySide2 to build everything.

I'll see if this can be modified so that only pyluxcoretools is affected.

Re: Could not locate required Boost files

Posted: Fri Apr 05, 2019 5:22 pm
by acasta69
I have fixed the problem.
But as I said, if you want to use pyluxcoretools you need also Python with PySide2.

Re: Could not locate required Boost files

Posted: Fri Apr 05, 2019 6:57 pm
by motaman
Thanks a lot! :D

Re: Could not locate required Boost files

Posted: Wed Apr 10, 2019 11:41 am
by kintuX
Sorry, am new with all of this, i did follow the procedure described on the above Windows Compile page, but i too got No OpenCL support... How did you get it building with OCL?

Re: Could not locate required Boost files

Posted: Wed Apr 10, 2019 1:06 pm
by acasta69
kintuX wrote: Wed Apr 10, 2019 11:41 am Sorry, am new with all of this, i did follow the procedure described on the above Windows Compile page, but i too got No OpenCL support... How did you get it building with OCL?
A further requirement is to install an OpenCL SDK.
A very lightweight one, that I am using at the moment, is the GPUOpen OCL SDK:
https://github.com/GPUOpen-LibrariesAnd ... K/releases

Sorry that this is not clearly explained in the procedure, I'll fix that.

Re: Could not locate required Boost files

Posted: Wed Apr 10, 2019 8:24 pm
by kintuX
acasta69 wrote: Wed Apr 10, 2019 1:06 pm A further requirement is to install an OpenCL SDK.
A very lightweight one, that I am using at the moment, is the GPUOpen OCL SDK:
https://github.com/GPUOpen-LibrariesAnd ... K/releases

Sorry that this is not clearly explained in the procedure, I'll fix that.
Thanks. It did the thing. OCL found, but now am out of space :lol: already ordered extra. Should be here in about a week and will do some cleaning over the weekend.

Be well!