-
Notifications
You must be signed in to change notification settings - Fork 57
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
构建失败 #20
Labels
good first issue
Good for newcomers
Comments
检查一下是否下载并解压放置了readme中提到的对应架构的库压缩包? |
我也遇到这个问题 请问放置到哪个目录下 |
@iOSluozhiping |
我是intel的 下载了intel的包 |
@iOSluozhiping 删除example/macos/Profile.lock后,在example中执行下flutter clean后再次尝试运行 |
可以了 谢谢 如果我想在自己项目里用 该放到哪里 |
@iOSluozhiping 目前可以放在pub自动下载的缓存文件里,后续会想办法优化依赖的下载 |
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
该插件无法通过编译,所有日志如下:
Launching lib/main.dart on macOS in debug mode...
Building macOS application...
Undefined symbols for architecture x86_64:
"CefURIEncode(CefStringBase const&, bool)", referenced from:
(anonymous namespace)::GetDataURI(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in cef_bridge.o
"CefInitialize(CefMainArgs const&, CefStructBase const&, scoped_refptr, void*)", referenced from:
+[CefWrapper startCef] in CefWrapper.o
"CefCurrentlyOn(cef_thread_id_t)", referenced from:
SimpleApp::OnContextInitialized() in cef_bridge.o
SimpleHandler::OnTitleChange(scoped_refptr, CefStringBase const&) in cef_bridge.o
SimpleHandler::OnAfterCreated(scoped_refptr) in cef_bridge.o
SimpleHandler::DoClose(scoped_refptr) in cef_bridge.o
SimpleHandler::OnBeforeClose(scoped_refptr) in cef_bridge.o
SimpleHandler::OnLoadError(scoped_refptr, scoped_refptr, cef_errorcode_t, CefStringBase const&, CefStringBase const&) in cef_bridge.o
SimpleHandler::CloseAllBrowsers(bool) in cef_bridge.o
...
"CefBase64Encode(void const*, unsigned long)", referenced from:
(anonymous namespace)::GetDataURI(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) in cef_bridge.o
"CefExecuteProcess(CefMainArgs const&, scoped_refptr, void*)", referenced from:
+[CefWrapper init] in CefWrapper.o
"CefQuitMessageLoop()", referenced from:
SimpleHandler::OnBeforeClose(scoped_refptr) in cef_bridge.o
"CefDoMessageLoopWork()", referenced from:
+[CefWrapper doMessageLoopWork] in CefWrapper.o
"CefBrowserHost::CreateBrowser(CefWindowInfo const&, scoped_refptr, CefStringBase const&, CefStructBase const&, scoped_refptr, scoped_refptr)", referenced from:
SimpleApp::OnContextInitialized() in cef_bridge.o
"CefBrowserView::GetForBrowser(scoped_refptr)", referenced from:
SimpleHandler::OnTitleChange(scoped_refptr, CefStringBase const&) in cef_bridge.o
"CefCommandLine::GetGlobalCommandLine()", referenced from:
SimpleHandler::IsChromeRuntimeEnabled() in cef_bridge.o
"CefScopedLibraryLoader::Load(bool)", referenced from:
CefScopedLibraryLoader::LoadInMain() in CefWrapper.o
"CefScopedLibraryLoader::CefScopedLibraryLoader()", referenced from:
+[CefWrapper init] in CefWrapper.o
"CefScopedLibraryLoader::~CefScopedLibraryLoader()", referenced from:
+[CefWrapper init] in CefWrapper.o
"cef::logging::LogMessage::LogMessage(char const*, int, int)", referenced from:
SimpleApp::OnContextInitialized() in cef_bridge.o
SimpleHandler::SimpleHandler(bool) in cef_bridge.o
SimpleHandler::SimpleHandler(bool) in cef_bridge.o
SimpleHandler::OnTitleChange(scoped_refptr, CefStringBase const&) in cef_bridge.o
scoped_refptr::operator->() const in cef_bridge.o
scoped_refptr::operator->() const in cef_bridge.o
SimpleHandler::OnAfterCreated(scoped_refptr) in cef_bridge.o
...
"cef::logging::LogMessage::~LogMessage()", referenced from:
SimpleApp::OnContextInitialized() in cef_bridge.o
SimpleHandler::SimpleHandler(bool) in cef_bridge.o
SimpleHandler::SimpleHandler(bool) in cef_bridge.o
SimpleHandler::OnTitleChange(scoped_refptr, CefStringBase const&) in cef_bridge.o
scoped_refptr::operator->() const in cef_bridge.o
scoped_refptr::operator->() const in cef_bridge.o
SimpleHandler::OnAfterCreated(scoped_refptr) in cef_bridge.o
...
"_cef_string_utf16_clear", referenced from:
CefWindowInfoTraits::clear(_cef_window_info_t*) in cef_bridge.o
CefStringTraitsUTF16::clear(_cef_string_utf16_t*) in cef_bridge.o
CefBrowserSettingsTraits::clear(_cef_browser_settings_t*) in cef_bridge.o
CefStringTraitsUTF16::clear(_cef_string_utf16_t*) in CefWrapper.o
CefSettingsTraits::clear(_cef_settings_t*) in CefWrapper.o
"_cef_string_utf16_to_utf8", referenced from:
CefStringTraitsUTF16::to_string(_cef_string_utf16_t const*) in cef_bridge.o
"_cef_string_utf8_clear", referenced from:
CefStringTraitsUTF16::to_string(_cef_string_utf16_t const*) in cef_bridge.o
"_cef_string_utf8_to_utf16", referenced from:
CefStringTraitsUTF16::from_string(char const*, unsigned long, _cef_string_utf16_t*) in cef_bridge.o
CefStringTraitsUTF16::from_string(char const*, unsigned long, _cef_string_utf16_t*) in CefWrapper.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
rsync error: received SIGINT, SIGTERM, or SIGHUP (code 20) at /System/Volumes/Data/SWE/macOS/BuildRoots/b8ff8433dc/Library/Caches/com.apple.xbs/Sources/rsync/rsync-55/rsync/rsync.c(244) [sender=2.6.9]
Command PhaseScriptExecution failed with a nonzero exit code
** BUILD FAILED **
Exception: Build process failed
The text was updated successfully, but these errors were encountered: