Problem tkwi w tym, ze chce skompilowac git-cheetah na Windows'ie, ale nie mogę : ( .

  1. • Zainstalowalem Git'a na Windowsie z http://git-scm.com .
  2. • Sklonowałem sobie pliki z repozytorium uruchamiajac Git Bash wpisujac git init git clone git://repo.or.cz/git-cheetah.git
  3. • teraz chce skompilowac git-cheetah na windowsa, zatem wchodze do http://repo.or.cz/w/git-cheetah.git/tree/HEAD:/explorer i wpisuje make install
P:\Git-repo\git-cheetah\explorer>make install
System nie może odnaleźć określonej ścieżki.
make -C ../common all
make[1]: Entering directory `P:/Git-repo/git-cheetah/common'
cc -O -g -DNO_MMAP -DNO_PREAD -DNO_STRLCPY -D_WIN32_IE=0x0500  debug.c -c -o deb
ug.o
process_begin: CreateProcess(NULL, cc -O -g -DNO_MMAP -DNO_PREAD -DNO_STRLCPY -D
_WIN32_IE=0x0500 debug.c -c -o debug.o, ...) failed.
make (e=2): Nie mo┐na odnalečŠ okreťlonego pliku.
make[1]: *** [debug.o] Error 2
make[1]: Leaving directory `P:/Git-repo/git-cheetah/common'
make: *** [common-obj] Error 2

w jaki sposob mam skompilowac to?

  1. • stworzylem projekt w code::blocks, ale pojawialo sie, że nie może znaleźć pliku sys/mman.h
  2. • stworzylem projekt w visual studio 2008, tutaj juz znalazlo ten plik sys/mman.h, ale pojawia sie wiele innych bledow
1>cl : Command line warning D9035 : option 'Wp64' has been deprecated and will be removed in a future release
1>columns.c
1>p:\git-repo\git-cheetah\common\git-compat-util.h(31) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1>dll.c
1>p:\git-repo\git-cheetah\common\git-compat-util.h(31) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1>ext.c
1>p:\git-repo\git-cheetah\common\git-compat-util.h(31) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1>factory.c
1>p:\git-repo\git-cheetah\common\git-compat-util.h(31) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1>menu.c
1>p:\git-repo\git-cheetah\common\git-compat-util.h(31) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
1>registry.c
1>p:\git-repo\git-cheetah\explorer\registry.c(55) : error C2054: expected '(' to follow 'inline'
1>p:\git-repo\git-cheetah\explorer\registry.c(56) : error C2085: 'mask_errors' : not in formal parameter list
1>p:\git-repo\git-cheetah\explorer\registry.c(56) : error C2143: syntax error : missing ';' before '{'
1>p:\git-repo\git-cheetah\explorer\registry.c(90) : warning C4013: 'mask_errors' undefined; assuming extern returning int
1>systeminfo.c
  1. • stworzylem projekt w code::blocks i dodalem w menu Project>Build options...>zakladka Search directories>Compiler katalog Microsoft Visual Studio 9.0\VC\include, teraz code::blocks widzi juz sys/mman.h, ale dostaje błędy widoczne na screenie w zalaczniku. ScreenShot477.jpg