C 为windows编译gitsh
是一个有趣的工具 不幸的是,他们的软件包不适用于Windows 我正努力在Windows上编译它,但困难重重 在解决了许多与依赖项相关的错误后,我面临以下错误:C 为windows编译gitsh,c,windows,git,thoughtbot,C,Windows,Git,Thoughtbot,是一个有趣的工具 不幸的是,他们的软件包不适用于Windows 我正努力在Windows上编译它,但困难重重 在解决了许多与依赖项相关的错误后,我面临以下错误: depbase=`echo src/gitsh.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ gcc -DPACKAGE_NAME=\"gitsh\" -DPACKAGE_TARNAME=\"gitsh\" -DPACKAGE_VERSION=\"0.11.1\" -DPACKA
depbase=`echo src/gitsh.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DPACKAGE_NAME=\"gitsh\" -DPACKAGE_TARNAME=\"gitsh\" -DPACKAGE_VERSION=\"0.11.1\" -DPACKAGE_STRING=\"gitsh\ 0.11.1\" -DPACKAGE_BUGREPORT=\"hello@thoughtbot.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"gitsh\" -DVERSION=\"0.11.1\" -I. -DGITSH_RB_PATH="\"/usr/local/share/gitsh/ruby/gitsh.rb\"" -I/c/dev/readline/include/ -g -O2 -MT src/gitsh.o -MD -MP -MF $depbase.Tpo -c -o src/gitsh.o src/gitsh.c &&\
mv -f $depbase.Tpo $depbase.Po
src/gitsh.c:1:17: fatal error: err.h: No such file or directory
compilation terminated.
make: *** [src/gitsh.o] Error 1
据我所知,我认为这些库不适用于Windows
有人能给我建议一个解决办法吗
谢谢 你是如何在windows上构建的?Cygwin?是的。但是使用Git-bash和Ruby-Devkitgitsh相当依赖于一系列Unix环境的东西,包括编译时的东西,如
err.h
,以及运行时的东西,如tput(1)。我不知道Windows上有多少这样的东西。我维护gitsh,我欢迎添加Windows支持的请求,但我不太可能自己添加。您如何在Windows上构建?Cygwin?是的。但是使用Git-bash和Ruby-Devkitgitsh相当依赖于一系列Unix环境的东西,包括编译时的东西,如err.h
,以及运行时的东西,如tput(1)。我不知道Windows上有多少这样的东西。我维护gitsh,我欢迎添加Windows支持的请求,但我不太可能自己添加它。