rogual / neovim-dot-app

Mac OS X GUI for Neovim
1.13k stars 62 forks source link

Can't build in Mac OS X #273

Closed tiagoinacio closed 8 years ago

tiagoinacio commented 8 years ago

make VIM=/usr/local/Cellar/neovim/0.1.4/share/nvim NVIM=/usr/local/bin/nvim scons -Q clang++ -o build/client.o -c -std=c++11 -stdlib=libc++ -g -Wno-deprecated-register -I/usr/local/Cellar/msgpack/HEAD/include -Ibuild -Isrc src/client.cc src/client.cc:48:20: error: no matching member function for call to 'next' while(unpacker.next(&unpacked)) {


/usr/local/Cellar/msgpack/HEAD/include/msgpack/v2/unpack.hpp:1335:23: note: candidate function not viable: no known conversion from 'msgpack::unpacked _'
      (aka 'msgpack::v1::object_handle *') to 'msgpack::object_handle &' for 1st argument; remove &
inline bool unpacker::next(msgpack::object_handle& result) {
                      ^
/usr/local/Cellar/msgpack/HEAD/include/msgpack/v2/unpack.hpp:1320:23: note: candidate function not viable: requires 2 arguments, but 1 was provided
inline bool unpacker::next(msgpack::object_handle& result, bool& referenced) {
                      ^
1 error generated.
scons: *_\* [build/client.o] Error 1
make: **\* [all] Error 2

nvim --version
NVIM 0.1.4
Build type: RelWithDebInfo
Compilation: /usr/local/Library/ENV/4.3/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/build/config -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/src -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/deps-build/usr/include/luajit-2.0 -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/deps-build/usr/include -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/deps-build/usr/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/build/src/nvim/auto -I/tmp/neovim-20160627-19905-1i5hzhu/neovim-0.1.4/build/include

I'm using Mac OS X El Capitan: 10.11.4 (15E65), in iterm2 and tmux.
tiagoinacio commented 8 years ago

It's solved in Compatability for msgpack-c 2.0 #272 pull-request.