Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get it compiled on Matlab 2016a #8

Open
KimSeolHa opened this issue May 11, 2019 · 2 comments
Open

Can't get it compiled on Matlab 2016a #8

KimSeolHa opened this issue May 11, 2019 · 2 comments

Comments

@KimSeolHa
Copy link

KimSeolHa commented May 11, 2019

Hi,
I can't compile the Matlab code..
The problem is like this.

JacoMexInterface.cpp c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(22) : error C2332: 'enum' : missing tag name c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : error C2236: unexpected 'class' 'FunctionIndices'. Did you forget a ';'? c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : error C3381: 'FunctionIndices' : assembly access specifiers are only available in code compiled with a /clr option c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(24) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(24) : error C2864: 'FunctionIndices::kOpenLibrary' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(25) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(25) : error C2864: 'FunctionIndices::kCloseLibrary' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(26) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(26) : error C2864: 'FunctionIndices::kGetJointsPosition' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(27) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(27) : error C2864: 'FunctionIndices::kGetJointsVelocity' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(28) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(28) : error C2864: 'FunctionIndices::kGetJointsTorque' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(29) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(29) : error C2864: 'FunctionIndices::kGetJointsTemperature' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(30) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(30) : error C2864: 'FunctionIndices::kGetEndEffectorPose' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(31) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(31) : error C2864: 'FunctionIndices::kGetEndEffectorWrench' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(32) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(32) : error C2864: 'FunctionIndices::kMoveToHomePosition' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(33) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(33) : error C2864: 'FunctionIndices::kSetPositionControlMode' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(34) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(34) : error C2864: 'FunctionIndices::kSetDirectTorqueControlMode' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(35) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(35) : error C2864: 'FunctionIndices::kRunGravityCalibration' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(36) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(36) : error C2864: 'FunctionIndices::kInitializeFingers' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(37) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(37) : error C2864: 'FunctionIndices::kSendJointPositions' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(38) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(38) : error C2864: 'FunctionIndices::kSendJointAndFingerPositions' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(39) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(39) : error C2864: 'FunctionIndices::kSendJointVelocities' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(40) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(40) : error C2864: 'FunctionIndices::kSendJointTorques' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(41) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(41) : error C2864: 'FunctionIndices::kSendFingerPositions' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(42) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(42) : error C2864: 'FunctionIndices::kSendCartesianPositions' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(43) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(43) : error C2864: 'FunctionIndices::kSendCartesianVelocity' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(44) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(44) : error C2864: 'FunctionIndices::kGetDOF' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(45) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(45) : error C2864: 'FunctionIndices::kStartForceControl' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(46) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(46) : error C2864: 'FunctionIndices::kStopForceControl' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(47) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(47) : error C2864: 'FunctionIndices::kGetEndEffectorOffset' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(48) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(48) : error C2864: 'FunctionIndices::kSetEndEffectorOffset' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(49) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(49) : error C2864: 'FunctionIndices::kGetProtectionZone' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(50) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(50) : error C2864: 'FunctionIndices::kEraseProtectionZones' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(51) : error C2864: 'FunctionIndices::kSetProtectionZone' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(52) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(52) : error C2864: 'FunctionIndices::kGetGlobalTrajectoryInfo' : only static const integral data members can be initialized within a class c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(53) : error C2059: syntax error : '}' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(119) : error C3861: 'round': identifier not found C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(180) : error C2039: 'kOpenLibrary' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(180) : error C2065: 'kOpenLibrary' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(180) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(183) : error C2039: 'kCloseLibrary' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(183) : error C2065: 'kCloseLibrary' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(183) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(186) : error C2039: 'kGetJointsPosition' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(186) : error C2065: 'kGetJointsPosition' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(186) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(189) : error C2039: 'kGetJointsVelocity' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(189) : error C2065: 'kGetJointsVelocity' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(189) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(192) : error C2039: 'kGetJointsTorque' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(192) : error C2065: 'kGetJointsTorque' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(192) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(195) : error C2039: 'kGetJointsTemperature' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(195) : error C2065: 'kGetJointsTemperature' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(195) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(198) : error C2039: 'kGetEndEffectorPose' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(198) : error C2065: 'kGetEndEffectorPose' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(198) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(201) : error C2039: 'kGetEndEffectorWrench' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(201) : error C2065: 'kGetEndEffectorWrench' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(201) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(204) : error C2039: 'kMoveToHomePosition' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(204) : error C2065: 'kMoveToHomePosition' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(204) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(207) : error C2039: 'kSetPositionControlMode' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(207) : error C2065: 'kSetPositionControlMode' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(207) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(210) : error C2039: 'kSetDirectTorqueControlMode' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(210) : error C2065: 'kSetDirectTorqueControlMode' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(210) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(213) : error C2039: 'kRunGravityCalibration' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(213) : error C2065: 'kRunGravityCalibration' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(213) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(216) : error C2039: 'kInitializeFingers' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(216) : error C2065: 'kInitializeFingers' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(216) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(219) : error C2039: 'kSendJointPositions' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(219) : error C2065: 'kSendJointPositions' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(219) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(222) : error C2039: 'kSendJointAndFingerPositions' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(222) : error C2065: 'kSendJointAndFingerPositions' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(222) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(225) : error C2039: 'kSendJointVelocities' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(225) : error C2065: 'kSendJointVelocities' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(225) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(228) : error C2039: 'kSendJointTorques' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(228) : error C2065: 'kSendJointTorques' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(228) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(231) : error C2039: 'kSendFingerPositions' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(231) : error C2065: 'kSendFingerPositions' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(231) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(234) : error C2039: 'kSendCartesianPositions' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(234) : error C2065: 'kSendCartesianPositions' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(234) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(237) : error C2039: 'kSendCartesianVelocity' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(237) : error C2065: 'kSendCartesianVelocity' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(237) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(240) : error C2039: 'kGetDOF' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(240) : error C2065: 'kGetDOF' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(240) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(243) : error C2039: 'kStartForceControl' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(243) : error C2065: 'kStartForceControl' : undeclared identifier C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(243) : error C2051: case expression not constant C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(246) : error C2039: 'kStopForceControl' : is not a member of 'FunctionIndices' c:\users\kinova\downloads\matlab_kinovaapi_wrapper-master2\matlab_kinovaapi_wrapper-master\jaco2communicator\jaco2sdk\JacoSDKWrapper.h(23) : see declaration of 'FunctionIndices' C:\Users\KINOVA\Downloads\matlab_Kinovaapi_wrapper-master2\matlab_Kinovaapi_wrapper-master\JACO2Communicator\JACO2SDK\JacoMexInterface.cpp(246) : fatal error C1003: error count exceeds 100; stopping compilation

So many but I think that problem is relative to one thing..
Please help me

@AsmaRoshaan
Copy link

Hi
Do you want to compile the mex file for jaco SDK ? Can you elaborate your problem?

@KimSeolHa
Copy link
Author

I want to operate Kinova LabVIEW program. To use LabVIEW program, I should use Matlab Wrapper for Kinova API. But I don't know about using Matlab Wrapper exactly..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants