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
macOS下编译失败 #247
Comments
Try commenting out the |
Compare your first-time build log to |
Same issue here. |
试了这个操作,还是有问题! |
Otherwise it has to do with boost build/install options. |
我是直接用brew安装的boost,你说的这个选项在哪能看得到? |
The error shows boost was trying to link to uconv_* functions, which belongs to ICU library, one of the optional backends of boost::locale. |
By the way, |
I tried to install boost by source |
as i said earlier it might be an issue with boost's optional dependencies, |
Thanks for providing a successful build log, so I can find out what's wrong.
|
I see what the problem is.
homebrew is installing |
It was this commit in homebrew formula |
To fix, either build boost with |
Thanks a lot, it works fine now. |
Unfortunately |
On this machine I installed brew info boost
boost: stable 1.68.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
/usr/local/Cellar/boost/1.62.0 (12,405 files, 396.4MB)
Poured from bottle on 2016-11-22 at 15:21:58
/usr/local/Cellar/boost/1.67.0_1 (13,506 files, 450.9MB)
Poured from bottle on 2018-07-14 at 14:54:32
/usr/local/Cellar/boost/1.68.0 (13,712 files, 460.2MB) *
Poured from bottle on 2018-11-26 at 11:42:32
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
==> Dependencies
Optional: icu4c ✔
==> Options
--with-icu4c
Build regexp engine with icu support
--without-single
Disable building single-threading variant
--without-static
Disable building static library variant
--HEAD
Install HEAD version
==> Analytics
install: 66,340 (30 days), 193,361 (90 days), 650,242 (365 days)
install_on_request: 18,898 (30 days), 55,596 (90 days), 192,660 (365 days)
build_error: 0 (30 days) librime build successfully with this boost installation. This clearly shows it's not related to the version of boost libraries but changes in boost's default compile options in homebrew formula. otool -L build/Release/Squirrel.app/Contents/Frameworks/librime.1.dylib
build/Release/Squirrel.app/Contents/Frameworks/librime.1.dylib:
@rpath/librime.1.dylib (compatibility version 1.0.0, current version 1.4.0)
/usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current version 7.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 400.9.4)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1252.200.5) |
Right, I got the same result. Interesting. Homebrew wants to remove all options. Is it possible for it to detect such cases? |
The text was updated successfully, but these errors were encountered: