在程序错误中迷路'\'

时间:2011-06-25 13:15:35

标签: windows-xp mingw compilation mingw32 biometrics

我正在使用MinGW来编译NBIS,一切顺利,直到我必须运行'make it'命令。它编译了一段时间的东西,然后它终止了这些错误:

make[4]: Entering directory `/c/NBIS/an2k/src/bin/histogen'
histogen.c:923:42: error: unterminated comment
gcc -O2 -w -ansi -DOPJ_STATIC -D_POSIX_SOURCE -DNO_FORK_AND_EXECL  -D__NBISLE__
  -D__MSYS__  -m32  -IC:/NBIS/an2k/include -IC:/NBIS/exports/include -c -o /c/NB
IS/an2k/src/bin/histogen/histogen.o histogen.c
histogen.c: In function 'help':
histogen.c:863:3: error: missing terminating " character
histogen.c:865:1: error: 'This' undeclared (first use in this function)
histogen.c:865:1: note: each undeclared identifier is reported only once for eac
h function it appears in
histogen.c:865:6: error: expected ',' or ';' before 'application'
histogen.c:865:6: error: stray '\' in program
histogen.c:867:1: error: stray '\' in program
histogen.c:869:1: error: stray '\' in program
histogen.c:871:1: error: stray '\' in program
histogen.c:873:1: error: stray '\' in program
histogen.c:875:1: error: stray '\' in program
histogen.c:877:1: error: stray '\' in program
histogen.c:877:1: error: missing terminating " character
histogen.c: In function 'usage':
histogen.c:899:3: error: missing terminating " character
histogen.c:901:3: error: 'Usage' undeclared (first use in this function)
histogen.c:901:3: error: invalid initializer
histogen.c:901:8: error: expected ',' or ';' before ':' token
histogen.c:901:8: error: stray '\' in program
histogen.c:903:3: error: stray '\' in program
histogen.c:905:6: error: stray '\' in program
histogen.c:907:6: error: stray '\' in program
histogen.c:909:6: error: stray '\' in program
histogen.c:911:6: error: stray '\' in program
histogen.c:911:6: error: stray '\' in program
histogen.c:913:4: error: stray '\' in program
histogen.c:915:4: error: stray '\' in program
histogen.c:915:4: error: stray '\' in program
histogen.c:917:4: error: stray '\' in program
histogen.c:919:4: error: stray '\' in program
histogen.c:921:4: error: stray '\' in program
histogen.c:921:4: error: stray '\' in program
histogen.c:923:42: error: unterminated comment
histogen.c:923:4: error: expected declaration or statement at end of input
make[4]: *** [/c/NBIS/an2k/src/bin/histogen/histogen.o] Error 1
make[4]: Leaving directory `/c/NBIS/an2k/src/bin/histogen'
make[3]: *** [bins] Error 1
make[3]: Leaving directory `/c/NBIS/an2k/src/bin'
make[2]: *** [bins] Error 1
make[2]: Leaving directory `/c/NBIS/an2k/src'
make[1]: *** [bins] Error 1
make[1]: Leaving directory `/c/NBIS/an2k'
make: *** [it] Error 1

我一直在磕磕绊绊地设法纠正我得到的大多数错误,但我真的很难过。这是直方图文件的链接:

histogen.h - http://pastebin.com/Pae9Fty8 histogen.c - http://pastebin.com/v0W0GLXv

我很感激这里的任何帮助,我很困惑。

0 个答案:

没有答案