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

Matlab interface not installed #27

Closed
dpo opened this issue Feb 2, 2015 · 3 comments
Closed

Matlab interface not installed #27

dpo opened this issue Feb 2, 2015 · 3 comments

Comments

@dpo
Copy link
Contributor

dpo commented Feb 2, 2015

I'm building the Matlab interface with -DMATLAB_MEX=/path/to/mex on OSX. The interface is being built, but make install seems to ignore it.

@vitaut
Copy link
Contributor

vitaut commented Feb 2, 2015

Fixed in cd35583. Thanks for reporting!

@vitaut vitaut closed this as completed Feb 2, 2015
@dpo
Copy link
Contributor Author

dpo commented Feb 3, 2015

I think there's another issue with the naming of the MEX files. make install says

CMake Error at src/asl/cmake_install.cmake:55 (file):
  file INSTALL cannot find
  "/tmp/ampl-mp-NOSSl2/mp-1.3.0/bin/amplfunc.mexmac".

In the bin directory, there are

amplfunc.mexmac.mexmaci64
spamfunc.mexmac.mexmaci64

but no *.mexmac. They should probably be called amplfunc.mexmaci64 and spamfunc.mexmaci64 because those are the names Matlab will be looking for.

@vitaut vitaut reopened this Feb 3, 2015
@vitaut
Copy link
Contributor

vitaut commented Feb 3, 2015

Fixed in c96b919, thanks!

@vitaut vitaut closed this as completed Feb 3, 2015
glebbelov added a commit that referenced this issue Aug 12, 2024
Remaining: add result explicifiers for those expressions which need it
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