- This topic has 2 replies, 2 voices, and was last updated 4 years, 6 months ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Home › Forum › SOFA › Building SOFA › [SOLVED] Compilation error when SOFA_DUMP_VISITOR_INFO is toggled
Tagged: 64_bits, GCC, Linux_ubuntu, Profiling, SOFA_1912
Hello everyone,
I want to have a look at where the time is spent in my simulations.
I plan to use the profiler with a graphical interface.
In cmake-gui, I toggle SOFA_DUMP_VISITOR_INFO
and compile with make or ninja.
The compilation fails and the first error I get is the following:
sofa/src/applications/sofa/gui/qt/GraphVisitor.h:37:10: fatal error: 'tinystr.h' file not found
The problem only appear when SOFA_DUMP_VISITOR_INFO
is toggled.
Has anyone experienced the same problem?
Cheers
Hi @marcomag
Thanks for reporting this issue.
I just compiled with this option (basically recompiled SOFA!) and I got the same error.
The problem comes from the absence of a dependency on tinyxml. I created the PR #1415 which fixes it. Could you give it a try? If it solves your issue as well I let you close this topic.
Thanks for your valuable remark.
Hugo
Hi Hugo,
The modifications of the PR solve the problem.
Thank you!
WARNING
The forum has been moved to GitHub Discussions.
Old topics and replies are kept here as an archive.