Using eclipse for C++ project: error launching 'cygin'

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • momotaro
    Contributor
    • Sep 2006
    • 357

    Using eclipse for C++ project: error launching 'cygin'

    I m trying to use eclipse for c but when i creat a project and try to build i have this error message: error launching 'cygin'...
    plz help!
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by momotaro
    I m trying to use eclipse for c but when i creat a project and try to build i have this error message: error launching 'cygin'...
    plz help!
    cygin or cygwin?

    If it's the latter - I'm betting that there is a config issue with how Eclipse is installed and set up. (If it's the former, I have no idea - unless that's the config issue....)

    Comment

    • momotaro
      Contributor
      • Sep 2006
      • 357

      #3
      It is cygwin and i think that every thing is ok with the path....
      realy i don't understand

      Comment

      • sicarie
        Recognized Expert Specialist
        • Nov 2006
        • 4677

        #4
        Originally posted by momotaro
        It is cygwin and i think that every thing is ok with the path....
        realy i don't understand
        Check out this link and see if it helps.

        Comment

        • momotaro
          Contributor
          • Sep 2006
          • 357

          #5
          thx but still having the same probem: error launching 'cygpath' command

          Comment

          • RedSon
            Recognized Expert Expert
            • Jan 2007
            • 4980

            #6
            Make sure that your cygwin binaries are visible to eclipse. The cygpath program is a utility that converts Windows native filenames to Cygwin POSIX-style pathnames and vice versa. It can be used when a Cygwin program needs to pass a file name to a native Windows program, or expects to get a file name from a native Windows program. Alternatively, cygpath can output information about the location of important system directories in either format.

            Comment

            • sicarie
              Recognized Expert Specialist
              • Nov 2006
              • 4677

              #7
              Originally posted by RedSon
              Make sure that your cygwin binaries are visible to eclipse. The cygpath program is a utility that converts Windows native filenames to Cygwin POSIX-style pathnames and vice versa. It can be used when a Cygwin program needs to pass a file name to a native Windows program, or expects to get a file name from a native Windows program. Alternatively, cygpath can output information about the location of important system directories in either format.
              Another thing to check is the classpath - to see if it is enclosed in quotation marks "c:/path/to/cygwin/binary". If so, remove those (but save the path!)

              Comment

              • momotaro
                Contributor
                • Sep 2006
                • 357

                #8
                AM using mingw...

                Comment

                • momotaro
                  Contributor
                  • Sep 2006
                  • 357

                  #9
                  ERROR LAUNCHING 'cygpath' COMMAND

                  am trying to use eclipse for c but while building i keep having this problem!!!!!!
                  ERROR LAUNCHING 'cygpath' COMMAND.

                  PLZ HELP!!!!

                  Comment

                  • sicarie
                    Recognized Expert Specialist
                    • Nov 2006
                    • 4677

                    #10
                    Originally posted by momotaro
                    am trying to use eclipse for c but while building i keep having this problem!!!!!!
                    ERROR LAUNCHING 'cygpath' COMMAND.

                    PLZ HELP!!!!
                    Momotaro-

                    Please do not double post, if you feel the thread has moved out of view of the experts of the forum, (after a reasonable amount of time) post a ::bump:: reply to it, that will bring it back to the top.

                    Comment

                    • momotaro
                      Contributor
                      • Sep 2006
                      • 357

                      #11
                      how to do it?

                      Comment

                      • RedSon
                        Recognized Expert Expert
                        • Jan 2007
                        • 4980

                        #12
                        Didnt I answer it in your other post?

                        Comment

                        • momotaro
                          Contributor
                          • Sep 2006
                          • 357

                          #13
                          sorry but it did not solve the problem!

                          Comment

                          • RedSon
                            Recognized Expert Expert
                            • Jan 2007
                            • 4980

                            #14
                            did you post what you tried to do to fix it after reading my post and what other issues you are having or what the error message is? Try continuing this discussion in the original post so that this one can be closed, since it is a duplicate.

                            Comment

                            • AdrianH
                              Recognized Expert Top Contributor
                              • Feb 2007
                              • 1251

                              #15
                              Originally posted by momotaro
                              how to do it?
                              Just reply to the thread with '::bump::'.

                              Any activity on a thread will move it to the top of the list.

                              Since I do not know what RedSon has posted, I could be reposting the same answer. But you will have to do the following:
                              • Window->Preferences->C/C++->Debug->Common Source Lookup Path
                              • Click on Add->Path Mapping
                              • Click on the new mapping then click on Edit
                              • Name the mapping what ever you want.
                              • Click on Add
                              • In the compilation path type \cygdrive\c
                              • In the local system path type c:\
                              • Click Ok
                              • If you have other paths (such as you want to add d drive, you may also want to add the include path but that is up to you) go to step 5
                              • Click Ok
                              • Click Ok

                              You may have to restart Eclipse for this to work.

                              Hope this helps.


                              Adrian

                              Comment

                              Working...