Closed sli1989 closed 6 months ago
Did you follow the instructions of the ReadMe? Can you post the entire compiler log here?
Seems followed the intruction. The step for reproduction
x64 Native Tools Command Prompt
cmake -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release64 ..
nmake
but reproduced in vs_community__2017, the errors C2146 and C4430 is missing with some warning information, which can be executed successfully.
And, #include <string>
seems needed add in head file of \Easy3D\easy3d\util\console_style.cpp
to avoid error C2679: binary '<<': no operator found
.
So the error is only with vs 2015 and it works well with vs 2017? In my past test, it worked well with vs2019 and vs 2022 (but it has not been tested with vs2015 and vs2017).
Anyway, I have added #include <string>
to console_style.cpp
.
Describe the bug. A clear and concise description of what the bug is.
Tell us how to reproduce the bug. Is it a compile time error or runtime issue?
In all cases, post your code and data here (if relevant).
Development/Running environment:
Additional context.
when nmake with VS2015, there some thine wrong in 'nanoflann.hpp' and nanoflann-related files.
There seems to be no problem with program semantics, and nothing to know to fix it unless comment the nanoflann-related in cmakelist.
thanks