AlanLuSun / High-quality-ellipse-detection

A high-quality ellipse detector based on arc-support line segments which can both accurately and efficiently detect ellipses in images.
459 stars 145 forks source link

Error on mexing the file #11

Open dipu641298 opened 5 years ago

dipu641298 commented 5 years ago

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

libbyzx commented 5 years ago

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?

dipu641298 commented 5 years ago

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.

libbyzx commented 5 years ago

OK! No problem. Thank you very much.

On Thu, Oct 3, 2019 at 12:21 AM Md. Shafiur Rahman notifications@github.com 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 .

xinzhengyi commented 4 years ago

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

real-lixin commented 4 years ago

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