LuxCoreRender / WindowsCompile

LuxCoreRender Windows Compilation Environment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Windows Build Error

JeongyongShin opened this issue · comments

When I build LuxCore on Windows like below...
After running cmake-build-x64.bat... "FATAL ERROR RUNNING CMAKE" occurs.
When I opened the CMakeError.log file... It say they can't find "CheckInclusiveFile.c".
How can I solve this problem?

`


** Visual Studio 2019 Developer Command Prompt v16.11.3
** Copyright (c) 2021 Microsoft Corporation


[vcvarsall.bat] Environment initialized for: 'x86'

C:\git\luxcorerender\WindowsCompile>cmake-build-x64.bat
Detected Visual Studio (version 16.0)
Finding if CMake is installed...
CMake found at "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin\cmake.exe "
--2021-09-23 21:31:15-- https://github.com/LuxCoreRender/WindowsCompileDeps/releases/download/luxcorerender_v2.6_3/WindowsCompileDeps_v2.6_3.7z
Resolving github.com (github.com)... 15.164.81.167
Connecting to github.com (github.com)|15.164.81.167|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-releases.githubusercontent.com/113448564/18e7e23f-6e8e-4ec0-993e-4cf80322538e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210923%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210923T123117Z&X-Amz-Expires=300&X-Amz-Signature=c3f01ab60b905223f9848070c003e4677a343b4fb6e75c611491cddd84c5ffe1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=113448564&response-content-disposition=attachment%3B%20filename%3DWindowsCompileDeps_v2.6_3.7z&response-content-type=application%2Foctet-stream [following]
--2021-09-23 21:31:17-- https://github-releases.githubusercontent.com/113448564/18e7e23f-6e8e-4ec0-993e-4cf80322538e?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210923%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210923T123117Z&X-Amz-Expires=300&X-Amz-Signature=c3f01ab60b905223f9848070c003e4677a343b4fb6e75c611491cddd84c5ffe1&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=113448564&response-content-disposition=attachment%3B%20filename%3DWindowsCompileDeps_v2.6_3.7z&response-content-type=application%2Foctet-stream
Resolving github-releases.githubusercontent.com (github-releases.githubusercontent.com)... 185.199.108.154, 185.199.110.154, 185.199.109.154, ...
Connecting to github-releases.githubusercontent.com (github-releases.githubusercontent.com)|185.199.108.154|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 105678346 (101M) [application/octet-stream]
Saving to: 'WindowsCompileDeps_v2.6_3.7z'

WindowsCompileDeps_v2.6_3.7z 100%[=================================================>] 100.78M 862KB/s in 99s

-- Using Win32 for window creation
-- Using WGL for context creation
-- Configuring incomplete, errors occurred!
See also "C:/git/luxcorerender/WindowsCompile/Build_CMake/LuxCore/CMakeFiles/CMakeOutput.log".
See also "C:/git/luxcorerender/WindowsCompile/Build_CMake/LuxCore/CMakeFiles/CMakeError.log".
--- FATAL ERROR RUNNING CMAKE ---

C:\git\luxcorerender\WindowsCompile\Build_CMake\LuxCore\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1,10): fatal error C1083: Can't open the include file.. 'pthread.h': No such file or directory [C:\git\luxcorerender\WindowsCompile\Build_CMake\LuxCore\CMakeFiles\CMakeTmp\cmTC_45888.vcxproj]

`

Sorry that I answer this after so long time.
Probably you have solved this in the meantime, in any case, likely the problem was that the 'x86' instead of the 'x64' command prompt was used, as shown in the beginning of your log:

[vcvarsall.bat] Environment initialized for: 'x86'

I am closing the issue, please reopen it or make a new one if the problem persists.