Forum Replies Created
-
AuthorPosts
-
4 March 2016 at 19:54 in reply to: [SOLVED] Sensable plugin cannot be added into plugin manager #6047ceceyangBlocked
One more thing, previously (when this ran properly) this plugin was called Sensable_1_0d.dll. It is now called Sensable_d.dll.
SOFA complains Plugin loading failed (C:/sofaSourceAndBuild/sofa2016/sofabuild02/bin/Debug/Sensable_d.dll): %1 is not a valid Win32 application.
Again, Depends of Sensable_d.dll is indicating that HD.dll is not properly linked, despite the fact we’ve added HD.dll and HL.dll to the same directory, albeit belatedly.
4 March 2016 at 19:41 in reply to: [SOLVED] Sensable plugin cannot be added into plugin manager #6046ceceyangBlockedHi,
this is Cece and her advisor, Michel. We are seeing the following behavior using Dependency Walker on the Sensable Plugin… Using Depends software, it looks like HD.dll is not being linked properly, even though it is in the same directory as the Sensable Plugin. If we look at the old implementation, Depends is not finding an issue with a missing haptics dll in the previous Sensable Plugin. We are open to suggestions.
Michel and Cece
ceceyangBlockedDear Hugo,
As Dr.Audette said, I received his scene file, however we found the Carving plugin didn’t load properly in SOFA. Since our old sofa version is 3-years-ago, we decided to use the newest one. And now we are facing new problems.
I posted my new question in the topic: Toolbar missing, which you answered already.
Best
CecececeyangBlockedThank you !
ceceyangBlockedOk…so now I completely have no idea of the missing of toolbar.
Yes. I git the 15.12 few weeks ago.
ceceyangBlockedI don’t know whether is the missing of metis, image causes toolbar problem and those warning.
Is there anyone know what causes it?
22 January 2016 at 14:11 in reply to: [SOLVED] NewOmniDriver: GNode cannot access protected member #5368ceceyangBlockedThank you guys so much.
And thanks again Remi, by replacing return with:
if (parentRoot->getParent()[0])
parentRoot = dynamic_cast<sofa::simulation::tree::GNode*>(parentRoot->getParent()[0]);the error was fixed. 🙂
21 January 2016 at 19:26 in reply to: [SOLVED] NewOmniDriver: GNode cannot access protected member #5361ceceyangBlockedAbout this error:
conditional expression of type ‘sofa::core::objectmodel::BaseNode::Parents’ is illegal[if (parentRoot->getParents())
parentRoot = dynamic_cast<sofa::simulation::tree::GNode*>(parentRoot->getParents())]should it be like:
if (parentRoot->getParents())
parentRoot = parentRoot->getParents();
?I change it into above, then got an new error…
error C2440: ‘=’ : cannot convert from ‘sofa::core::objectmodel::BaseNode::Parents’ to ‘sofa::simulation::tree::GNode *’21 January 2016 at 17:06 in reply to: [SOLVED] NewOmniDriver: GNode cannot access protected member #5360ceceyangBlockedHello Hugo,
I followed you and Remi’s advices, made this change in NewOmniDriver.cpp:
if (parentRoot->getParents())
parentRoot = dynamic_cast<sofa::simulation::tree::GNode*>(parentRoot->getParents());And this in .h:
GNode* getParents();
void setParents(GNode* parentRoot);Fortunately, the GNode protected problem disappeared, but I got new errors, and two of them I have no idea of how to solve:
error C2681: ‘sofa::core::objectmodel::BaseNode::Parents’ : invalid expression type for dynamic_cast
error C2451: conditional expression of type ‘sofa::core::objectmodel::BaseNode::Parents’ is illegalSo, do you have any idea?
Thank you guys sooo much for your time spent on my questions!Cece
19 January 2016 at 19:01 in reply to: [SOLVED] NewOmniDriver: GNode cannot access protected member #5342ceceyangBlockedFor the question parents/parent. I found answer. Thx
19 January 2016 at 17:33 in reply to: [SOLVED] NewOmniDriver: GNode cannot access protected member #5340ceceyangBlockedSeems I should click reply to you.
19 January 2016 at 17:32 in reply to: [SOLVED] NewOmniDriver: GNode cannot access protected member #5339ceceyangBlockedBTW, what I did was added:
GNode* getroot();
void setroot(GNode* root);
in NewOmniDriver.halso in NewOmniDriver.cpp:
template <class DataTypes>
void
NewOmniDriver<DataTypes>::setRoot(GNode* root){
Parentroot = root;
}
template <class DataTypes>
GNode* NewOmniDriver<DataTypes>::getRoot(){
return Parentroot;
}Do you guys think this is necessary or not?
19 January 2016 at 17:30 in reply to: [SOLVED] NewOmniDriver: GNode cannot access protected member #5338ceceyangBlockedHello guys,
I am a beginner programmer, so .. Do you guys means I can change
GNode* getroot();
void setroot(GNode* root);to:
GNode* getParent(); (Parents? or Parent)
void setParent(GNode* root);in NewOmniDriver.h
Cece
ceceyangBlockedThank you 🙂
-
AuthorPosts