PapaAtHome wrote: ↑Wed Jan 01, 2020 1:06 pm
Hi to all,
First, best wishes for 2020 from me.
I'm using FreeCAD (0.17 and 0.18) for 12 months now and would like to compile it myself. Reason, I want to see what Sliptonic is doing with VCarving (one of his features in 0.19_pre)
In short:
When I try to build FreeCAD CMake cannot find all required files in LibPack.
from: "$(root)\FreeCAD\cMake\FreeCAD_Helpers\InitializeFreeCADBuildOptions.cmake":r48
> if (EXISTS ${FREECAD_LIBPACK_DIR}/plugins/imageformats/qsvg.dll)
Directories in LibPack do not include a "...\FreeCADLibs_11.11_x64_VC12\plugins\"
Some details:
I followed the instructions from "
https://www.freecadweb.org/wiki/Compile_on_Windows" to the letter.
Details of packages on the machine I want to use to build FreeCAD:
- git version 2.16.1.windows.4
- TortoiseGit 2.9.0.0
- cmake-3.14.7-win64-x64
- FreeCADLibs_11.11_x64_VC12.7z
- python-3.7.6-amd64
- nsis-3.05-setup
- Visual Studio 2015 community edition (already in use for some time)
I created a root directory where I want to build, I'm referring to it as 'root' for simplicity.
Git clone
https://github.com/FreeCAD/FreeCAD.git -> $(root)/FreeCAD
z7zip unzipped FreeCADLibs_11.11_x64_VC12.7z -> $(root)/FreeCADLibs_11.11_x64_VC12
set FREECAD_LIBPACK_DIR=$(root)/FreeCADLibs_11.11_x64_VC12
build results should go to $(root)/build
CMake:
source=$(root)/FreeCAD
build=$(root)/Build
generator: Visual Studio 14 2015
platform: x64
toolset: (default, empty)
(x) use default native compilers
Cmake error messages:
...
Found libpack env variable: H:/andre/ontwikkeling/FreeCAD/v0.18_64/FreeCADLibs_11.11_x64_VC12
Libpack NOT found.
...
CMake Error at cMake/FreeCAD_Helpers/SetupPCL.cmake:11 (find_package):
By not providing "FindPCL.cmake" in CMAKE_MODULE_PATH this project has
...
Problems.
1 - Libpack status?
2 - PCL? (as result of problem 1?)
@1:
from: "$(root)\FreeCAD\cMake\FreeCAD_Helpers\InitializeFreeCADBuildOptions.cmake":r48
> if (EXISTS ${FREECAD_LIBPACK_DIR}/plugins/imageformats/qsvg.dll)
Directories in "$(root)\FreeCADLibs_11.11_x64_VC12"
bin\
cmake\
include\
lib\
share\
src\
tools\
some more details from the CMake log:
..
Compiler: MSVC, version: 19.0.24215.1
prefix: C:/Program Files (x86)/FreeCAD
bindir: bin
datadir: data
docdir: doc
includedir: include
libdir: lib
cmake: 3.14.7
Found libpack env variable: H:/andre/ontwikkeling/FreeCAD/v0.18_64/FreeCADLibs_11.11_x64_VC12
Libpack NOT found.
If you intend to use a Windows libpack, set the FREECAD_LIBPACK_DIR to the libpack directory.
Visit:
https://github.com/apeltauer/FreeCAD/releases/ for Windows libpack downloads.
PyCXX found:
...
No directory "$(root)\FreeCADLibs_11.11_x64_VC12\plugins\" available!
There are no instructions to 'compile' FreeCADLibs first so I must assume that I make a mistake or have another false assumtion.
For now I'm stuck.
Can somebody advise me on how to install/use LibPack?
Kind regards,
Andre.