English 中文(简体)
汇编马特拉布Windows下的舒贡工具箱
原标题:Compiling the Shogun toolbox under Windows for Matlab

我很想知道,你们当中的任何人是否都取得了成功和(或)能够帮助我在Windows环境和Matlab接口下的舒贡图书馆,因为我似乎无法对其进行汇编,尽管根据阅读/手册,图书馆应当发挥作用。

我有:

  • Windows 7 64bit
  • latest Shogun src package
  • Matlab 2010b 64bit
  • latest Cygwin (running with administrator privileges)

至少有两个错误:

  • After the config script successfully detects Matlab, it fails to detect "Matlab developer support" and quits with "Error: could not find matlab developer files (e.g. mex.h)" (Matlab is in the path). The strangest thing is that after it fails, it starts and quits Matlab two times.
  • But even if I run ./configure only for the basic libshogun and libshogunui interfaces (without matlab), make still fails (./configure succeeds though). While compiling, I got loads of warnings and all seem to be related with the -pthread option. And I also got several error messages all being in HDF5File.cpp, then make fails. I have cygwin s default HDF5 (version 1.8.6), the Shogun manual does not mention any incompatibilities or parameters to set up.

我只拥有“Windows”的Matlab,我试图将包裹编成“Utu”的包裹,但与“Josave”的接口没有成功。

任何想法都值得赞赏。

<><>>:>

新的Shogun版本已经过时,也产生了同样的错误。 我试图将它汇编成另一个常设仲裁法院,结果相同(尽管其中一人也是Win7x64公司)。

问题回答

这可能是一个汇编问题。 64-bit MATLAB需要一名外部MEX汇编员。 见

Note that GCC isn t officially supported, but the GNUMEX project may help: http://gnumex.sourceforge.net/.

Please try to use the latest version of Shogun, i.e. checkout the developer branch of the official git repository.

after that follow the instructions here: https://github.com/shogun-toolbox/shogun/blob/develop/doc/md/INSTALL.md#matlab





相关问题
java in-memory on-the-fly class compilation (and loading)

I want to revisit an old question of mine about in-memory "compilation" of classes. Since about 1/2 a year have passed since I asked (and was somewhat answered), I d like to re-raise the issue and see ...

(c)make - resursive compile

Let s assume I have directories like: dir1 main.cpp dir2 abc.cpp dir3 def.cpp dir4 ghi.cpp jkl.cpp And let s assume that main.cpp ...

How to link to a static library in C?

I use code::blocks to compile my static library. The output result is a libstatic.a file. Now, how do I link to my library to use functions that were compiled? (I tried to use #include "libstatic.a"...

Statically linking Winsock?

I m using Winsock 1.1 in my project. I include wsock32.lib in "Additional Dependencies". I m looking at the DLL project using depends.exe and notice that the DLL depends on wsock32.dll. How can I ...

热门标签