Browse Source

installation instructions improved, and got rid of a compilation warning

merge-requests/365/head
eidheim 10 years ago
parent
commit
3fd1670363
  1. 9
      docs/install.md
  2. 2
      src/window.cc

9
docs/install.md

@ -10,11 +10,12 @@
- [MSYS 2](#windows-with-msys2-httpsmsys2githubio)
## Debian/Ubuntu 15
Note that if you use a different libclang version, be sure to install the same version of lldb (dev package).
**Currently, if using another libclang version, the same version of lldb is needed.**
Install dependencies:
```sh
sudo apt-get install git cmake make g++ libclang-dev liblldb-3.5-dev pkg-config libboost-system-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libboost-regex-dev libgtksourceviewmm-3.0-dev aspell-en libaspell-dev
sudo apt-get install git cmake make g++ pkg-config libboost-system-dev libboost-thread-dev libboost-filesystem-dev libboost-log-dev libboost-regex-dev libgtksourceviewmm-3.0-dev aspell-en libaspell-dev
sudo apt-get install libclang-3.6-dev liblldb-3.6-dev || sudo apt-get install libclang-3.5-dev liblldb-3.5-dev
sudo apt-get install clang-format-3.6 || sudo apt-get install clang-format-3.5
```
@ -45,6 +46,8 @@ sudo make install
```
##Arch Linux
**lldb install instructions needed**
Package available in the Arch User Repository:
https://aur.archlinux.org/packages/jucipp-git/
@ -85,7 +88,7 @@ make install
```
##Windows with MSYS2 (https://msys2.github.io/)
Note that MSYS2 does not yet support lldb, but you can still compile juCi++ without debug support.
**MSYS2 does not yet support lldb, but you can still compile juCi++ without debug support.**
Install dependencies (replace `x86_64` with `i686` for 32-bit MSYS2 installs):
```sh

2
src/window.cc

@ -810,7 +810,7 @@ void Window::set_menu_actions() {
auto end_line_iter=iter;
while(!iter.ends_line() && iter.forward_char()) {}
auto line=view->get_buffer()->get_text(iter, end_line_iter);
if(line_index>=line.bytes())
if(static_cast<size_t>(line_index)>=line.bytes())
line_index=0;
view->get_buffer()->place_cursor(view->get_buffer()->get_iter_at_line_index(line_nr, line_index));

Loading…
Cancel
Save