Could not locate required Boost files

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

Could not locate required Boost files

Post 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".
:? :?
instagram: motaman.art
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Could not locate required Boost files

Post by Dade »

Are you following the procedure described here https://github.com/LuxCoreRender/WindowsCompile :?:
Support LuxCoreRender project with salts and bounties
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

Re: Could not locate required Boost files

Post 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:
instagram: motaman.art
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Could not locate required Boost files

Post 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.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Could not locate required Boost files

Post 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.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Could not locate required Boost files

Post by acasta69 »

I have fixed the problem.
But as I said, if you want to use pyluxcoretools you need also Python with PySide2.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
User avatar
motaman
Posts: 34
Joined: Tue Mar 12, 2019 4:03 pm
Location: Mexico
Contact:

Re: Could not locate required Boost files

Post by motaman »

Thanks a lot! :D
instagram: motaman.art
kintuX
Posts: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: Could not locate required Boost files

Post 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?
acasta69
Developer
Developer
Posts: 472
Joined: Tue Jan 09, 2018 3:45 pm
Location: Italy

Re: Could not locate required Boost files

Post 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.
Support LuxCoreRender project with salts and bounties

Windows 10 64 bits, i7-4770 3.4 GHz, RAM 16 GB, GTX 970 4GB v445.87
kintuX
Posts: 809
Joined: Wed Jan 10, 2018 2:37 am

Re: Could not locate required Boost files

Post 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!
Post Reply