Skip to content

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

Description

@JunchenMeteor

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions