Forum Replies Created
-
AuthorPosts
-
8 February 2017 at 09:42 in reply to: What is the strategy of sub dividing tetrahedron in sofa #8521CocoBlocked
Hi Hugo,
Thank you for always help.It is Lunar New Year now, Wish you all the best and success.
Best,
Coco
CocoBlockedHi Hugo,
I get that the implementation is a subdivision based on the plane crossing a tetrahedron. I just feel confused about the implementation how it constructs subdivided tetrahedrons. Just like here
//construct subdivided tetrahedrons Tetra subTetra[2]; edgeDirec=this->m_geometryAlgorithms->computeEdgeDirection(intersectedEdgeID[0])*-1; Real dot=edgeDirec*planeNormal; //inspect the tetrahedron is already subdivided if((pointsID[0]>=m_intialNbPoints) && (pointsID[1]>=m_intialNbPoints)) { if((pointsID[0]-m_intialNbPoints)%2==0) { if(dot>0) { subTetra[0][0]=intersectedEdge[0]; subTetra[0][1]=pointsID[0]+1; subTetra[0][2]=pointsID[1]+1; subTetra[0][3]=intersectedPointID[0]+1; subTetra[1][0]=intersectedEdge[1]; subTetra[1][1]=pointsID[0]; subTetra[1][2]=pointsID[1]; subTetra[1][3]=intersectedPointID[0]; } else { subTetra[0][0]=intersectedEdge[0]; subTetra[0][1]=pointsID[0]; subTetra[0][2]=pointsID[1]; subTetra[0][3]=intersectedPointID[0]; subTetra[1][0]=intersectedEdge[1]; subTetra[1][1]=pointsID[0]+1; subTetra[1][2]=pointsID[1]+1; subTetra[1][3]=intersectedPointID[0]+1; } } else { if(dot>0) { subTetra[0][0]=intersectedEdge[0]; subTetra[0][1]=pointsID[0]; subTetra[0][2]=pointsID[1]; subTetra[0][3]=intersectedPointID[0]+1; subTetra[1][0]=intersectedEdge[1]; subTetra[1][1]=pointsID[0]-1; subTetra[1][2]=pointsID[1]-1; subTetra[1][3]=intersectedPointID[0]; } else { subTetra[0][0]=intersectedEdge[0]; subTetra[0][1]=pointsID[0]-1; subTetra[0][2]=pointsID[1]-1; subTetra[0][3]=intersectedPointID[0]; subTetra[1][0]=intersectedEdge[1]; subTetra[1][1]=pointsID[0]; subTetra[1][2]=pointsID[1]; subTetra[1][3]=intersectedPointID[0]+1; } } }
Why does it need to determine the dot?
In the past two weeks, this problem has been bothering me and I have no progress.
Best,
Coco
CocoBlockedHi Hugo,
With your help,I have got how to use the API of AdvancedTimer. Recently, I am reading the page in the documentation and have learned a lot.
Best,Coco
CocoBlockedHi Hugo,
Thanks for your help. I will spend some time to absorb the knowledge.
Cheers,
Coco
CocoBlockedHi Hugo,
As you said, I refer to the runSofa and change the
sofa::simulation::Node::SPtr groot =sofa::simulation::SceneLoaderXML().load("D:/workfile/sofa/v16.08/src/share/XMLfile/ball.xml");
tosofa::simulation::Node::SPtr groot = sofa::simulation::getSimulation()->load(fileName.c_str());
.It works well.CocoBlockedHi Hugo,
I have solved the problem.
Thanks a lot!
25 November 2016 at 13:51 in reply to: [SOLVED] The problem of writing scene in C++ by loading XML file #7992CocoBlockedHi jnbrunet,
Here is additinal details
the output is
'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\XMLLoaderTest.exe'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGuiMain_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGuiGlut_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGuiCommon_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaComponentBase_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaBaseMechanics_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaBaseTopology_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaSimulationCore.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaCore_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaDefaultType_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaHelper_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\ddraw.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\dciman32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\glew32.dll'. Module was built without symbols. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\tinyxml_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\msvcr110d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\msvcp110d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\libpng15.dll'. Module was built without symbols. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\zlib1.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\winsxs\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.4940_none_08e4299fa83d7e3c\msvcr90.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\boost_1_59_0\lib64-msvc-11.0\boost_system-vc110-mt-gd-1_59.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\boost_1_59_0\lib64-msvc-11.0\boost_thread-vc110-mt-gd-1_59.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\boost_1_59_0\lib64-msvc-11.0\boost_chrono-vc110-mt-gd-1_59.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaBaseCollision_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaBaseLinearSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaBaseVisual_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaComponentCommon_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaEngine_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaLoader_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaComponentGeneral_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralAnimationLoop_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralDeformable_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaDeformable_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralExplicitOdeSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralImplicitOdeSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralLinearSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralObjectInteraction_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralSimpleFem_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaSimpleFem_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralEngine_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralMeshCollision_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMeshCollision_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaObjectInteraction_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaRigid_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaExporter_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\msvcr110.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaHaptics_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaConstraint_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaUserInteraction_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaBoundaryCondition_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaEigen2Solver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaPreconditioner_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaSparseSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaValidation_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralLoader_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaSimulationCommon_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaDenseSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaOpenglVisual_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralRigid_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralVisual_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGraphComponent_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaTopologyMapping_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGeneralTopology_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaComponentAdvanced_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaEulerianFluid_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaNonUniformFem_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaSphFluid_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaVolumetricData_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaComponentMisc_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMisc_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMiscCollision_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaExplicitOdeSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaImplicitOdeSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMiscEngine_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMiscFem_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMiscForceField_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMiscMapping_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMiscSolver_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaMiscTopology_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\glut64.dll'. Module was built without symbols. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaGuiQt_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\QGLViewer_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\Qt5OpenGLd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\Qt5Widgetsd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\Qt5Guid.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\Qt5Cored.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\icuin51.dll'. Module was built without symbols. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\icuuc51.dll'. Module was built without symbols. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\icudt51.dll'. Module was built without symbols. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\msvcp110.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\Qt5Xmld.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaSimulationTree_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\workfile\mybuider\bin\Debug\SofaSimulationGraph_d.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\glut32.dll'. Module was built without symbols. 'XMLLoaderTest.exe' (Win32): Unloaded 'C:\Windows\System32\glut32.dll' 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\glut32.dll'. Module was built without symbols. 'XMLLoaderTest.exe' (Win32): Unloaded 'C:\Windows\System32\glut32.dll' 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\imageformats\qgifd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\imageformats\qicod.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\imageformats\qjpegd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\imageformats\qmngd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\imageformats\qsvgd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\bin\Qt5Svgd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\imageformats\qtgad.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\imageformats\qtiffd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\imageformats\qwbmpd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Qt\5.2.1\msvc2012_64_opengl\plugins\platforms\qwindowsd.dll'. Symbols loaded. 'XMLLoaderTest.exe' (Win32): Loaded 'D:\Program Files (x86)\360\360AP\360WifiSchool64.dllhook.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\version.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\wtsapi32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\winnsi.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\profapi.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\nvoglv64.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\dbghelp.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\ntmarta.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\Wldap32.dll'. Cannot find or open the PDB file. The thread 0x389c has exited with code 0 (0x0). The thread 0x3838 has exited with code 0 (0x0). The thread 0x3c28 has exited with code 0 (0x0). The thread 0xf98 has exited with code 0 (0x0). 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\powrprof.dll'. Cannot find or open the PDB file. 'XMLLoaderTest.exe' (Win32): Unloaded 'C:\Windows\System32\powrprof.dll' 'XMLLoaderTest.exe' (Win32): Loaded 'C:\Windows\System32\winsta.dll'. Cannot find or open the PDB file. First-chance exception at 0x000007FEDD764362 (SofaGuiQt_d.dll) in XMLLoaderTest.exe: 0xC0000005: Access violation reading location 0x0000000000000000. Unhandled exception at 0x000007FEDD764362 (SofaGuiQt_d.dll) in XMLLoaderTest.exe: 0xC0000005: Access violation reading location 0x0000000000000000.
25 November 2016 at 13:39 in reply to: [SOLVED] The problem of writing scene in C++ by loading XML file #7991CocoBlockedHi jnbrunet,
My project was built in the folder of SofaTutorials.I just run it in debug and find an error at line
sofa::gui::GUIManager::createGUI(groot);
Here is the tips
Unhandled exception at 0x000007FED7D94362 (SofaGuiQt_d.dll) in XMLLoaderTest.exe: 0xC0000005: Access violation reading location 0x0000000000000000.Do you know what’s wrong with my project?
25 November 2016 at 05:22 in reply to: [SOLVED] The problem of writing scene in C++ by loading XML file #7987CocoBlockedHi jnbrunet,
Thanks for your help!
I would run my application in debug and contact you later.24 November 2016 at 15:19 in reply to: [SOLVED] The problem of writing scene in C++ by loading XML file #7983CocoBlockedThanks jnbrunet,
I get your meaning and change the file directory for full path, the error is solved.As well as I find that the resource file directory in the XML file must be changed for the full path too.
After all the errors are solved.It pops up a dialog and displays There was a problem, cause the program to stop working, please turn off the process
I don’t know what’s wrong with it.24 November 2016 at 14:10 in reply to: [SOLVED] The problem of writing scene in C++ by loading XML file #7981CocoBlockedHi jnbrunet,
There is no error while compiling the code,so I don’t know why setting the environment variable?
So sorry! -
AuthorPosts