Home › Forum › SOFA › Building SOFA › [SOLVED] Problem with the sensable driver while building
Tagged: 64_bits, GCC, Linux_ubuntu, Sensable plugin, SOFA_1608
- This topic has 3 replies, 2 voices, and was last updated 8 years, 5 months ago by
malli.
-
AuthorPosts
-
22 September 2016 at 12:15 #7499
malli
BlockedHere is the error I got while building sofa with sensable plugin
In file included from /home/mallikarjuna/sofa/v16.08/src/applications/plugins/Sensable/NewOmniDriver.h:56:0,
from /home/mallikarjuna/sofa/v16.08/src/applications/plugins/Sensable/NewOmniDriver.cpp:23:
/home/mallikarjuna/sofa/v16.08/src/SofaKernel/SofaSimulation/../modules/SofaSimulationTree/GNode.h: In member function ‘virtual void sofa::component::controller::NewOmniDriver::init()’:
/home/mallikarjuna/sofa/v16.08/src/SofaKernel/SofaSimulation/../modules/SofaSimulationTree/GNode.h:151:19: error: ‘sofa::simulation::tree::GNode* sofa::simulation::tree::GNode::parent() const’ is protected
inline GNode* parent() const { return l_parent.get(); }
^
/home/mallikarjuna/sofa/v16.08/src/applications/plugins/Sensable/NewOmniDriver.cpp:544:28: error: within this context
if (parentRoot->parent())
^
In file included from /home/mallikarjuna/sofa/v16.08/src/applications/plugins/Sensable/NewOmniDriver.h:56:0,
from /home/mallikarjuna/sofa/v16.08/src/applications/plugins/Sensable/NewOmniDriver.cpp:23:
/home/mallikarjuna/sofa/v16.08/src/SofaKernel/SofaSimulation/../modules/SofaSimulationTree/GNode.h:151:19: error: ‘sofa::simulation::tree::GNode* sofa::simulation::tree::GNode::parent() const’ is protected
inline GNode* parent() const { return l_parent.get(); }
^
/home/mallikarjuna/sofa/v16.08/src/applications/plugins/Sensable/NewOmniDriver.cpp:545:41: error: within this context
parentRoot = parentRoot->parent();
^Please give me solution for the above errors.
thank you22 September 2016 at 13:59 #7500jnbrunet
ModeratorHi Malli,
I believe you could look at the pull request I just made :
https://github.com/sofa-framework/sofa/pull/22
The commit should fix your compilation error.
Hope that helps,
Jean-Nicolas27 September 2016 at 09:35 #7552jnbrunet
ModeratorI’m gonna mark this thread as solved since you seems to have successfully built the component in your other thread.
For everyone that just got here, this is the followup thread :
https://www.sofa-framework.org/community/forum/topic/problem-while-opening-the-sensable-example/
Jean-Nicolas
27 September 2016 at 18:35 #7556malli
BlockedThank you J-N for your support…. I am extremely glad for the kind of support of SOFA providing to the users…
-
AuthorPosts
- You must be logged in to reply to this topic.