Unknown CMake command "fc_wrap_cpp" when building [SOLVED]

Here's the place for discussion related to CAM/CNC and the development of the Path module.
falviani
Posts: 123
Joined: Tue May 07, 2019 8:49 pm

Unknown CMake command "fc_wrap_cpp" when building [SOLVED]

Postby falviani » Sat Apr 18, 2020 1:40 pm

Hello All,

My configuration:
source: FreeCAD19_Source
output: FreeCAD19_Output
lib pack folder: FreeCAD19_Output
log file attached
located lib pack folder according to "https://wiki.freecadweb.org/Compile_on_Windows" . CMake shows
E:/Dev/FreeCAD19_Output/FreeCADLibs_12.1.4_x64_VC15

Output from CMake:

Selecting Windows SDK version 10.0.17763.0 to target Windows 10.0.18363.
Compiler: MSVC, version: 19.16.27032.1
prefix: C:/Program Files (x86)/FreeCAD
bindir: bin
datadir: data
docdir: doc
includedir: include
libdir: lib
cmake: 3.16.6
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.
CMake Error at cMake/FreeCAD_Helpers/FreeCADLibpackChecks.cmake:17 (message):
Could not find libpack in specified
location:E:/Dev/FreeCAD19_Output/FreeCADLibs_12.1.4_x64_VC15
Call Stack (most recent call first):
CMakeLists.txt:50 (FreeCADLibpackChecks)


PyCXX found:
Headers: E:/Dev/FreeCAD19_Source/FreeCAD/src
Sources: E:/Dev/FreeCAD19_Source/FreeCAD/src/CXX
Version: 6.2.8
Could NOT find SWIG (missing: SWIG_EXECUTABLE SWIG_DIR)
==================================================
SWIG not found, don't build SWIG binding for pivy.
==================================================

Platform is 64-bit, set -D_OCC64
E:/Dev/FreeCAD19_Output/src/Base/TypePy.cpp
E:/Dev/FreeCAD19_Output/src/Base/BaseClassPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/BoundBoxPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/CoordinateSystemPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/PersistencePy.cpp
E:/Dev/FreeCAD19_Output/src/Base/VectorPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/MatrixPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/RotationPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/PlacementPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/AxisPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/UnitPy.cpp
E:/Dev/FreeCAD19_Output/src/Base/QuantityPy.cpp
CMake Error at src/Base/CMakeLists.txt:186 (fc_wrap_cpp):
Unknown CMake command "fc_wrap_cpp".


Configuring incomplete, errors occurred!
See also "E:/Dev/FreeCAD19_Output/CMakeFiles/CMakeOutput.log".

This is after cloning the very latest from GitHub. I haven't used git before, although I have a lot of programming experience (somewhat rusty since I retired a couple of years ago).

The instructions on the compile page state "Create a new folder where the compiled FreeCAD should be. It is highly recommended that this folder is not inside the source code folder of FreeCAD". I interpreted that to be in the output folder. Should be instead be along side the Git source folder inside FreeCAD19_Source instead?

What do I do?
Thanks in advance,
Frank

Update - Got it working, thanks to a noble soul! :D
Attachments
CMakeOutput.log
(9.36 KiB) Downloaded 8 times