gerald-lindsly / mongo-matlab-driver

Matlab driver for MongoDB
http://cnub.org/MongoMatlabDriver.ashx
Apache License 2.0
33 stars 13 forks source link

Error using loadlibrary #4

Open andreea22 opened 12 years ago

andreea22 commented 12 years ago

Hello,

I am trying to use MongoDB with Matlab and I can't make it work. When I try to run MongoTest (in Matlab) i have this error: (I am using Matlab R2011b on Windows 64-bit )

Error using loadlibrary (line 421) There was an error loading the library "C:\Program Files (x86)\MATLAB\R2011b\bin\mongoDB\MongoMatlabDriver.dll" C:\Program Files (x86)\MATLAB\R2011b\bin\mongoDB\MongoMatlabDriver.dll is not a valid Win32 application.

Error in MongoStart (line 17) [notfound, warnings] = loadlibrary('MongoMatlabDriver', 'MongoMatlabDriver.h');

Caused by: Error using loaddefinedlibrary C:\Program Files (x86)\MATLAB\R2011b\bin\mongoDB\MongoMatlabDriver.dll is not a valid Win32 application.

Do you know which could be the cause? Regards, Andreea

gerald-lindsly commented 12 years ago

Andreea,

Can you give me more information regarding your machine and configuration?

Gerald

On Fri, May 18, 2012 at 7:44 AM, andreea22 < reply@reply.github.com

wrote:

Hello,

I am trying to use MongoDB with Matlab and I can't make it work. When I try to run MongoTest (in Matlab) i have this error: (I am using Matlab R2011b on Windows 64-bit )

Error using loadlibrary (line 421) There was an error loading the library "C:\Program Files (x86)\MATLAB\R2011b\bin\mongoDB\MongoMatlabDriver.dll" C:\Program Files (x86)\MATLAB\R2011b\bin\mongoDB\MongoMatlabDriver.dll is not a valid Win32 application.

Error in MongoStart (line 17) [notfound, warnings] = loadlibrary('MongoMatlabDriver', 'MongoMatlabDriver.h');

Caused by: Error using loaddefinedlibrary C:\Program Files (x86)\MATLAB\R2011b\bin\mongoDB\MongoMatlabDriver.dll is not a valid Win32 application.

Do you know which could be the cause? Regards, Andreea


Reply to this email directly or view it on GitHub: https://github.com/gerald-lindsly/mongo-matlab-driver/issues/4