I am compiling FreeCAD 0.19 on Windows 10 using CMake GUI and Visual Studio 15 2017 using https://wiki.freecadweb.org/Compile_on_Windows tutorial.
In Visual Studio 15 2017, I installed "Deskop development with C++". https://imgur.com/r3JRUo9
Also, placed FreeCADLibs_12.1.4_x64_VC15 (https://github.com/FreeCAD/FreeCAD/rele ... 64_VC15.7z) folder inside Libpack folder.
Code: Select all
Z:\> tree -L 4
│── FreeCAD
├── FreeCAD-Build
│ ├── Libpack
│ │ └── FreeCADLibs_12.1.4_x64_VC15
* FREECAD_LIBPACK_DIR=Z:/FreeCAD-Build/Libpack/FreeCADLibs_12.1.4_x64_VC15
* BUILD_QT5=[tick checkbox]
On clicking Configure I got below error in CMake console:
Code: Select all
Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
The C compiler identification is MSVC 19.16.27038.0
The CXX compiler identification is MSVC 19.16.27038.0
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.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:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x86/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Compiler: MSVC, version: 19.16.27038.0
prefix: C:/Program Files (x86)/FreeCAD
bindir: bin
datadir: data
docdir: doc
includedir: include
libdir: lib
cmake: 3.15.7
Found libpack env variable: Z:/FreeCAD-Build/Libpack/FreeCADLibs_12.1.4_x64_VC15
PyCXX found:
Headers: Z:/FreeCAD/src
Sources: Z:/FreeCAD/src/CXX
Version: 6.2.8
Found SWIG: Z:/FreeCAD-Build/Libpack/FreeCADLibs_12.1.4_x64_VC15/bin/swig/swig.exe (found version "3.0.12")
Found PythonInterp: Z:/FreeCAD-Build/Libpack/FreeCADLibs_12.1.4_x64_VC15/bin/python.exe (found version "3.6.8")
Found PythonLibs: optimized;Z:/FreeCAD-Build/Libpack/FreeCADLibs_12.1.4_x64_VC15/bin/libs/python36.lib;debug;Z:/FreeCAD-Build/Libpack/FreeCADLibs_12.1.4_x64_VC15/bin/libs/python36_d.lib (found suitable exact version "3.6.8")
Looking for pthread.h
Looking for pthread.h - not found
Found Threads: TRUE
CMake Error at C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find Boost (missing: filesystem program_options regex system
thread) (found suitable version "1.67.0", minimum required is "1.48")
Call Stack (most recent call first):
C:/Program Files/CMake/share/cmake-3.15/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
C:/Program Files/CMake/share/cmake-3.15/Modules/FindBoost.cmake:2164 (find_package_handle_standard_args)
cMake/FreeCAD_Helpers/SetupBoost.cmake:7 (find_package)
CMakeLists.txt:55 (SetupBoost)
Configuring incomplete, errors occurred!
See also "Z:/FreeCAD-Build/CMakeFiles/CMakeOutput.log".
See also "Z:/FreeCAD-Build/CMakeFiles/CMakeError.log".
Environment variable of Boost: https://imgur.com/QAV01gl
I already followed below post but it didn't help me.
https://www.forum.freecadweb.org/viewtopic.php?p=366643
https://www.forum.freecadweb.org/viewto ... ns#p337938
Does anybody know how to fix this problem?
Thanks