High-quality-ellipse-detection icon indicating copy to clipboard operation
High-quality-ellipse-detection copied to clipboard

Error on mexing the file

Open dipu641298 opened this issue 5 years ago • 5 comments

Hi I am getting this error can anyone tell me what is the issue ?

Error using mex C:\opencv\build\x64\vc11\lib\opencv_core249.lib: error adding symbols: File in wrong format collect2.exe: error: ld returned 1 exit status

I ran this command :

mex generateEllipseCandidates.cpp -IC:\opencv\build\include -IC:\opencv\build\include\opencv -IC:\opencv\build\include\opencv2 -LC:\opencv\build\x64\vc11\lib -I'C:\Program Files\Polyspace\R2019a\extern\include' -L'C:\Program Files\Polyspace\R2019a\extern\lib\win64\microsoft' -lopencv_core249 -lopencv_highgui249 -lopencv_imgproc249 -llibmwlapack.lib

dipu641298 avatar Sep 30 '19 06:09 dipu641298

Hi I am getting this error can anyone tell me what is the issue ?

Error using mex C:\opencv\build\x64\vc11\lib\opencv_core249.lib: error adding symbols: File in wrong format collect2.exe: error: ld returned 1 exit status

I ran this command :

mex generateEllipseCandidates.cpp -IC:\opencv\build\include -IC:\opencv\build\include\opencv -IC:\opencv\build\include\opencv2 -LC:\opencv\build\x64\vc11\lib -I'C:\Program Files\Polyspace\R2019a\extern\include' -L'C:\Program Files\Polyspace\R2019a\extern\lib\win64\microsoft' -lopencv_core249 -lopencv_highgui249 -lopencv_imgproc249 -llibmwlapack.lib

I meet the same problem. Has this problem been solved?

libbyzx avatar Oct 02 '19 08:10 libbyzx

Hi I am getting this error can anyone tell me what is the issue ? Error using mex C:\opencv\build\x64\vc11\lib\opencv_core249.lib: error adding symbols: File in wrong format collect2.exe: error: ld returned 1 exit status I ran this command : mex generateEllipseCandidates.cpp -IC:\opencv\build\include -IC:\opencv\build\include\opencv -IC:\opencv\build\include\opencv2 -LC:\opencv\build\x64\vc11\lib -I'C:\Program Files\Polyspace\R2019a\extern\include' -L'C:\Program Files\Polyspace\R2019a\extern\lib\win64\microsoft' -lopencv_core249 -lopencv_highgui249 -lopencv_imgproc249 -llibmwlapack.lib

I meet the same problem. Has this problem been solved?

No..!! Till now I haven't found any solution. I will let you know if I find any. And I hope you'll let me know too if you find any solution.

dipu641298 avatar Oct 02 '19 16:10 dipu641298

OK! No problem. Thank you very much.

On Thu, Oct 3, 2019 at 12:21 AM Md. Shafiur Rahman [email protected] wrote:

No..!! Till now I haven't found any solution. I will let you know if I find any. And I hope you'll let me know too if you find any solution.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/AlanLuSun/High-quality-ellipse-detection/issues/11?email_source=notifications&email_token=AIBFWHJAGJUYY6QBDOXVS7TQMTDBDA5CNFSM4I3WMUAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAFK3VQ#issuecomment-537570774, or mute the thread https://github.com/notifications/unsubscribe-auth/AIBFWHKVTQ7S2SA3UMCOAO3QMTDBDANCNFSM4I3WMUAA .

libbyzx avatar Oct 03 '19 01:10 libbyzx

一样的错误! 我在尝试这个方案后解决了!!https://blog.csdn.net/Crystal_colouro/article/details/82960660

xinzhengyi avatar Jan 02 '20 16:01 xinzhengyi

@xinzhengyi 还需要下载VS软件?我安装的是Matlab2017和mingw64,mex失败了

real-lixin avatar Aug 17 '20 05:08 real-lixin