Closed Guoan-Tang closed 2 years ago
I add use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' } into plugins.lua and run PackerSync, got an error:
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
PackerSync
To figure out the details, I run make in the repo directly, and got:
make
mkdir build process_begin: CreateProcess(NULL, mkdir build, ...) failed. make (e=2): The system cannot find the file specified. make: [build/libfzf.dll] Error 2 (ignored) gcc -O3 -Wall -Werror -fpic -std=gnu99 -shared src/fzf.c -o build/libfzf.dll c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file build/libfzf.dll: No such file or directory collect2.exe: error: ld returned 1 exit status make: *** [build/libfzf.dll] Error 1
which is cause by the wrong MKD command for windows: -mkdir
And it was fixe when I replace it to cmd /C mkdir
cmd /C mkdir
resolved by #81
I add
use {'nvim-telescope/telescope-fzf-native.nvim', run = 'make' }
into plugins.lua and runPackerSync
, got an error:To figure out the details, I run
make
in the repo directly, and got:mkdir build process_begin: CreateProcess(NULL, mkdir build, ...) failed. make (e=2): The system cannot find the file specified. make: [build/libfzf.dll] Error 2 (ignored) gcc -O3 -Wall -Werror -fpic -std=gnu99 -shared src/fzf.c -o build/libfzf.dll c:/programdata/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot open output file build/libfzf.dll: No such file or directory collect2.exe: error: ld returned 1 exit status make: *** [build/libfzf.dll] Error 1
which is cause by the wrong MKD command for windows: -mkdir
And it was fixe when I replace it to
cmd /C mkdir