rogual / neovim-dot-app

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

src/client.cc:1:10: fatal error: 'sstream' file not found #306

Open yh392261226 opened 8 years ago

yh392261226 commented 8 years ago

export VIM=/usr/local/Cellar/neovim/HEAD-5e241b5/share/nvim/ export NVIM=/usr/local/bin/nvim brew install --HEAD rogual/neovim-dot-app/neovim-dot-app Updating Homebrew... ==> Installing neovim-dot-app from rogual/neovim-dot-app ==> Cloning https://github.com/rogual/neovim-dot-app.git Updating /Users/json/Library/Caches/Homebrew/neovim-dot-app--git ==> Checking out branch master ==> make NVIM=/usr/local/opt/neovim/bin/nvim Last 15 lines from /Users/json/Library/Logs/Homebrew/neovim-dot-app/01.make: 2016-11-17 10:45:12 +0800

make NVIM=/usr/local/opt/neovim/bin/nvim

VIM=/usr/local/Cellar/neovim/HEAD-5e241b5/share/nvim/ NVIM=/usr/local/opt/neovim/bin/nvim scons -Q Install file: "res/Info.plist" as "build/Neovim.app/Contents/Info.plist" clang++ -o build/client.o -c -std=c++11 -stdlib=libc++ -g -Wno-deprecated-register -mmacosx-version-min=10.9 -I/usr/local/Cellar/msgpack/2.0.0/include -Ibuild -Isrc src/client.cc src/client.cc:1:10: fatal error: 'sstream' file not found

include

     ^

1 error generated. scons: [build/client.o] Error 1 make: [all] Error 2

If reporting this issue please do so at (not Homebrew/brew or Homebrew/core): https://github.com/rogual/homebrew-neovim-dot-app/issues

rogual commented 7 years ago

sstream is part of the C++ standard library — I can only guess your C++ compiler isn't installed properly.

Things to try:

// compile with clang++ test.cc


* `find / -name sstream`
* Reinstall XCode and command line tools
yh392261226 commented 7 years ago

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/usr/include/c++/4.2.1/sstream /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/include/c++/4.2.1/sstream /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/4.2.1/sstream /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/sstream

I think I have got these