tpaviot / pythonocc-core

Python package for 3D geometry CAD/BIM/CAM
GNU Lesser General Public License v3.0
1.39k stars 380 forks source link

Building pythonocc error #1149

Open seungro opened 2 years ago

seungro commented 2 years ago

Hello, I m trying to install pythonocc-core following this document: https://github.com/tpaviot/pythonocc-core/blob/master/ci/conda/bld.bat

For the build step, "template XXX undefined error" is occured, but i dont know how to handle this.

here is configure and building step results in cmd on my local pc.

does anyone who know how to solve these errors to build and succesfully install pythonocc?

Thank you.

(sorry to long description below.)

C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build>cmake -G "Ninja" ^ More? -DPYTHONOCC_BUILD_TYPE=Release ^ More? -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^ More? -DCMAKE_LIBRARY_PATH="%LIBRARY_LIB%" ^ More? -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ More? -DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^ More? -DPython3_FIND_STRATEGY=LOCATION ^ More? -DPython3_FIND_REGISTRY=NEVER ^ More? -DSWIG_HIDE_WARNINGS=ON ^ More? -DPYTHONOCC_MESHDS_NUMPY=ON ^ More? -DPYTHONOCC_VERSION=%OCCT_VERSION% ^ More? -DOCE_INCLUDE_PATH=C:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc ^ More? -DOCE_LIB_PATH=C:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/win64/vc14/lib ^ More? .. CMake Deprecation Warning at CMakeLists.txt:35 (cmake_policy): The OLD behavior for policy CMP0072 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at CMakeLists.txt:46 (cmake_policy): The OLD behavior for policy CMP0078 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.

CMake Deprecation Warning at CMakeLists.txt:51 (cmake_policy): The OLD behavior for policy CMP0086 will be removed from a future version of CMake.

The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD.

-- Numpy include directory: C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -- Python3 interpreter:C:/Users/user/AppData/Local/Programs/Python/Python310/python.exe -- Python include directory: C:/Users/user/AppData/Local/Programs/Python/Python310/include -- Python library release: C:/Users/user/AppData/Local/Programs/Python/Python310/libs/python310.lib -- Disabled SWIG warnings -- Disabled deprecation warnings for oce

:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives :1: DeprecationWarning: The distutils.sysconfig module is deprecated, use sysconfig instead -- pythonocc modules will be installed to: C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/OCC -- MinGW: -- Configuring done -- Generating done -- Build files have been written to: C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build>ninja [1/910] Swig compile src/SWIG_files/wrapper/FSD.i for python **FAILED: win/bin/Release/FSDPYTHON_wrap.cxx win/bin/Release/FSD.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/FSDPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/FSD.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_FSD.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _FSD -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/FSDPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/FSD.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined.** [2/910] Swig compile src/SWIG_files/wrapper/NCollection.i for python FAILED: win/bin/Release/NCollectionPYTHON_wrap.cxx win/bin/Release/NCollection.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/NCollectionPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/NCollection.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_NCollection.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _NCollection -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/NCollectionPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/NCollection.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. [3/910] Swig compile src/SWIG_files/wrapper/Plugin.i for python FAILED: win/bin/Release/PluginPYTHON_wrap.cxx win/bin/Release/Plugin.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/PluginPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/Plugin.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_Plugin.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _Plugin -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/PluginPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/Plugin.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Plugin.i(67) : Error: Template 'NCollection_DataMap' undefined. [4/910] Swig compile src/SWIG_files/wrapper/OSD.i for python FAILED: win/bin/Release/OSDPYTHON_wrap.cxx win/bin/Release/OSD.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/OSDPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/OSD.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_OSD.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _OSD -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/OSDPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/OSD.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. [5/910] Swig compile src/SWIG_files/wrapper/Quantity.i for python FAILED: win/bin/Release/QuantityPYTHON_wrap.cxx win/bin/Release/Quantity.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/QuantityPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/Quantity.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_Quantity.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _Quantity -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/QuantityPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/Quantity.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Quantity.i(1870) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Quantity.i(1905) : Error: Template 'NCollection_Array2' undefined. [6/910] Swig compile src/SWIG_files/wrapper/Resource.i for python FAILED: win/bin/Release/ResourcePYTHON_wrap.cxx win/bin/Release/Resource.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/ResourcePYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/Resource.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_Resource.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _Resource -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/ResourcePYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/Resource.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Resource.i(174) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Resource.i(175) : Error: Template 'NCollection_DataMap' undefined. [7/910] Swig compile src/SWIG_files/wrapper/StdFail.i for python FAILED: win/bin/Release/StdFailPYTHON_wrap.cxx win/bin/Release/StdFail.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/StdFailPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/StdFail.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_StdFail.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _StdFail -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/StdFailPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/StdFail.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. [8/910] Swig compile src/SWIG_files/wrapper/Standard.i for python FAILED: win/bin/Release/StandardPYTHON_wrap.cxx win/bin/Release/Standard.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/StandardPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/Standard.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_Standard.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _Standard -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/StandardPYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/Standard.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. [9/910] Swig compile src/SWIG_files/wrapper/Message.i for python FAILED: win/bin/Release/MessagePYTHON_wrap.cxx win/bin/Release/Message.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/MessagePYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/Message.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_Message.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _Message -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/MessagePYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/Message.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(94) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(129) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(164) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(199) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(234) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(269) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(304) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(339) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(374) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(409) : Error: Template 'NCollection_Array2' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(410) : Error: Template 'NCollection_Array2' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(411) : Error: Template 'NCollection_Array2' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(412) : Error: Template 'NCollection_Array2' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(413) : Error: Template 'NCollection_Array2' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(414) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(415) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(428) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(441) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(454) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(467) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(468) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(469) : Error: Template 'NCollection_IndexedDataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(470) : Error: Template 'NCollection_IndexedDataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(471) : Error: Template 'NCollection_IndexedMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(472) : Error: Template 'NCollection_IndexedMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(473) : Error: Template 'NCollection_IndexedMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(474) : Error: Template 'NCollection_TListIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(475) : Error: Template 'NCollection_TListIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(476) : Error: Template 'NCollection_TListIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(477) : Error: Template 'NCollection_TListIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(478) : Error: Template 'NCollection_List' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(486) : Error: Template 'NCollection_List' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(494) : Error: Template 'NCollection_List' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(502) : Error: Template 'NCollection_List' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(510) : Error: Template 'NCollection_DefaultHasher' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(511) : Error: Template 'NCollection_Map' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(512) : Error: Template 'NCollection_Map' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(513) : Error: Template 'NCollection_Map' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(514) : Error: Template 'NCollection_Map' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(515) : Error: Template 'NCollection_DefaultHasher' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(516) : Error: Template 'NCollection_DefaultHasher' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(517) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(525) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(533) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(541) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(549) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(557) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(565) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(573) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\TColStd.i(581) : Error: Template 'NCollection_Sequence' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Message.i(596) : Error: Template 'NCollection_TListIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Message.i(597) : Error: Template 'NCollection_List' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Message.i(605) : Error: Template 'NCollection_List' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Message.i(613) : Error: Template 'NCollection_Sequence' undefined. [10/910] Swig compile src/SWIG_files/wrapper/Storage.i for python FAILED: win/bin/Release/StoragePYTHON_wrap.cxx win/bin/Release/Storage.py C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/StoragePYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/win/bin/Release/Storage.py cmd.exe /C "cd /D C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\cmake-build && "C:\Program Files\CMake\bin\cmake.exe" -E make_directory C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/cmake-build/CMakeFiles/_Storage.dir win/bin/Release win/bin/Release && "C:\Program Files\CMake\bin\cmake.exe" -E env SWIG_LIB=C:/swigwin-4.0.2/Lib C:/swigwin-4.0.2/swig.exe -python -DBUILD_MESHDS_NUMPY -fvirtual -py3 -w302,401,402,412,314,509,512,504,325,503,520,350,351,383,389,394,395,404 -DCSFDB -DWIN32 -D_WINDOWS -outdir win/bin/Release -c++ -interface _Storage -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/OPENGL_INCLUDE_DIR -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/numpy/core/include -IC:/OpenCASCADE-7.6.0-vc14-64/opencascade-7.6.0/inc -IC:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/headers -o win/bin/Release/StoragePYTHON_wrap.cxx C:/Users/user/AppData/Local/Programs/Python/Python310/Lib/site-packages/pythonocc-core/src/SWIG_files/wrapper/Storage.i" C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(97) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(98) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(99) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(100) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(101) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(102) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(103) : Error: Template 'NCollection_UtfIterator' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\NCollection.i(104) : Error: Template 'NCollection_UtfString' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Storage.i(146) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Storage.i(181) : Error: Template 'NCollection_Array1' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Storage.i(216) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Storage.i(217) : Error: Template 'NCollection_DataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Storage.i(218) : Error: Template 'NCollection_IndexedDataMap' undefined. C:\Users\user\AppData\Local\Programs\Python\Python310\Lib\site-packages\pythonocc-core\src\SWIG_files\wrapper\Storage.i(219) : Error: Template 'NCollection_Sequence' undefined. ninja: build stopped: subcommand failed.
seungro commented 2 years ago

It was my fault. I fixed this issue just re-build open cascade. The program reported me it need 7.6.3 version occt, but it also gives the another undefiend reference error (the function is written in header file, but not written in sorce file)