MantisBT - IGSTK
View Issue Details
0010613IGSTKIGSTKpublic2010-04-26 08:212010-04-26 08:21
Huo-Ling Luo 
Patrick Cheng 
normalfeaturealways
assignedopen 
0010613: IGSTK-Document Build Error on VS2008
When build IGSTK's documentation project on VS2008, there will be the following error:

1>------ Build started: Project: Documentation, Configuration: Debug Win32 ------
1>cygwin warning:
1> MS-DOS style path detected: D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh
1> Preferred POSIX equivalent is: /cygdrive/d/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh
1> CYGWIN environment variable option "nodosfilewarning" turns off this warning.
1> Consult the user's guide for more details about POSIX paths:
1> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames [^]
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 5: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 26: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 36: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 45: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 52: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 63: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 77: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 84: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 96: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 114: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 128: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 131: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 187: syntax error near unexpected token `$'do\r''
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 187: ` do'
1>Project : error PRJ0019: A tool returned an error code from
1>Build log was saved at "file://d:\IGSTK-Bin\Utilities\Doxygen\Documentation.dir\Debug\BuildLog.htm" [^]
1>Documentation - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========


1>------ Build started: Project: Documentation, Configuration: Release Win32 ------
1>cygwin warning:
1> MS-DOS style path detected: D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh
1> Preferred POSIX equivalent is: /cygdrive/d/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh
1> CYGWIN environment variable option "nodosfilewarning" turns off this warning.
1> Consult the user's guide for more details about POSIX paths:
1> http://cygwin.com/cygwin-ug-net/using.html#using-pathnames [^]
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 5: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 26: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 36: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 45: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 52: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 63: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 77: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 84: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 96: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 114: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 128: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 131: $'\r': command not found
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 187: syntax error near unexpected token `$'do\r''
1>D:/IGSTK-Bin/Utilities/Doxygen/doc_makeall.sh: line 187: ` do'
1>Project : error PRJ0019: A tool returned an error code from
1>Build log was saved at "file://d:\IGSTK-Bin\Utilities\Doxygen\Documentation.dir\Release\BuildLog.htm" [^]
1>Documentation - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
This error can be removed using following method:

use the Cygwin's command "dos2unix" with the parameter "..\utilities\doxygen\doc_makeall.sh", and rebuild the Documentation, the error will be removed.
No tags attached.
Issue History
2010-04-26 08:21Huo-Ling LuoNew Issue
2010-04-26 08:21Huo-Ling LuoStatusnew => assigned
2010-04-26 08:21Huo-Ling LuoAssigned To => Patrick Cheng

There are no notes attached to this issue.