Skip to content

是否支持mingw编译? #43

@howhuai

Description

@howhuai

win平台上,下载代码后,已经通过修改脚本编译了cef,并且生成了libcef_dll_wrapper.a库,编译cefviewcore时提示找不到库内方法,不知道是cef库编译错误,还是连接路径有问题?
Linking CXX static library ..\output\Release\lib\libcef_dll_wrapper.a
[ 87%] Built target libcef_dll_wrapper
[ 87%] Building CXX object src/CMakeFiles/CefViewWing.dir/Shared/Common/CefViewCoreLog.cpp.obj
[ 87%] Building CXX object src/CMakeFiles/CefViewWing.dir/Shared/Common/CefViewDebug.cpp.obj
[ 88%] Building CXX object src/CMakeFiles/CefViewWing.dir/CefWing/App/CefViewAppBase.cpp.obj
[ 88%] Building CXX object src/CMakeFiles/CefViewWing.dir/CefWing/App/CefViewOtherApp.cpp.obj
[ 89%] Building CXX object src/CMakeFiles/CefViewWing.dir/CefWing/App/CefViewRenderApp.cpp.obj
[ 89%] Building CXX object src/CMakeFiles/CefViewWing.dir/CefWing/Bridge/CefViewBridgeObject.cpp.obj
[ 90%] Building CXX object src/CMakeFiles/CefViewWing.dir/CefWing/win/main.cpp.obj
Linking CXX executable ..\output\Release\bin\CefViewWing.exe
../output/Release/lib/libcef_dll_wrapper.a(libcef_dll_wrapper.cc.obj): In function 'CefExecuteProcess(CefMainArgs const&, scoped_refptr<CefApp>, void*)':
D:/Work/Project/QCef2025/QCefView/CefViewCore/dep/cef_binary_127.3.5+g114ea2a+chromium-127.0.6533.120_windows64/libcef_dll/wrapper/libcef_dll_wrapper.cc:66: undefined reference to 'cef_api_hash'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions