adding openmp compiler to matlab 2015b

4 views (last 30 days)
I am trying to compile the multicore version of liblinear, but run into the following error: "MEX cannot find library 'gomp'" which is because the compiler I'm using doesn't support openmp?
how can I add a free compiler on my system (windows 10)?
  2 Comments
albert tsao
albert tsao on 3 Jul 2017
MinGW64 from here https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c++-compiler

Sign in to comment.

Accepted Answer

albert tsao
albert tsao on 4 Jul 2017
Edited: Walter Roberson on 17 Aug 2017
1. Install TDM-GCC independently from http://tdm-gcc.tdragon.net/ (I installed 5.1.0)
2. Link til libgomp.a in that installation when compilling your mex file.

More Answers (0)

Categories

Find more on Simulink Compiler in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!