SarahWeiii / CoACD

[SIGGRAPH2022] Approximate Convex Decomposition for 3D Meshes with Collision-Aware Concavity and Tree Search
https://colin97.github.io/CoACD/
MIT License
457 stars 59 forks source link

Native Windows build #13

Closed yetigit closed 1 year ago

yetigit commented 1 year ago

fix for issue : https://github.com/SarahWeiii/CoACD/issues/9 Here's the PR @SarahWeiii

things to know about it :

before merging please make sure it works on your linux machine

SarahWeiii commented 1 year ago

So the current version does not contain spdlog? What is the error of keeping that?

yetigit commented 1 year ago

@SarahWeiii for some obscure reason the logger update commit introduces uncomprehensible errors and compilation issues. not only is it complicated to make the spdlog dependency work nicely on windows and cmake and vcpkg but also past this there is just nothing helpful to fix the situation in terms of error. the Model class will stay an undefined type and other weird things.

This is the maximum I could do. if you are ok with this PR erasing the update logger code tell me and I'll fix the conflict of the PR.

Compilation Log ``` Build started... 1>------ Build started: Project: coacd, Configuration: Release x64 ------ 1>clip.cpp 1>C:\repos\CoACD\src\cost.h(17,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,29): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,37): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,44): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,52): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(18,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,29): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,35): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,42): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,48): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,55): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,62): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(19,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,29): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,37): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,44): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,52): error C2062: type 'unsigned int' unexpected 1>C:\repos\CoACD\src\cost.h(20,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,29): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,35): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,42): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,48): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,55): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,62): error C2062: type 'unsigned int' unexpected 1>C:\repos\CoACD\src\cost.h(21,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,34): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,47): error C2065: 'volume1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,56): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,63): error C2065: 'volumeCH1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,74): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,81): error C2065: 'volume2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,90): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,97): error C2065: 'volumeCH2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,108): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(22,25): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,32): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,47): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,55): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(23,25): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,32): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,38): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,45): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,51): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,58): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,65): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(24,26): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,33): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,39): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,46): error C2065: 'pos': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,51): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,58): error C2065: 'posCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,65): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,72): error C2065: 'neg': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,77): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,84): error C2065: 'negCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,91): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(25,21): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,28): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,33): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,40): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(23,43): error C2061: syntax error: identifier 'Model' 1>C:\repos\CoACD\src\process.h(24,16): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,23): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,28): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,35): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,47): error C2065: 'ch': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,8): error C2182: 'MergeCH': this use of 'void' is not valid 1>C:\repos\CoACD\src\process.h(25,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,34): error C2065: 'm': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,49): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,49): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,42): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,57): error C2065: 'meshs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,76): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,76): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,69): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,84): error C2065: 'cvxs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,98): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,90): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,106): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\process.h(26,15): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,8): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(26,15): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(26,8): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,30): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,37): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,51): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,43): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(26,29): error C2641: cannot deduce template arguments for 'std::vector' 1>C:\repos\CoACD\src\process.h(26,57): error C2783: 'std::vector<_Ty,_Alloc> std::vector(void) noexcept()': could not deduce template argument for '_Ty' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(673,5): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,29): error C2780: 'std::vector<_Ty,_Alloc> std::vector(std::vector<_Ty,_Alloc>)': expects 1 arguments - 0 provided 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\clip.cpp(229,36): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data 1>cost.cpp 1>C:\repos\CoACD\src\clip.h(10,27): error C2143: syntax error: missing ',' before '&' 1>C:\repos\CoACD\src\process.h(23,43): error C2061: syntax error: identifier 'Model' 1>C:\repos\CoACD\src\process.h(24,16): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,23): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,28): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,35): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,47): error C2065: 'ch': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,8): error C2182: 'MergeCH': this use of 'void' is not valid 1>C:\repos\CoACD\src\process.h(25,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,34): error C2065: 'm': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,49): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,49): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,42): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,57): error C2065: 'meshs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,76): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,76): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,69): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,84): error C2065: 'cvxs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,98): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,90): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,106): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\process.h(26,15): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,8): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(26,15): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(26,8): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,30): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,37): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,51): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,43): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(26,29): error C2641: cannot deduce template arguments for 'std::vector' 1>C:\repos\CoACD\src\process.h(26,57): error C2783: 'std::vector<_Ty,_Alloc> std::vector(void) noexcept()': could not deduce template argument for '_Ty' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(673,5): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,29): error C2780: 'std::vector<_Ty,_Alloc> std::vector(std::vector<_Ty,_Alloc>)': expects 1 arguments - 0 provided 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\hausdorff.h(149,27): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data 1>C:\repos\CoACD\src\hausdorff.h(150,27): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data 1>C:\repos\CoACD\src\cost.cpp(103,23): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data 1>mcts.cpp 1>C:\repos\CoACD\src\clip.h(10,27): error C2143: syntax error: missing ',' before '&' 1>C:\repos\CoACD\src\cost.h(17,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,29): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,37): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,44): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,52): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(18,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,29): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,35): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,42): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,48): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,55): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,62): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(19,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,29): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,37): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,44): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,52): error C2062: type 'unsigned int' unexpected 1>C:\repos\CoACD\src\cost.h(20,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,29): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,35): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,42): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,48): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,55): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,62): error C2062: type 'unsigned int' unexpected 1>C:\repos\CoACD\src\cost.h(21,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,34): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,47): error C2065: 'volume1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,56): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,63): error C2065: 'volumeCH1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,74): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,81): error C2065: 'volume2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,90): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,97): error C2065: 'volumeCH2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,108): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(22,25): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,32): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,47): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,55): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(23,25): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,32): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,38): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,45): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,51): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,58): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,65): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(24,26): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,33): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,39): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,46): error C2065: 'pos': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,51): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,58): error C2065: 'posCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,65): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,72): error C2065: 'neg': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,77): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,84): error C2065: 'negCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,91): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(25,21): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,28): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,33): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,40): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(23,43): error C2061: syntax error: identifier 'Model' 1>C:\repos\CoACD\src\process.h(24,16): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,23): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,28): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,35): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,47): error C2065: 'ch': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,8): error C2182: 'MergeCH': this use of 'void' is not valid 1>C:\repos\CoACD\src\process.h(25,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,34): error C2065: 'm': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,49): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,49): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,42): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,57): error C2065: 'meshs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,76): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,76): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,69): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,84): error C2065: 'cvxs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,98): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,90): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,106): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\process.h(26,15): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,8): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(26,15): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(26,8): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,30): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,37): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,51): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,43): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(26,29): error C2641: cannot deduce template arguments for 'std::vector' 1>C:\repos\CoACD\src\process.h(26,57): error C2783: 'std::vector<_Ty,_Alloc> std::vector(void) noexcept()': could not deduce template argument for '_Ty' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(673,5): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,29): error C2780: 'std::vector<_Ty,_Alloc> std::vector(std::vector<_Ty,_Alloc>)': expects 1 arguments - 0 provided 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\mcts.cpp(136,21): error C2660: 'coacd::Clip': function does not take 6 arguments 1>C:\repos\CoACD\src\clip.h(10,10): message : see declaration of 'coacd::Clip' 1>C:\repos\CoACD\src\mcts.cpp(136,21): message : while trying to match the argument list '(coacd::Model, coacd::Model, coacd::Model, coacd::Plane, double, bool)' 1>C:\repos\CoACD\src\mcts.cpp(159,31): error C3861: 'ComputeRv': identifier not found 1>C:\repos\CoACD\src\mcts.cpp(160,31): error C3861: 'ComputeRv': identifier not found 1>C:\repos\CoACD\src\mcts.cpp(233,23): warning C4244: '=': conversion from 'double' to 'int', possible loss of data 1>C:\repos\CoACD\src\mcts.cpp(276,16): error C2660: 'coacd::Clip': function does not take 5 arguments 1>C:\repos\CoACD\src\clip.h(10,10): message : see declaration of 'coacd::Clip' 1>C:\repos\CoACD\src\mcts.cpp(276,16): message : while trying to match the argument list '(coacd::Model, coacd::Model, coacd::Model, coacd::Plane, double)' 1>C:\repos\CoACD\src\mcts.cpp(284,27): error C3861: 'ComputeRv': identifier not found 1>C:\repos\CoACD\src\mcts.cpp(284,60): fatal error C1003: error count exceeds 100; stopping compilation 1>meshio.cpp 1>C:\repos\CoACD\src\clip.h(10,27): error C2143: syntax error: missing ',' before '&' 1>C:\repos\CoACD\src\cost.h(17,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,29): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,37): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,44): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,52): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(18,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,29): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,35): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,42): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,48): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,55): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,62): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(19,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,29): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,37): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,44): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,52): error C2062: type 'unsigned int' unexpected 1>C:\repos\CoACD\src\cost.h(20,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,29): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,35): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,42): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,48): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,55): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,62): error C2062: type 'unsigned int' unexpected 1>C:\repos\CoACD\src\cost.h(21,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,34): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,47): error C2065: 'volume1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,56): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,63): error C2065: 'volumeCH1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,74): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,81): error C2065: 'volume2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,90): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,97): error C2065: 'volumeCH2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,108): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(22,25): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,32): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,47): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,55): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(23,25): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,32): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,38): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,45): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,51): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,58): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,65): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(24,26): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,33): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,39): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,46): error C2065: 'pos': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,51): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,58): error C2065: 'posCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,65): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,72): error C2065: 'neg': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,77): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,84): error C2065: 'negCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,91): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(25,21): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,28): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,33): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,40): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(23,43): error C2061: syntax error: identifier 'Model' 1>C:\repos\CoACD\src\process.h(24,16): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,23): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,28): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,35): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,47): error C2065: 'ch': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,8): error C2182: 'MergeCH': this use of 'void' is not valid 1>C:\repos\CoACD\src\process.h(25,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,34): error C2065: 'm': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,49): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,49): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,42): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,57): error C2065: 'meshs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,76): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,76): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,69): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,84): error C2065: 'cvxs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,98): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,90): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,106): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\process.h(26,15): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,8): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(26,15): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(26,8): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,30): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,37): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,51): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,43): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(26,29): error C2641: cannot deduce template arguments for 'std::vector' 1>C:\repos\CoACD\src\process.h(26,57): error C2783: 'std::vector<_Ty,_Alloc> std::vector(void) noexcept()': could not deduce template argument for '_Ty' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(673,5): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,29): error C2780: 'std::vector<_Ty,_Alloc> std::vector(std::vector<_Ty,_Alloc>)': expects 1 arguments - 0 provided 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>model_obj.cpp 1>C:\repos\CoACD\src\clip.h(10,27): error C2143: syntax error: missing ',' before '&' 1>C:\repos\CoACD\src\cost.h(17,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,29): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,37): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,44): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(17,52): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(18,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,29): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,35): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,42): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,48): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,55): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(18,62): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(19,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,29): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,37): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,44): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(19,52): error C2062: type 'unsigned int' unexpected 1>C:\repos\CoACD\src\cost.h(20,22): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,29): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,35): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,42): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,48): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,55): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(20,62): error C2062: type 'unsigned int' unexpected 1>C:\repos\CoACD\src\cost.h(21,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,34): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,47): error C2065: 'volume1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,56): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,63): error C2065: 'volumeCH1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,74): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,81): error C2065: 'volume2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,90): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,97): error C2065: 'volumeCH2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(21,108): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(22,25): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,32): error C2065: 'tmesh1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,47): error C2065: 'tmesh2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(22,55): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(23,25): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,32): error C2065: 'cvx1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,38): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,45): error C2065: 'cvx2': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,51): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,58): error C2065: 'cvxCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(23,65): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(24,26): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,33): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,39): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,46): error C2065: 'pos': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,51): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,58): error C2065: 'posCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,65): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,72): error C2065: 'neg': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,77): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,84): error C2065: 'negCH': undeclared identifier 1>C:\repos\CoACD\src\cost.h(24,91): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\cost.h(25,21): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,28): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,33): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\cost.h(25,40): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(23,43): error C2061: syntax error: identifier 'Model' 1>C:\repos\CoACD\src\process.h(24,16): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,23): error C2065: 'ch1': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,28): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,35): error C2065: 'ch2': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,40): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,47): error C2065: 'ch': undeclared identifier 1>C:\repos\CoACD\src\process.h(24,8): error C2182: 'MergeCH': this use of 'void' is not valid 1>C:\repos\CoACD\src\process.h(25,27): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,34): error C2065: 'm': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,49): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,49): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,42): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,57): error C2065: 'meshs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,42): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,76): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(25,76): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(25,69): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(25,84): error C2065: 'cvxs': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,69): error C2275: 'std::vector': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,98): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(25,90): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(25,106): error C2062: type 'double' unexpected 1>C:\repos\CoACD\src\process.h(26,15): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,8): error C2923: 'std::vector': 'Model' is not a valid template type argument for parameter '_Ty' 1>C:\repos\CoACD\src\process.h(26,15): message : see declaration of 'Model' 1>C:\repos\CoACD\src\process.h(26,8): error C2976: 'std::vector': too few template arguments 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,30): error C2065: 'Model': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,37): error C2065: 'mesh': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,51): error C2065: 'params': undeclared identifier 1>C:\repos\CoACD\src\process.h(26,43): error C2275: 'coacd::Params': expected an expression instead of a type 1>C:\repos\CoACD\src\process.h(26,29): error C2641: cannot deduce template arguments for 'std::vector' 1>C:\repos\CoACD\src\process.h(26,57): error C2783: 'std::vector<_Ty,_Alloc> std::vector(void) noexcept()': could not deduce template argument for '_Ty' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(673,5): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\process.h(26,29): error C2780: 'std::vector<_Ty,_Alloc> std::vector(std::vector<_Ty,_Alloc>)': expects 1 arguments - 0 provided 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\vector(494,14): message : see declaration of 'std::vector' 1>C:\repos\CoACD\src\model_obj.cpp(114,99): warning C4244: 'argument': conversion from '_Ty' to 'T', possible loss of data 1> with 1> [ 1> _Ty=double 1> ] 1> and 1> [ 1> T=float 1> ] 1>C:\repos\CoACD\src\model_obj.cpp(114,85): warning C4244: 'argument': conversion from '_Ty' to 'T', possible loss of data 1> with 1> [ 1> _Ty=double 1> ] 1> and 1> [ 1> T=float 1> ] 1>C:\repos\CoACD\src\model_obj.cpp(114,71): warning C4244: 'argument': conversion from '_Ty' to 'T', possible loss of data 1> with 1> [ 1> _Ty=double 1> ] 1> and 1> [ 1> T=float 1> ] 1>C:\repos\CoACD\src\model_obj.cpp(417,36): warning C4267: 'initializing': conversion from 'size_t' to 'int', possible loss of data 1>C:\repos\CoACD\src\model_obj.cpp(427,21): warning C4996: 'fopen': This function or variable may be unsafe. Consider using fopen_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>C:\repos\CoACD\src\model_obj.cpp(452,35): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>C:\repos\CoACD\src\model_obj.cpp(478,31): warning C4996: 'strtok': This function or variable may be unsafe. Consider using strtok_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. 1>preprocess.cpp 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(79,10): error C2039: 'recursive_mutex': is not a member of 'std' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\cstdarg(21,1): message : see declaration of 'std' 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(79,26): error C2143: syntax error: missing ';' before '&' 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(79,37): error C2238: unexpected token(s) preceding ';' 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(95,10): error C2039: 'mutex': is not a member of 'std' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\cstdarg(21,1): message : see declaration of 'std' 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(95,16): error C3646: 'logger_map_mutex_': unknown override specifier 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(95,33): error C2059: syntax error: ',' 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(95,49): error C2238: unexpected token(s) preceding ';' 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(96,10): error C2039: 'recursive_mutex': is not a member of 'std' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\cstdarg(21,1): message : see declaration of 'std' 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/registry.h(96,26): error C3646: 'tp_mutex_': unknown override specifier 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/backtracer.h(20,18): error C2039: 'mutex': is not a member of 'std' 1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.34.31933\include\cstdarg(21,1): message : see declaration of 'std' 1>C:/repos/vcpkg/installed/x64-windows/include\spdlog/details/backtracer.h(20,24): error C3646: 'mutex_': unknown override specifier 1>TBB Warning: tbb/task.h is deprecated. For details, please see Deprecated Features appendix in the TBB reference manual. 1>Generating Code... 1>Done building project "coacd.vcxproj" -- FAILED. ========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ========== ========== Elapsed 00:04.868 ========== ```
SarahWeiii commented 1 year ago

Hi I have added an option in CMakeLists.txt for turning off spdlog, could you try if your code works on top of the current version?

yetigit commented 1 year ago

thanks, 👍 will try in a day or two

SarahWeiii commented 1 year ago

Hi we have updated the code and support the Python version on Windows now.