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

Walter Roberson
Walter Roberson 2017년 7월 3일
Which compiler did you install?
https://gcc.gnu.org/onlinedocs/libgomp/
albert tsao
albert tsao 2017년 7월 3일
MinGW64 from here https://www.mathworks.com/matlabcentral/fileexchange/52848-matlab-support-for-mingw-w64-c-c++-compiler

댓글을 달려면 로그인하십시오.

 채택된 답변

albert tsao
albert tsao 2017년 7월 4일
편집: Walter Roberson 2017년 8월 17일

1 개 추천

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.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

질문:

2017년 7월 3일

편집:

2017년 8월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by