robotology / robotology-superbuild

CMake/YCM-based superbuild to simplify the build process of robotology projects.
49 stars 48 forks source link

Problem with suberbuild on matlab #1463

Closed fils99 closed 1 year ago

fils99 commented 1 year ago

I have found the following error using superbuild on matlab:

image

Any suggestions?

traversaro commented 1 year ago

@fils99

Yes. In a nutshell, it should be sufficient to run:

sudo apt install matlab-support

and specify your MATLAB installation directory and when there is the question "Rename MATLAB's GCC libraries?" answer "Yes".

If there are no configuration question when you run , probably that means that the package is already installed. In that case, you can just reconfigure it with the command:

sudo dpkg-reconfigure matlab-support

and again, specify your MATLAB installation directory and when there is the question "Rename MATLAB's GCC libraries?" answer "Yes".

See https://github.com/robotology/robotology-superbuild/issues/64 for more background on the problem.

fils99 commented 1 year ago

Thanks @traversaro , now it works!

traversaro commented 1 year ago

I opened a PR to add this information in the documentation: https://github.com/robotology/robotology-superbuild/pull/1464 .