Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Compilation errors

Compilation errors

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiohelp
10 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aabid
    wrote on last edited by
    #1

    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!

    C H C C 4 Replies Last reply
    0
    • A Aabid

      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!

      C Offline
      C Offline
      Cool_Dev
      wrote on last edited by
      #2

      unistd.h is not present anywhere in my system. thats why you are getting the error. Find out that file, and set the correct 'include path' in project settings. :-D

      1 Reply Last reply
      0
      • A Aabid

        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!

        H Offline
        H Offline
        HimanshuJoshi
        wrote on last edited by
        #3

        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

        A 1 Reply Last reply
        0
        • H HimanshuJoshi

          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

          A Offline
          A Offline
          Aabid
          wrote on last edited by
          #4

          hi i do not understand what you want to say? can u explain little better

          H 1 Reply Last reply
          0
          • A Aabid

            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!

            C Offline
            C Offline
            CPallini
            wrote on last edited by
            #5

            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 a UNIX-like (maybe Linux) specific header. Have you read the compiling instruction on the project's home page? (I guess you may compile it on Windows 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]

            A 1 Reply Last reply
            0
            • A Aabid

              hi i do not understand what you want to say? can u explain little better

              H Offline
              H Offline
              HimanshuJoshi
              wrote on last edited by
              #6

              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

              A 1 Reply Last reply
              0
              • H HimanshuJoshi

                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

                A Offline
                A Offline
                Aabid
                wrote on last edited by
                #7

                ok.. i need to compile the source code.

                H 1 Reply Last reply
                0
                • C CPallini

                  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 a UNIX-like (maybe Linux) specific header. Have you read the compiling instruction on the project's home page? (I guess you may compile it on Windows 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]

                  A Offline
                  A Offline
                  Aabid
                  wrote on last edited by
                  #8

                  yes i tried to find out the instructions to compile but i didn`t find any info regarding compilation.

                  1 Reply Last reply
                  0
                  • A Aabid

                    ok.. i need to compile the source code.

                    H Offline
                    H Offline
                    HimanshuJoshi
                    wrote on last edited by
                    #9

                    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

                    1 Reply Last reply
                    0
                    • A Aabid

                      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!

                      C Offline
                      C Offline
                      Chris Losinger
                      wrote on last edited by
                      #10

                      comment-out that line, see what happens.

                      image processing toolkits | batch image processing

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups