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

Using precompiled version #1

Open
xepost opened this issue Dec 8, 2014 · 1 comment
Open

Using precompiled version #1

xepost opened this issue Dec 8, 2014 · 1 comment

Comments

@xepost
Copy link

xepost commented Dec 8, 2014

Hi,

I am using Ros-Hydro and Marlab R2014a. From the table it looks like I should better tyr the precompiled version as it is flagged as 'Working'. I am not sure how to proceed. Boosts files are inside the $matlabroot//R2014a/bin/glnxa64 but there are no include folder or lib folder.

If we use the precompiled version do we still need to compile Ros_comm?

Thanks for the help.

Bests,
Soner

@ricsp
Copy link
Contributor

ricsp commented Dec 8, 2014

Hi,
the table at the end of the page refers to whether or not the bridge itself has ever been tested with that particular combination of ros and matlab. It has nothing to do with the possibility of linking against matlab own boost libraries (which has never been tested so far).
If you want to use matlab own boost libraries (the ones in $matlabroot//R2014a/bin/glnxa64) you need to download boost (in you case version 1.49.0) from the official website but you don't need to compile it. Just specify the path of the downloaded headers and the path of matlab ".so" files when running cmake. This might work and it would probably be the best solution but it has not been tested and I am not sure that matlab contains all the necessary libraries that are required for compiling ros.
Another alternative is that you use the (still precompiled) version in boost_1_49_0_gcc_4_7.tar.bz2 and the instructions provided in the repository.
Whatever boost distribution you use, you need (in principle) to recompile ros and link it against the correct boost and std library (using the right compiler) unless your system boost and gcc versions are the same as those used by matlab (which is not the case in ubuntu).
This is necessary (or at least safer) for running the bridge in "normal" and "accelerated" modes. It might not be necessary in the "rapid accelerated" and "external modes".
I hope it is clear otherwise let me know.
Cheers.

Riccardo

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