Issue with remoteApi.dll 64bits Windows and Matlab
Posted: 03 Feb 2016, 12:50
Hi All,
We are currently using VREP for a engineering module in the National University of Singapore. We are having issue to run the remoteApi.dll(64bit) on a 64bits windows with Matlab 2015.
The .dll file was copied from C:\Program Files (x86)\V-REP3\V-REP_PRO_EDU\programming\remoteApiBindings\lib\lib\64 bit, we are attempting to run the simpleTest.m
Error Message in Matlab:
>> simpleTest
Program started
Running Matlab win64
Note: always make sure you use the corresponding remoteApi library
(i.e. 32bit Matlab will not work with 64bit remoteApi, and vice-versa)
Error using loadlibrary (line 447)
There was an error loading the library "C:\Users\XXXXX\Desktop\MatlabWorkspace\remoteApi.dll"
C:\Users\XXXXX\Desktop\MatlabWorkspace\remoteApi.dll is not a valid Win32 application.
Error in remApi (line 638)
loadlibrary(obj.libName,@remoteApiProto);
Error in simpleTest (line 31)
vrep=remApi('remoteApi'); % using the prototype file (remoteApiProto.m)
Caused by:
Error using loaddefinedlibrary
C:\Users\XXXXX\Desktop\MatlabWorkspace\remoteApi.dll is not a valid Win32 application.
On the other hand, we tried the remoteApi.dll(32bits) work perfectly on a 32 bits windows computer and Matlab 2014.
Does anyone similar issue before ? any solution for the problem ?
With thanks.
We are currently using VREP for a engineering module in the National University of Singapore. We are having issue to run the remoteApi.dll(64bit) on a 64bits windows with Matlab 2015.
The .dll file was copied from C:\Program Files (x86)\V-REP3\V-REP_PRO_EDU\programming\remoteApiBindings\lib\lib\64 bit, we are attempting to run the simpleTest.m
Error Message in Matlab:
>> simpleTest
Program started
Running Matlab win64
Note: always make sure you use the corresponding remoteApi library
(i.e. 32bit Matlab will not work with 64bit remoteApi, and vice-versa)
Error using loadlibrary (line 447)
There was an error loading the library "C:\Users\XXXXX\Desktop\MatlabWorkspace\remoteApi.dll"
C:\Users\XXXXX\Desktop\MatlabWorkspace\remoteApi.dll is not a valid Win32 application.
Error in remApi (line 638)
loadlibrary(obj.libName,@remoteApiProto);
Error in simpleTest (line 31)
vrep=remApi('remoteApi'); % using the prototype file (remoteApiProto.m)
Caused by:
Error using loaddefinedlibrary
C:\Users\XXXXX\Desktop\MatlabWorkspace\remoteApi.dll is not a valid Win32 application.
On the other hand, we tried the remoteApi.dll(32bits) work perfectly on a 32 bits windows computer and Matlab 2014.
Does anyone similar issue before ? any solution for the problem ?
With thanks.