You are not logged in.
Pages: 1
Hi guys,
i am trying to set up Vim as my C++ IDE since 2 days and no success so far.
I have installed Vim
pacman -Q vim
vim 7.3.661-1I have downloaded vim-latex and clang tar balls,
extract and place appropriate directorys in ~/.vim e.g. plugins and doc
from whitin vim
:helptags ~/.vim my ~/.vimrc
""""""""""""""""""""""""""""""""""""""""""""""""""""
" Author:
" Zhelyazko Petrov
" z.petrov@my.westminster.ac.uk
"
" Version:
" 1.0
"
""""""""""""""""""""""""""""""""""""""""""""""""""""
" Set how many lines of history to remeber
set history=700
" Enable filetype plugins
filetype plugin on
filetype indent on
" Set 7 lines to the cursor when moving vertically using j/k
set so=7
" Set runtime path
set runtimepath=/home/dreadz/.vim/
" Set grep to always generate a file-name.
set grepprg=grep\ -nH\ $*
"this is mostly a matter of taste.
set sw=2
" Turn on wild menu
set wildmenu
" Always show current position
set ruler
" Height of the command bar
set cmdheight=2
" Configure backsapce to behave as it should
set backspace=eol,start,indent
set whichwrap+=<,>h,l
" Ignore case when searching
set ignorecase
" When searching try to be smart
set smartcase
" Highlight search results
set hlsearch
" Make search acts like in modern browsers
set incsearch
" Show matching brackets when text indicator is over them
set showmatch
" How many tenths of a second to blink when matching brackets
set mat=2
" No annoying sounds on errors
set noerrorbells
set novisualbellset t_vb=
set tm=500
" Set utf8 as standart encoding and en_US as standart lang
set encoding=utf8
" Always show the status line
set laststatus=2
" Show line number
set number
" Some stuff to get the mouse going
set mouse=a
set ttymouse=xterm2When i open .cpp file and i run :make i get the following message:
make: *** No targets specified and no makefile found. Stop.
Press ENTER or type command to continueuname -a
Linux ufo 3.6.2-1-ARCH #1 SMP PREEMPT Fri Oct 12 23:58:58 CEST 2012 x86_64 GNU/LinuxI would appreciate any suggestions.
Many thanks!
Offline
make: *** No targets specified and no makefile found. Stop.
Press ENTER or type command to continueThis is exactly what make says when it couldn't find a Makefile in the directory. Do you actually have one in the directory with the .cpp file? See the Wikipedia entry [1] for a good overview of the make process. Also, the file should just be called Makefile with no extensions (.cpp or otherwise). Remember, google is your friend [2]
[1] https://en.wikipedia.org/wiki/Makefile
[2] http://lmgtfy.com/?q=make%3A+no+targets … file+found
Last edited by jynnantonix (2012-10-21 06:09:44)
Offline
Pages: 1