Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请问支持opencv 3.2.0 版本的x86平台编译吗 #322

Open
qd1332543 opened this issue Sep 24, 2021 · 0 comments
Open

请问支持opencv 3.2.0 版本的x86平台编译吗 #322

qd1332543 opened this issue Sep 24, 2021 · 0 comments

Comments

@qd1332543
Copy link

qd1332543 commented Sep 24, 2021

I'm submitting a ... (check one with "x")

[x ] bug report
[x] help wanted
[ ] feature request

Current behavior
我下载opencv 3.2.0版本,但是貌似该工具只支持x64平台编译,强行编译x86会报错。
错误代码:

8>thirdparty.lib(helper.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(feature.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(create_data.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>thirdparty.lib(mser2.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>thirdparty.lib(lbp.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(plate_recognize.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(svm_train.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(ann_train.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(annCh_train.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(chars_segment.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(chars_identify.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(core_func.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(chars_recognise.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>main.obj : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(plate_locate.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(plate_judge.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(plate_detect.obj) : error LNK2001: unresolved external symbol "void __cdecl cv::fastFree(void *)" (?fastFree@cv@@YAXPAX@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(feature.obj) : error LNK2001: unresolved external symbol "private: char * __thiscall cv::String::allocate(unsigned int)" (?allocate@String@cv@@AAEPADI@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>thirdparty.lib(mser2.obj) : error LNK2001: unresolved external symbol "private: char * __thiscall cv::String::allocate(unsigned int)" (?allocate@String@cv@@AAEPADI@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>thirdparty.lib(helper.obj) : error LNK2001: unresolved external symbol "private: char * __thiscall cv::String::allocate(unsigned int)" (?allocate@String@cv@@AAEPADI@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(plate_recognize.obj) : error LNK2001: unresolved external symbol "private: char * __thiscall cv::String::allocate(unsigned int)" (?allocate@String@cv@@AAEPADI@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]
8>easypr.lib(svm_train.obj) : error LNK2001: unresolved external symbol "private: char * __thiscall cv::String::allocate(unsigned int)" (?allocate@String@cv@@AAEPADI@Z) [F:\EasyPR\EasyPR\build_x86\demo.vcxproj]

错误文档在附件中可以找到
build_x86.log

Expected/desired behavior
编译通过

Reproduction of the problem

What is the expected behavior?

希望提供解答,如何编译x86平台?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • System: Window Server 2016

  • Compiler version/IDE: MSVC 14.29.30133

  • CMake version: 3.19.6

  • OpenCV version: 3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant