Error compiling third party plugin

Hi there,
I need to compile a plugin so I can use it with my current 2020 version of Matlab, it can be found here: https://www.ant-neuro.com/support/supporting-documentation-and-downloads, and can be downloaded here: http://download.ant-neuro.com/libeep/libeep-3.3.177.zip.
In the readme file of the zip file the following is stated:
How to enable the MATLAB importers:
  • *) make sure you have a working compiler toolchain(MacOSX users may need to install XCode from the app-store)
  • *) assuming you have MATLAB installed in '/opt/MATLAB' and you want your plugin to be installed in '/opt/ant-eep'(you are free to change these off-course), you can compile and install the plugin using: MATLAB=/opt/MATLAB ./configure --enable-matlab --prefix=/opt/ant-eep --with-matlab=/opt/MATLAB && make install
  • *) You may need to run 'make install' as super user, or with the sudo command on some platforms
  • *) start MATLAB, make sure the (install dir)/share/matlab path is added to MATLAB
  • *) run [my_data] = read_eep_cnt('/path/to/my_data.cnt', 1, 1024) to read the first 1024 samples
I navigated with Matlab to the libeep folder and tried to execute ./configure --enable-matlab --prefix=/opt/ant-eep --with-matlab=/opt/MATLAB && make install.
First an error message appeared asking me to install the Deep Learning Toolbox to execute the function "configure". I did this but now the command line states: Check for missing argument or incorrect argument data type in call to function 'configure'.
I am not sure how to go about this and what is needed to compile this source code, if anybody can help here I would appreciate it a lot.
Thanks!

3 commentaires

Image Analyst
Image Analyst le 16 Mai 2022
Modifié(e) : Image Analyst le 16 Mai 2022
I don't know what this means "MATLAB=/opt/MATLAB ./configure --enable-matlab --prefix=/opt/ant-eep --with-matlab=/opt/MATLAB". Is it MATLAB code that is supposed to be compiled from inside MATLAB, or some other code compiled with some other compiler? I would contact them and ask for the exact, specific line of code to compile it. I believe it will start with mcc, like
>> mcc -m whatever.m etc. etc. other options......
Anton M
Anton M le 16 Mai 2022
Hello Image Analyst, I am not sure about this either but what I understand from Jan is that another compiler like xcode is necessary to execute this so I am looking for a suitable compiler to execute this command. I will post the solution once have one. Thank you!
Jan
Jan le 17 Mai 2022
@Anton M: Both posted links are dead. Please fix them.
I assumed, you have a Mac, because the posted documentation mentions this explicitly. You can compile the code with another compiler also.

Connectez-vous pour commenter.

Réponses (1)

Jan
Jan le 16 Mai 2022
"I navigated with Matlab to the libeep folder" - the provided command is not Matlab.
Did you install XCode? Then open a command shell of the operating system an run there:
MATLAB=/opt/MATLAB ./configure --enable-matlab --prefix=/opt/ant-eep --with-matlab=/opt/MATLAB && make install
where it is assumed, that you have MATLAB installed in '/opt/MATLAB' - if not, change this accordingly.

2 commentaires

Anton M
Anton M le 16 Mai 2022
Hi Jan, thanks for your answer, I have not installed Xcode as I have a Windows Machine. I may need to use another compiler and ask for the Matlab Compiler I guess?
And thanks will change the folder path accordingly.
Jan
Jan le 17 Mai 2022
Modifié(e) : Jan le 17 Mai 2022
The Matlab Compiler compiles Matlab code. This is a different topic. You need a C/C++ compiler I assume. Please fix the links in your question to make it easy to download the libraries by our own.
But the download page contains links to pre-compiled versions also, so you do not have to compile by your own.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Troubleshooting in MATLAB Compiler SDK dans Centre d'aide et File Exchange

Produits

Question posée :

le 16 Mai 2022

Modifié(e) :

Jan
le 17 Mai 2022

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by