High-quality-ellipse-detection
High-quality-ellipse-detection copied to clipboard
无法解析的外部符号 dggev
MATLAB可以编译其他有opencv库的cpp,但是运行这个cpp文件时会出现上诉问题,用的是MATLAB2016b,opencv2.4.13.并且如果方便的话,请上传一下已经编译好的mexw64文件
我发现 似乎是缺少一个 int fitEllipse2()函数文件,看到在 generateEllipseCandidates.cpp有使用 fitEllipse2但是实际上并没有写这个函数的定义。
似乎是generateEllipseCandidates.cpp里面的这一行代码有问题4018行 dggev(&JOBVL,&JOBVR,&fitN,S,&fitN,C,&fitN,alphar,alphai,beta,vl,&fitN,vr,&fitN,fitWork,&workLen,&info);
在generateEllipseCandidates.cpp里面的4018和3918行的: dggev(&JOBVL,&JOBVR,&fitN,S,&fitN,C,&fitN,alphar,alphai,beta,vl,&fitN,vr,&fitN,fitWork,&workLen,&info); 注释掉就可以了。
注释掉程序可以跑,但是没有检测结果了
编译的时候加上-llibmwlapack.lib就可以了
编译的时候加上-llibmwlapack.lib就可以了
你好,加上-llibmwlapack.lib后还是报出相同的错误,是需要在VS中配置lapack吗
好的,谢谢
------------------ 原始邮件 ------------------ 发件人: "FZ-Huang"<[email protected]>; 发送时间: 2019年12月31日(星期二) 下午4:00 收件人: "AlanLuSun/High-quality-ellipse-detection"<[email protected]>; 抄送: "血色莱茵"<[email protected]>; "Author"<[email protected]>; 主题: Re: [AlanLuSun/High-quality-ellipse-detection] 无法解析的外部符号 dggev (#8)
编译的时候加上-llibmwlapack.lib就可以了
你好,加上-llibmwlapack.lib后还是报出相同的错误,是需要在VS中配置lapack吗
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
好的,谢谢 … ------------------ 原始邮件 ------------------ 发件人: "FZ-Huang"<[email protected]>; 发送时间: 2019年12月31日(星期二) 下午4:00 收件人: "AlanLuSun/High-quality-ellipse-detection"<[email protected]>; 抄送: "血色莱茵"<[email protected]>; "Author"<[email protected]>; 主题: Re: [AlanLuSun/High-quality-ellipse-detection] 无法解析的外部符号 dggev (#8) 编译的时候加上-llibmwlapack.lib就可以了 你好,加上-llibmwlapack.lib后还是报出相同的错误,是需要在VS中配置lapack吗 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
请问,你解决这个问题了吗
我刚刚才收到邮件,还没尝试呢
------------------ 原始邮件 ------------------ 发件人: "FZ-Huang"<[email protected]>; 发送时间: 2019年12月31日(星期二) 下午4:05 收件人: "AlanLuSun/High-quality-ellipse-detection"<[email protected]>; 抄送: "血色莱茵"<[email protected]>; "Author"<[email protected]>; 主题: Re: [AlanLuSun/High-quality-ellipse-detection] 无法解析的外部符号 dggev (#8)
好的,谢谢 … ------------------ 原始邮件 ------------------ 发件人: "FZ-Huang"<[email protected]>; 发送时间: 2019年12月31日(星期二) 下午4:00 收件人: "AlanLuSun/High-quality-ellipse-detection"<[email protected]>; 抄送: "血色莱茵"<[email protected]>; "Author"<[email protected]>; 主题: Re: [AlanLuSun/High-quality-ellipse-detection] 无法解析的外部符号 dggev (#8) 编译的时候加上-llibmwlapack.lib就可以了 你好,加上-llibmwlapack.lib后还是报出相同的错误,是需要在VS中配置lapack吗 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
请问,你解决这个问题了吗
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
我刚刚才收到邮件,还没尝试呢 … ------------------ 原始邮件 ------------------ 发件人: "FZ-Huang"<[email protected]>; 发送时间: 2019年12月31日(星期二) 下午4:05 收件人: "AlanLuSun/High-quality-ellipse-detection"<[email protected]>; 抄送: "血色莱茵"<[email protected]>; "Author"<[email protected]>; 主题: Re: [AlanLuSun/High-quality-ellipse-detection] 无法解析的外部符号 dggev (#8) 好的,谢谢 … ------------------ 原始邮件 ------------------ 发件人: "FZ-Huang"<[email protected]>; 发送时间: 2019年12月31日(星期二) 下午4:00 收件人: "AlanLuSun/High-quality-ellipse-detection"<[email protected]>; 抄送: "血色莱茵"<[email protected]>; "Author"<[email protected]>; 主题: Re: [AlanLuSun/High-quality-ellipse-detection] 无法解析的外部符号 dggev (#8) 编译的时候加上-llibmwlapack.lib就可以了 你好,加上-llibmwlapack.lib后还是报出相同的错误,是需要在VS中配置lapack吗 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. 请问,你解决这个问题了吗 — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.
你好,我通过将作者提供的mex操作指令去掉末尾的“.lib”后,成功实现了编译,改为以下指令即可(具体路径需要修改成你的对应路径): mex generateEllipseCandidates.cpp -IF:\OpenCV\opencv2.4.9\build\include -IF:\OpenCV\opencv2.4.9\build\include\opencv -IF:\OpenCV\opencv2.4.9\build\include\opencv2 -LF:\OpenCV\opencv2.4.9\build\x64\vc11\lib -IF:\Matlab\settlein\extern\include -LF:\Matlab\settlein\extern\lib\win64\microsoft -lopencv_core249 -lopencv_highgui249 -lopencv_imgproc249 -llibmwlapack