qq456cvb / ObjSimplifier

Open-source C++ Obj Simplifier implementing "Surface Simplification Using Quadric Error Metrics" 1997
MIT License
4 stars 0 forks source link

byte align problem too hard to fix in windows. #2

Closed daiyunbo closed 6 years ago

daiyunbo commented 6 years ago

eigen requires 128 byte align, it ofen cause assert failed in the eigen files. http://eigen.tuxfamily.org/dox/group__TopicStlContainers.html. there are solutions to fix bugs in our code, but with all the solutions used it still cause assert failed. i build your code in windows 10, visual studio 2015. May you offer a version to use in windows, please?

qq456cvb commented 6 years ago

I can compile the code with Visual Studio 2015, Windows 10 without any problem. I am using Eigen 3.3.4 and I have no idea what caused your failure. Could you provide some info about your version of Eigen, together with the error details?

daiyunbo commented 6 years ago

I am also using Eigen 3.3.4 Here is the failed assert. and the error info in cmd. image

image

qq456cvb commented 6 years ago

I've updated the code fixing this issue.