Error compiling third party plugin
3 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Jan
2022-5-16
"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 个评论
Jan
2022-5-17
编辑:Jan
2022-5-17
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.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Troubleshooting in MATLAB Compiler SDK 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!