wjakob / nanogui

Minimalistic GUI library for OpenGL
Other
4.66k stars 608 forks source link

Nanogui compile #11

Closed chenhonghua closed 9 years ago

chenhonghua commented 9 years ago

Hi, Recently, I am using libigl,which contains nanogui. But I met a error when I compile it. Detail can be seen in: https://github.com/libigl/libigl/issues/119#issuecomment-141067064 Look forward to your help!

chenhonghua commented 9 years ago

the assert occurred in the DenseStorage.h(line 86)

chenhonghua commented 9 years ago

“”EIGEN_MAKE_UNALIGNED_ARRAY_ASSERT(0xf)""

wjakob commented 9 years ago

Hi -- probably you are using a 32 bit compile? Does it still happen with 64 bit?

wjakob commented 9 years ago

Also, consider using a recent version of Visual Studio (e.g. 2015) -- these crashes are likely related to difficulties in enforcing SIMD alignment with the older C++03 standard.

chenhonghua commented 9 years ago

Thank you ! I recompile under 64 bit. All errors dispear ! :) Thank you again.