Comments (21)
I think gcc is not installed in your system.
You should check MinGW installation.
from vimproc.vim.
I came across this issue today. I'm using gvim 32-bit and am trying out a 64-bit version.
The mingw32.mak
file has the line CC=mingw32-gcc
The mingw64.mak
file has the line CC=x86_64-w64-mingw32-gcc
On the RubyInstaller site, you can download the MinGW 32-bit and 64-bit dev kits.
Whilst the 64-bit dev kit has x86_64-w64-mingw32-gcc.exe
, the 32-bit one does not have mingw32-gcc.exe
. Instead it has i686-w64-mingw32-gcc.exe
. I don't know if newer installations of MinGW follow this naming convention.
In fact, both the 32-bit and 64-bit dev kits have a gcc.exe
, which is an alias for the appropriate compiler i.e. on the 32-bit dev kit gcc.exe
is the 32-bit compiler and on the 64-bit dev kit, it is the 64-bit compiler.
If you can't get vimproc to compile using MinGW, do this:
- Download and install the 32-bit or 64-bit dev kit from the above RubyInstaller link.
- Install vimproc (
git clone
etc) as mentioned on this site. - In a command prompt, go to the folder containing vimproc (
cd [your folder]
). - Run
devkitvars.bat
, which is in the dev kit folder. This will update the PATH. - If you're using 32-bit vim, then edit
mingw32.mak
in the vimproc folder and change the line beginningCC=mingw32-gcc
toCC=gcc
or toCC=i686-w64-mingw32-gcc
- To compile the vimproc DLL, run
make -f mingw32.mak
(32-bit) ormake -f mingw64.mak
(64-bit).
from vimproc.vim.
If you're using 32-bit vim, then edit mingw32.mak in the vimproc folder and change the line beginning CC=mingw32-gcc to CC=gcc or to CC=i686-w64-mingw32-gcc
You don't have to do it.
make -f mingw64.mak CC=i686-w64-mingw32-gcc
from vimproc.vim.
Related issues.
from vimproc.vim.
I changed mingw32.mak uses "gcc" name by default.
If you have not "gcc" named binary, you must change $CC value.
from vimproc.vim.
Using gcc makes sense. Thanks for the tip about using the command line
CC switch.
On Wednesday, May 21, 2014, Shougo [email protected] wrote:
I changed mingw32.mak uses "gcc" name by default.
If you have not "gcc" named binary, you must change $CC value.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/86#issuecomment-43820315
.
Bye for now
Praful
from vimproc.vim.
I try to install vimproc an on window 7
My screen on gVim when I run :VimProcInstall
:
I tried to follow step by step the suggested method by Praful. It don't work and I can't figure out what is the problem. I have the followinf error :
make (e=2): the specified file is not found
from vimproc.vim.
I think gcc is not installed.
from vimproc.vim.
I reinstall MinGW from an other source ; I found it there
I noticed that I have now gcc file in the bin directory. So you were right.
I updated my path and run again make -f make_mingw32.mak
:
...
But if I do make -f make_mingw64.mak
:
I think it is ok, but if I run :VimProcInstall
again in Vim I have again :
I googled 'cannot find -lmsvcrt' but found nothing
I must have a bad version of something (64 instead of 32 bit), but I can't figure out what I have to do
from vimproc.vim.
You should read the message and the documentation....
Your installed vimproc binary is 32bit.
Because, you executed "make -f make_mingw64.mak" command.
But your Vim is 32bit. So vimproc binary is not loaded.
You must build 32bit binary.
from vimproc.vim.
Hm. Your used MinGW is broken to build 32bit.
You should use the MinGW binary.
http://tdm-gcc.tdragon.net/download
from vimproc.vim.
Ok thank you.
I ran the first link tdm-gcc-5.1.0-3.exe
Now, in my C:\Tools\TDM-GCC-32\bin path I have gcc (automatically put in my system path) :
I also remind that I have make (put in my user path) :
that I took from the ruby installer link proposed by Praful :
And now I have :
Is it ok or not, I don't know.
The good thing in Vim is that when I run :VimProcInstall
I have no error message :
And I have no error when I run the two following commands :
But the first command with async don't show me any proposal and I don't know why.
You think it is an other problem or I have done something wrong ?
from vimproc.vim.
You should remove the old vimproc binary.
Reinstall vimproc is recommended.
from vimproc.vim.
I have already clean and install VimProc from Vim.
I have delete C:\Users\herve.vim\bundle\vimproc.vim\autoload\vimproc_win32.dll.
then run (same as :VimProcInstall):
Same result : no proposal with async.
Or maybe I didn't understand what you mean by 'remove the old vimproc binary'
I am confused
from vimproc.vim.
I have suddenly a doubt. Is it the right way to install vimProc with Vundle?
Or shall I must add something like :
{'build': {'windows': 'make -f make_mingw32.mak'}}
?
Well, I tried this :
but nothing change.
from vimproc.vim.
Hmmm..
Please test vimproc works.
:echo vimproc#system('dir')
If vimproc works, it is your async binary problem.
from vimproc.vim.
For information I have reinstall vim64 because I run into a windows 64bit system. but the problem still remains the same.
:echo vimproc#system('dir')
return
It works, so according to you it is my async binary. Do you have an idea how I can fix it?
Thanks for the time you spent with me
from vimproc.vim.
Please upload your .vimrc file and please upload unite screenshot using <Plug>(unite_print_message)
in unite buffer.
from vimproc.vim.
Here is my vimrc at the moment.
please upload unite screenshot using (unite_print_message)
How? I looked for <Plug>(unite_print_message_log)
into unite doc but I don't understand how use it?
from vimproc.vim.
OK. I get it. You need set g:unite_source_rec_async_command
.
Please read unite.vim documentation.
*g:unite_source_rec_async_command*
g:unite_source_rec_async_command
Specify the filelist command and arguments in file_rec/async
source. It is arguments List.
>
" Using ack-grep as recursive command.
let g:unite_source_rec_async_command =
\ ['ack', '-f', '--nofilter']
" Using ag as recursive command.
let g:unite_source_rec_async_command =
\ ['ag', '--follow', '--nocolor', '--nogroup',
\ '--hidden', '-g', '']
<
The default value is ["find", "-L"] which follows symbolic
links to have the same behaviour as file_rec, and the
args(|g:unite_source_rec_find_args|).
Because, "find" command is fastest.
Note: In windows environment, you must install file list
command and specify the variable.
from vimproc.vim.
Awsome !
Thanks
from vimproc.vim.
Related Issues (20)
- can not build vimproc's native extensions HOT 2
- Is there any way to highlight the line or line number the error is on? HOT 1
- Support passing Environment Variables to subprocesses HOT 2
- Windows binaries out of date? HOT 3
- Appveyor build is failed HOT 1
- vimproc#system works but vimproc#system_bg doesn't on Windows 10 HOT 3
- Get the version of vimproc via vim script. HOT 4
- Checking vimproc in BSD HOT 1
- faulty cygwin detection HOT 2
- How can I apply a parameter when use vimproc? HOT 2
- try to upgrade do make[1]: Nothing to be done for `all' HOT 1
- async stdout/stdin support HOT 3
- Code signature not valid for use in process HOT 10
- [Question] How to work with an interactive process? HOT 2
- Suggestion: Add Cygwin64 environment
- Would it be possible to use vim job to replace compiled dll? HOT 2
- MacOS 10.14.6 install/build error HOT 1
- Need Help From Beginner HOT 4
- Why not implement one .bat which can build this plugin with msvc toolchain? HOT 3
- (mach-o file, but is an incompatible architecture (have 'arm64', need 'arm64e')), '/usr/lib/vimproc_mac.so' (no such file)" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vimproc.vim.