Open seungro opened 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)
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