Home › Forum › SOFA › Using SOFA › [SOLVED] Sensable Plugin
Tagged: 64_bits, Linux_ubuntu, SOFA_1512
- This topic has 6 replies, 4 voices, and was last updated 8 years ago by Hugo.
-
AuthorPosts
-
28 January 2016 at 14:56 #5402ASHBlocked
Hi all,
i successfully built sofa in ubuntu 14.0.it was working properly
For adding sensable plugin i installed open haptics driver and libraries and den tried to run SOFA but it not working showing error.The error is below
/runSofa: symbol lookup error: /home/sofa/build-release/lib/libSofaGuiQt.so.15.12.0: undefined symbol: _ZNK9QTreeView16viewportSizeHintEv
Can anyone help???7 February 2016 at 12:42 #5603ASHBlockedi am not able to built sofa with sensable plugin
can you provide me binaries of sofa with sensable plugin.12 February 2016 at 14:34 #5641HugoKeymasterDear Ash,
First, thank you for your interest in SOFA. However, please, do not multi-post a same topic (here about Sensable plugin). In case you need a quick reply, do not hesitate to subscribe to a membership with support. You can read more about the Consortium and its offer here.
About your compilation issue with the Sensable plugin, we are currently looking at it. We’ll let you know ASAP.
Unfortunately, we are not providing a separate binary version of SOFA for each plugin, this would require a huge amount of work. Again, the Consortium could provide such a service. Let us know if you need more information.
Best regards,
Hugo
1 April 2016 at 14:03 #6437NicolasBlockedHi,
I just had the same problem but with the GeomagicDriver.
If you are still looking for a solution, you have to go into the folder created by the installation of the Driver, usually /opt/geomagic_touch_device_driver/lib and remove the Qt libraries.
I hope it will be useful for you.
Nicolas.
11 August 2016 at 04:14 #7322KarBlockedHello people,
My name is Karthik. I am using SensAble – PHANTOM Omni device for my project. This requires Sensable Plugin and therefore I followed the Documentation “Installing the Sensable Plugin”. I had downloaded Phantom Drivers and the OpenHaptics libraries, tested my Omni and calibrated it as well. I had difficulty with the next step.
1. In Cmake configuration, I selected SOFA-PLUGIN_SENSABLE and CMake found all libraries and directories automatically. After Configuration step, the screen below showedInstall prefix: C:/Users/Robotics/Desktop/Eye_Surgery_Haptics_SOFA/SOFA/v16.08/build/install Boost version: 1.59.0 Boost version: 1.59.0 <strong>SofaSparseSolver: metis was not found, SparseLDLSolver won't be built SofaSparseSolver: csparse was found, SparseLUSolver and SparseCholeskySolver will be built</strong> QGLViewer: Using Qt5 SofaGUIQt: Using Qt5 <strong>SofaTest: optional dependency SofaPython NOT found, Python_test won't be built</strong> Adding Plugin Sensable Adding Application Modeler Modeler executable: Using Qt5 Modeler library: Using Qt5 Adding Application runSofa Configuring done.
Is there something wrong with the portion highlighted above? I am pointing to them because I could not run the Sensable Plugin successfully at the end.
2. Next step is to build them on VS 2015. I built the solution and the following 130 errors occurred:Severity Code Description Project File Line Suppression State Error C2143 syntax error: missing ';' before '<' (compiling source file C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp) Sensable c:\users\robotics\desktop\eye_surgery_haptics_sofa\sofa\v16.08\src\sofa-16.08\applications\plugins\sensable\OmniDriver.h 72 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp) Sensable c:\users\robotics\desktop\eye_surgery_haptics_sofa\sofa\v16.08\src\sofa-16.08\applications\plugins\sensable\OmniDriver.h 72 Error C2238 unexpected token(s) preceding ';' (compiling source file C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp) Sensable c:\users\robotics\desktop\eye_surgery_haptics_sofa\sofa\v16.08\src\sofa-16.08\applications\plugins\sensable\OmniDriver.h 72 Error C2061 syntax error: identifier 'vector' (compiling source file C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp) Sensable c:\users\robotics\desktop\eye_surgery_haptics_sofa\sofa\v16.08\src\sofa-16.08\applications\plugins\sensable\OmniDriver.h 124 Error C2143 syntax error: missing ';' before '<' (compiling source file C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp) Sensable c:\users\robotics\desktop\eye_surgery_haptics_sofa\sofa\v16.08\src\sofa-16.08\applications\plugins\sensable\NewOmniDriver.h 114 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int (compiling source file C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp) Sensable c:\users\robotics\desktop\eye_surgery_haptics_sofa\sofa\v16.08\src\sofa-16.08\applications\plugins\sensable\NewOmniDriver.h 114 Error C2238 unexpected token(s) preceding ';' (compiling source file C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp) Sensable c:\users\robotics\desktop\eye_surgery_haptics_sofa\sofa\v16.08\src\sofa-16.08\applications\plugins\sensable\NewOmniDriver.h 114 Error C2039 'forceFeedbacks': is not a member of 'sofa::component::controller::OmniData' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 190 Error C2228 left of '.size' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 190 Error C2039 'forceFeedbacks': is not a member of 'sofa::component::controller::OmniData' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 191 Error C2227 left of '->indice' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 191 Error C2039 'forceFeedbacks': is not a member of 'sofa::component::controller::OmniData' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 192 Error C2065 'vector': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 370 Error C2059 syntax error: '>' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 370 Error C2143 syntax error: missing ';' before '{' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 371 Error C2447 '{': missing function header (old-style formal list?) Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 371 Error C2065 'vector': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 397 Error C2059 syntax error: '>' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 397 Error C2065 'ffs': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 398 Error C2065 'ffs': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 399 Error C2228 left of '.size' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 399 Error C2065 'ffs': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 400 Error C2039 'forceFeedbacks': is not a member of 'sofa::component::controller::OmniData' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 518 Error C2228 left of '.size' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 518 Error C2039 'forceFeedbacks': is not a member of 'sofa::component::controller::OmniData' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 519 Error C2227 left of '->indice' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 519 Error C2039 'forceFeedbacks': is not a member of 'sofa::component::controller::OmniData' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 520 Error C2227 left of '->setReferencePosition' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\OmniDriver.cpp 520 Error C2143 syntax error: missing ';' before '<' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 89 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 89 Error C2143 syntax error: missing ';' before '<' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 90 Error C4430 missing type specifier - int assumed. Note: C++ does not support default-int Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 90 Error C2086 'int sofa::component::controller::vector': redefinition Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 90 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 132 Error C2228 left of '.size' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 132 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 133 Error C2228 left of '.size' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 133 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 135 Error C2228 left of '.size' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 135 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 137 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 137 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 137 Error C2228 left of '.stop' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 137 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 141 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 141 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 141 Error C2228 left of '.ready' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 141 Error C2065 'hHDVector': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 145 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 151 Error C2227 left of '->stateButton1' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 151 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 151 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 151 Error C2228 left of '.m_buttonState' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 151 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 152 Error C2227 left of '->stateButton2' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 152 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 152 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 152 Error C2228 left of '.m_buttonState' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 152 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 154 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 154 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 154 Error C2228 left of '.m_buttonState' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 154 Error C2228 left of '.permanent_feedback' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 154 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 155 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 155 Error C2228 left of '.currentForce' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 155 Error C2660 'hdSetDoublev': function does not take 1 arguments Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 155 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 157 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 157 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 157 Error C2228 left of '.id' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 157 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 160 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 160 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 160 Error C2228 left of '.m_buttonState' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 160 Error C2660 'hdGetIntegerv': function does not take 1 arguments Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 160 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 163 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 163 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 163 Error C2228 left of '.m_devicePosition' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 163 Error C2660 'hdGetDoublev': function does not take 1 arguments Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 163 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 181 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 181 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 181 Error C2228 left of '.pos' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 181 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 185 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 185 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 185 Error C2228 left of '.quat' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 185 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 186 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 186 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 186 Error C2228 left of '.quat' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 186 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 187 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 187 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 187 Error C2228 left of '.quat' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 187 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 188 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 188 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 188 Error C2228 left of '.quat' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 188 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 193 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 193 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 193 Error C2228 left of '.quat' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 193 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 196 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 196 Error C2228 left of '.scale' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 196 Error C2664 'sofa::defaulttype::SolidTypes<double>::Transform::Transform(sofa::defaulttype::SolidTypes<double>::Transform &&)': cannot convert argument 1 from 'sofa::defaulttype::Quat' to 'const sofa::defaulttype::SolidTypes<double>::SpatialVector &' Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 196 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 197 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 197 Error C2228 left of '.world_H_baseOmni' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 197 Error C2228 left of '.endOmni_H_virtualTool' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 197 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 206 Error C2227 left of '->angle1' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 206 Error C2660 'hdGetFloatv': function does not take 1 arguments Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 206 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 207 Error C2227 left of '->angle2' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 207 Error C2660 'hdGetFloatv': function does not take 1 arguments Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 207 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 213 Error C2228 left of '.size' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 213 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 219 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 219 Error C2228 left of '.forceFeedback' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 219 Error C2227 left of '->computeForce' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 219 Error C2065 'autreOmniDriver': undeclared identifier Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 224 Error C2227 left of '->data' must point to class/struct/union/generic type Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 224 Error C2228 left of '.servoDeviceData' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 224 Error C2228 left of '.pos' must have class/struct/union Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 224 Error C1003 error count exceeds 100; stopping compilation Sensable C:\Users\Robotics\Desktop\Eye_Surgery_Haptics_SOFA\SOFA\v16.08\src\sofa-16.08\applications\plugins\Sensable\NewOmniDriver.cpp 224
I am not sure what could have possibly gone wrong? I am not even sure what those errors mean and how to rectify them.
3. Also, I tried to use the latest source version(and compiled SOFA with Sensable) and also the binaries of SOFA(and compile the plugin separately). But, both of them showed those 130 errors.
It would be of great help if someone could help me with this issue. Thanks in Advance.12 August 2016 at 10:39 #7345HugoKeymasterDear Karthik,
To answer you point by point:
1. There is nothing wrong in the configuration. CMake just tells you that you do not have Python and metis installed.
2. The compilation crashes when it comes to the Sensable plugin. I am no expert of this plugin, but it should work for windows. We are currently working on it to release a new version of the plugin soon. I will ask other devs to look at it.
3. Indeed, nothing changes about Sensable between the v15.12 and the v16.08.Sorry not to be able to help more.
I’ll come back with more info.
Cheers,Hugo
7 November 2016 at 17:37 #7743HugoKeymasterDear Karthik,
As announced previously, we just released a Geomagic plugin dedicated to latest haptic devices Geomagic:
- pull this new plugin by updating your SOFA
- find the plugin on GitHub: sofa/applications/plugins/Geomagic/
- refer to the associated commits (747d720 and b945d51)
This plugin is compatible for both Linux and Windows.
Please, give us feedback about it!
Hope this will help you in your work,Cheers,
Hugo
-
AuthorPosts
- You must be logged in to reply to this topic.