bcharrow / matlab_rosbag

A small library for reading ROS bags in Matlab
BSD 3-Clause "New" or "Revised" License
101 stars 52 forks source link

Does not work with 2015a. #11

Open violapaul opened 9 years ago

violapaul commented 9 years ago

This is a great package. Love it. Particularly since I could not get ROS working on my Mac.

But the current compiled binaries do not work with 2015a.

I wonder if you could recompile with the latest version of Matlab??

Invalid MEX-file
'/Users/pviola/Code/Matlab/matlab_rosbag-0.5.0-mac64/rosbag_wrapper.mexmaci64':
dlopen(/Users/pviola/Code/Matlab/matlab_rosbag-0.5.0-mac64/rosbag_wrapper.mexmaci64,
6): Symbol not found: __ZTISt16invalid_argument
  Referenced from:
  /Users/pviola/Code/Matlab/matlab_rosbag-0.5.0-mac64/rosbag_wrapper.mexmaci64
  Expected in: /Applications/MATLAB_R2015a.app/bin/maci64/libmx.dylib
 in /Users/pviola/Code/Matlab/matlab_rosbag-0.5.0-mac64/rosbag_wrapper.mexmaci64

Error in ros.Bag (line 30)
            obj.handle = rosbag_wrapper(uint64(0), 'construct', 'ROSBagWrapper',
            obj.path);

Error in ros.Bag.load (line 19)
            obj = ros.Bag(path);
bcharrow commented 9 years ago

Great to hear you find the tool useful! I don't have a copy of Matlab 2015a, but some people in my lab do and encountered this error also. I think they have a fix and I just pinged them to comment here. If I remember, it's an issue with the version of some libraries that matlab ships with.

violapaul commented 9 years ago

Thanks so much for investigating. I do wish that ROS was more cross platform. Its very useful, but at the same time fragile.

fmina commented 9 years ago

Any update ?

fmina commented 9 years ago

Version 0.4 works fine with R2015a.

wtabib commented 8 years ago

I've recompiled 0.5 to work with Matlab R2015a on Mac OS X Yosemite. You can find it here: https://cmu.box.com/s/9hs153nwa19uqvzboglkz7y84r6jzzxg. Please let me know if you have any trouble with it.

talregev commented 8 years ago

It working on linux as it and for the windows fork.