Home > Software engineering >  Using eigen library, alignment problems
Using eigen library, alignment problems

Time:10-07

1> D: \ vs2010 \ poissondeformations \ meshdeformation \ \. UI./MeshDeform/PoissonDeform/PoissonDeformation. H (35) : error C2719: "mat" : a __declspec (align (' 16 ')) of on-campus interviews are not aligned
1> D: \ vs2010 \ poissondeformations \ meshdeformation \ UI \ UIControl h (16) : error C2719: "mat" : a __declspec (align (' 16 ')) of on-campus interviews are not aligned
1> MyLeftPane. CPP
1> D: \ vs2010 \ poissondeformations \ meshdeformation \ \. UI./MeshDeform/PoissonDeform/PoissonDeformation. H (35) : error C2719: "mat" : a __declspec (align (' 16 ')) of on-campus interviews are not aligned
1> UI \ MyLeftPane CPP (83) : warning C4800: "BOOL" : the value force for Boolean value "true" or "false" (performance warning)
1> MeshDeformationView. CPP
1> MainFrm. CPP
1> D: \ vs2010 \ poissondeformations \ meshdeformation \ \. UI./MeshDeform/PoissonDeform/PoissonDeformation. H (35) : error C2719: "mat" : a __declspec (align (' 16 ')) of on-campus interviews are not aligned
1> D: \ vs2010 \ poissondeformations \ meshdeformation \ UI \ UIControl h (16) : error C2719: "mat" : a __declspec (align (' 16 ')) of on-campus interviews are not aligned
1> MyMeshPick. CPP

CodePudding user response:

Try to set the project to structure a 16-byte aligned

Or include the header file # pragma pack specified alignment
 # pragma pack (push, 16) 
# include ". XXXX. H "
# pragma pack (pop)

CodePudding user response:

reference 1st floor zgl7903 response:
try set project to structure a 16-byte aligned

Or include the header file # pragma pack specified alignment
 # pragma pack (push, 16) 
# include ". XXXX. H "
# pragma pack (pop)

Thank you very much I have already solved

CodePudding user response:

Hello, I also encountered such a problem, how do you solve

CodePudding user response:

Ask how to solve?? Thank you, use the Eigen go wrong?
  • Related