jeaye / color_coded

A vim plugin for libclang-based highlighting of C, C++, ObjC
MIT License
870 stars 53 forks source link

Installing using Vundle #192

Closed gzqx closed 4 years ago

gzqx commented 4 years ago

Fedora 32. After installing using Vundle it alerts that it nees to be compiled (am I getting the readme wrong? I feel like it indicates that vundle can handle it automatically).

jeaye commented 4 years ago

Seems like Vundle failed to compile it automatically. What happens if you cd into that directory and try this? https://github.com/jeaye/color_coded#all

gzqx commented 4 years ago

step cmake .. gives error as

CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
  Could NOT find Curses (missing: CURSES_LIBRARY CURSES_INCLUDE_PATH)
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake/Modules/FindCurses.cmake:262 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:44 (find_package)
jeaye commented 4 years ago

There we go. Please install ncurses, as well as your distro's versions of these deps: https://github.com/jeaye/color_coded#ubuntudebian

gzqx commented 4 years ago

This solves the question. In case someone is interested, on Fedora 32 (seems to be since 30), simply installing ncurses-devel is not enough, and ncurses-compat-libs is needed. This workaround is found on https://www.freebasic.net/forum/viewtopic.php?t=27923.