You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I attempt to build off the latest commit on the master branch, I get the following error when using a Windows 10 box with VS2017 (v15.9.66) in 64-bit mode.
Error C2338 You've instantiated std::aligned_storage<Len, Align> with an extended alignment (in other words, Align > alignof(max_align_t)). Before VS 2017 15.8, the member type would non-conformingly have an alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility (only for uses of aligned_storage with extended alignments). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, or (2) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conformant behavior. bundle_adjuster C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\type_traits 1271
When I use #define _ENABLE_EXTENDED_ALIGNED_STORAGE or #define _DISABLE_EXTENDED_ALIGNED_STORAG smal_gcip It will become very slow。
I hope you can help handle this issue Thank you
The text was updated successfully, but these errors were encountered:
I suppose the error stems from improper handling of vectorization in Eigen. Can you try disabling vectorization by adding EIGEN_DONT_ALIGN? It may slightly decrease the processing speed, but the degradation should be small. http://eigen.tuxfamily.org/index.php?title=FAQ
When I attempt to build off the latest commit on the master branch, I get the following error when using a Windows 10 box with VS2017 (v15.9.66) in 64-bit mode.
Error C2338 You've instantiated std::aligned_storage<Len, Align> with an extended alignment (in other words, Align > alignof(max_align_t)). Before VS 2017 15.8, the member type would non-conformingly have an alignment of only alignof(max_align_t). VS 2017 15.8 was fixed to handle this correctly, but the fix inherently changes layout and breaks binary compatibility (only for uses of aligned_storage with extended alignments). Please define either (1) _ENABLE_EXTENDED_ALIGNED_STORAGE to acknowledge that you understand this message and that you actually want a type with an extended alignment, or (2) _DISABLE_EXTENDED_ALIGNED_STORAGE to silence this message and get the old non-conformant behavior. bundle_adjuster C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\type_traits 1271
When I use #define _ENABLE_EXTENDED_ALIGNED_STORAGE or #define _DISABLE_EXTENDED_ALIGNED_STORAG smal_gcip It will become very slow。
I hope you can help handle this issue Thank you
The text was updated successfully, but these errors were encountered: