BennyYan started the topic There is an exception error to execute SofaPhysicsAP! Why? in the forum Building SOFA 2 years, 7 months ago
When I executed the ‘main’ function of the SofaPhysicsAPI module, I got the following exception error:
Unhandled exception at 0x00007FFBDFA87788 in SofaPhysicsAPI_d.exe: Microsoft C ++ exception: std :: bad_alloc at memory location 0x00000085DF2FD070.
Exceptional places are as follows:
I can compile release build v17.06, but debug build has error!
Severity Code Description Project File Line Suppression State
Error LNK2005 “public: float & __cdecl sofa::helper::fixed_array<float,4>::operator(unsigned __int64)” (??A?$fixed_array@M$03@helper@sofa@@QEAAAEAM_K@Z) already defined in…[Read more]
How to convert obj to msh format file?
No sample source code about it.
I try to make a ConvertObjToMsh function with MeshObjLoader/MeshExporter class, but it failed to execute.
The source code is as follows:
#include <sofa /core/objectmodel/SPtr.h>
In the example “examples Demos TriangleSurfaceCutting.scn”, only the faces are cut. If it is volume, such as liver, sofa can cut it?
Through SofaCarving plug-ins can be achieved? Who can give me an example? Thank you