Compilation errors
-
hi friends, i am using Visual studio 6.0, Windows. i dowload an opensource project "wput" :: Wput is a command-line ftp-client that looks like wget but instead of downloading, uploads files or whole directories to remote ftp-servers. http://wput.sourceforge.net/[^] as i compile the project i got tons of errors, ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory unistd.h is not present anywhere in my system. Any suggestions!
-
hi friends, i am using Visual studio 6.0, Windows. i dowload an opensource project "wput" :: Wput is a command-line ftp-client that looks like wget but instead of downloading, uploads files or whole directories to remote ftp-servers. http://wput.sourceforge.net/[^] as i compile the project i got tons of errors, ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory unistd.h is not present anywhere in my system. Any suggestions!
-
hi friends, i am using Visual studio 6.0, Windows. i dowload an opensource project "wput" :: Wput is a command-line ftp-client that looks like wget but instead of downloading, uploads files or whole directories to remote ftp-servers. http://wput.sourceforge.net/[^] as i compile the project i got tons of errors, ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory unistd.h is not present anywhere in my system. Any suggestions!
Can you use the pre-compiled binary instead of compiling it?
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
-
Can you use the pre-compiled binary instead of compiling it?
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
-
hi friends, i am using Visual studio 6.0, Windows. i dowload an opensource project "wput" :: Wput is a command-line ftp-client that looks like wget but instead of downloading, uploads files or whole directories to remote ftp-servers. http://wput.sourceforge.net/[^] as i compile the project i got tons of errors, ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory unistd.h is not present anywhere in my system. Any suggestions!
Aabid wrote:
ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
As the name suggest,
unistd.h
is aUNIX
-like (maybeLinux
) specific header. Have you read the compiling instruction on the project's home page? (I guess you may compile it onWindows
provided you use, for instance,Cygwin
). :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
I want to say that in-order to use the functionality of wput can you just use the binary file instead of compiling it? Or do you need to compile the source code?
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
-
I want to say that in-order to use the functionality of wput can you just use the binary file instead of compiling it? Or do you need to compile the source code?
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
-
Aabid wrote:
ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory
As the name suggest,
unistd.h
is aUNIX
-like (maybeLinux
) specific header. Have you read the compiling instruction on the project's home page? (I guess you may compile it onWindows
provided you use, for instance,Cygwin
). :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
[My articles] -
Have you read the INSTALL file that comes with the source package. It will have the information on how to compile.
"I'm willing to admit that I may not always be right, but I am never wrong." - Samuel Goldwyn
-
hi friends, i am using Visual studio 6.0, Windows. i dowload an opensource project "wput" :: Wput is a command-line ftp-client that looks like wget but instead of downloading, uploads files or whole directories to remote ftp-servers. http://wput.sourceforge.net/[^] as i compile the project i got tons of errors, ftp-ls.c(40) : fatal error C1083: Cannot open include file: 'unistd.h': No such file or directory unistd.h is not present anywhere in my system. Any suggestions!
comment-out that line, see what happens.