Forum Replies Created
-
AuthorPosts
-
sergioteovitBlocked
Hi Guillaume, It works for me!. Now to test!.
Thanks 😉
Cheers,
SergiosergioteovitBlockedHi Korcan, Thanks for the help. I’m not sure which option is causing the ‘Boost assertion fail’, but I will test discarding one by one.
Regards,
SergiosergioteovitBlockedHi Guillaume,
I compiled again without some options and sofaRun.exe runs correctly in release mode. In debug mode is unstable.
Here are the comparisons between the significant options:
OPTION----------------------FAIL------CORRECT --------------------------------------------- APPLICATION_GENERATERIGID true false APPLICATION_MODELER true true APPLICATION_RUNSOFA true true PLUGIN_LEAPMOTION true false PLUGIN_SOFACUDA true false PLUGIN_SOFASIMPLEGUI true false SOFAGUI_EDITORVIEWER true false SOFAGUI_GLUT true false SOFAGUI_QGLVIEWER true true SOFAGUI_QT true true SOFAGUI_QTVIEWER true true SOFAGUI_QT_INTERACTION true false SOFA_BUILD_TEST false true SOFA_BUILD_TUTORIALS true false SOFA_ENABLE_QWT true false SOFA_OPENMP true false -------------------------------------------
Regards,
SergiosergioteovitBlockedHi Guillaume, thanks for the highlights corrections :).
I installed boost library from the prebuilt binary package boost_1_59_0-msvc-12.0-64.exe, posted in sourgeforge (for the vs2013 compilation).
I have installed too, in the same computer: boost 1.6.0 for vs2013, boost 1.5.9 and boost 1.6.0 for vs2015.
In resume, I probed the next configurations without success:
– Sofa 15.12, qt5 64 bits for vs2013 (prebuild), win10, boost (prebuilt) 1.5.9 x64 for vs2013.
– Sofa 15.12, qt5 64 bits for vs2013 (prebuild), win10, boost (prebuilt) 1.6.0 x64 for vs2013.
– Sofa 15.12, qt5 64 bits for vs2015 (own compilation), win10, boost (prebuilt) 1.5.9 x64 for vs2015.
– Sofa 15.12, qt5 64 bits for vs2015 (own compilation), win10, boost (prebuilt) 1.6.0 x64 for vs2015.I will try in another computer to discard some incompatibility.
Best Regards,
SergiosergioteovitBlockedThe same problem with runSofa.exe happens compiling in visual studio 2015, with boost 1.59.0 or boost 1.60.0.
Any idea?
Regards,
SergiosergioteovitBlockedHi everyone,
I have the same problem compiling CudaMeshMatrixMass and MeshMatrixMass in Windows 10 64-bits, VS2013 Community, SOFA Framework v15.12.
MeshMatrixMass.inl:
error C2491: ‘sofa::component::mass::MeshMatrixMass<DataTypes,TMassType>::MeshMatrixMass’ : definition of dllimport function not allowed C:\SOFAFramework\sofa-qt5-boost-1-59-msvc2013\v15.12\src\modules\SofaMiscForceField\MeshMatrixMass.inl
error C2491: ‘sofa::component::mass::MeshMatrixMass<DataTypes,TMassType>::~MeshMatrixMass’ : definition of dllimport function not allowed C:\SOFAFramework\sofa-qt5-boost-1-59-msvc2013\v15.12\src\modules\SofaMiscForceField\MeshMatrixMass.inl
error C2491: ‘sofa::component::mass::MeshMatrixMass<DataTypes,TMassType>::init’ : definition of dllimport function not allowed C:\SOFAFramework\sofa-qt5-boost-1-59-msvc2013\v15.12\src\modules\SofaMiscForceField\MeshMatrixMass.inl
… (and other 15)
CudaMeshMatrixMass.inl
error C2491: ‘sofa::component::mass::MeshMatrixMass<sofa::gpu::cuda::CudaVec2fTypes,float>::copyVertexMass’ : definition of dllimport function not allowed C:\SOFAFramework\sofa-qt5-boost-1-59-msvc2013\v15.12\src\applications\plugins\SofaCUDA\sofa\gpu\cuda\CudaMeshMatrixMass.inl
error C2491: ‘sofa::component::mass::MeshMatrixMass<sofa::gpu::cuda::CudaVec2fTypes,float>::addMDx’ : definition of dllimport function not allowed C:\SOFAFramework\sofa-qt5-boost-1-59-msvc2013\v15.12\src\applications\plugins\SofaCUDA\sofa\gpu\cuda\CudaMeshMatrixMass.inl
… (and other 2)
Regards,
Sergio -
AuthorPosts