mex compilation error : collect2.exe: error: ld returned 5 exit status
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi,
I'm trying to compile cpp code to create mexw64 files directly usable in Matlab.
Using "mex" function I get this error message:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/245682/image.png)
I do not ask people to give me THE solution to this trouble, but:
- Does anyone now if a document explaining all ld function exit status meanings exist? If yes, where can I find it?
- Does anyone can give me any idea of how I can find where the trouble come from? A list of checks, step by step, to ensure I finally find the solution...
I'm using MinGW34 on Matlab R2018b.
Thanks.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Call C++ from MATLAB에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!