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

Compilations fail with Matlab2019b on Macos #46

Open
lrapetti opened this issue Sep 27, 2019 · 3 comments
Open

Compilations fail with Matlab2019b on Macos #46

lrapetti opened this issue Sep 27, 2019 · 3 comments

Comments

@lrapetti
Copy link
Member

Compilation is failing with the following error message:

$ make
[  9%] Built target mxpp
[ 28%] Built target shlibpp
[ 71%] Built target Core
[ 80%] Built target SimulinkCoder
[ 85%] Linking CXX shared library ../../lib/BlockFactory.mexmaci64
Undefined symbols for architecture x86_64:
  "_mexfilerequiredapiversion", referenced from:
     -exported_symbol[s_list] command line option
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/BlockFactory.mexmaci64] Error 1
make[1]: *** [sources/Simulink/CMakeFiles/Simulink.dir/all] Error 2
make: *** [all] Error 2
@lrapetti
Copy link
Member Author

Possibly duplicated of #4

@traversaro
Copy link
Member

We probably need to bump up the request that I made in https://it.mathworks.com/matlabcentral/answers/377799-compiling-mex-files-without-the-mex-command to MathWorks about detailed compilation instructions also on macOS, so that we can update the CMake code to compile mex extensions. To increase its visibility, it would be great if someone could open a new question in https://it.mathworks.com/matlabcentral/answers .

@lrapetti
Copy link
Member Author

The problem was fixed by #4 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants