gnumex Icon

beta

Compile matlab mex files with gcc on Windows Platforms

User Ratings

★★★★★
★★★★
★★★
★★
3
0
0
0
1
ease 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
features 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
design 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
support 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5 3 / 5
Write a Review

User Reviews

  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    Works well for me. Matlab 2015b

    Posted 02/24/2016
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    am using matlab R2013a am trying to compile my sample program but it showing the errors: program is hello.c #include "mex.h" void mexFunction(int nlhs, mxArray *plhs[], int nrhs, const mxArray *prhs[]) { mexPrintf("Hello world!\n"); return; } the error is >> mex hello.cc C:\Users\karna\AppData\Local\Temp\mex_vPTczV\hello.obj:hello.cc:(.text+0x9): undefined reference to `mexPrintf' collect2.exe: error: ld returned 1 exit status link command: g++ -shared C:\Users\karna\AppData\Roaming\MATHWO~1\MATLAB\R2013a\gnumex\mex.def -o hello.mexw64 -LC:\Users\karna\AppData\Roaming\MATHWO~1\MATLAB\R2013a\gnumex -s C:\Users\karna\AppData\Local\Temp\mex_vPTczV\hello.obj -llibmx -llibmex -llibmat C:\PROGRA~1\MATLAB\R2013A\BIN\MEX.PL: Error: Link of 'hello.mexw64' failed. Error using mex (line 206) Unable to complete successfully. ********************************************* please help me how to fix this error.

    Posted 10/12/2015
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    A must have tool for every scholar.

    Posted 02/13/2014
  • 1 of 5 2 of 5 3 of 5 4 of 5 5 of 5

    for 64 bit minigw see tracker->bugs->Support Mingw-w64 or mailing list :[Gnumex-users] instructions for getting MinGW_w64 to work (64-bit compilation with OpenMP)

    Posted 01/31/2011

Thanks for helping keep SourceForge clean.

Screenshot instructions:
Windows
Mac
Red Hat Linux   Ubuntu

Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies
X

Briefly describe the problem (required):

Upload screenshot of ad (required):
Select a file, or drag & drop file here.

Please provide the ad click URL, if possible:

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks