Dev-C++ compiling problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?utf-8?B?4piG4piG4piG4piG4piGIFPDvCBLZWl0aCBDaGFr

    Dev-C++ compiling problem

    Installed this compiler on Vista; a simple
    "hello world" after compiled and run would pop-up a window
    "source file not compiled"

    I've seen this question asked a few times on Internet groups and
    noone seems to have figure it out.

    What is going on?

  • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

    #2
    Re: Dev-C++ compiling problem

    On Oct 15, 12:23 am, Sü Keith Chakotay von Carpati
    <is_dat_right_I m_russ...@engin eer.comwrote:
    Installed this compiler on Vista; a simple
    "hello world" after compiled and run would pop-up a window
    "source file not compiled"
    >
    I've seen this question asked a few times on Internet groups and
    noone seems to have figure it out.
    >
    What is going on?
    Here is someone with the same problem as myself:


    Comment

    • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

      #3
      Re: Dev-C++ compiling problem

      On Oct 15, 12:26 am, Sü Keith Chakotay von Carpati
      <is_dat_right_I m_russ...@engin eer.comwrote:
      On Oct 15, 12:23 am, Sü Keith Chakotay von Carpati
      >
      <is_dat_right_I m_russ...@engin eer.comwrote:
      Installed this compiler on Vista; a simple
      "hello world" after compiled and run would pop-up a window
      "source file not compiled"
      >
      I've seen this question asked a few times on Internet groups and
      noone seems to have figure it out.
      >
      What is going on?
      >
      Here is someone with the same problem as myself:http://www.programmers-corner.com/forums/about113.html

      This surely is retarded; the most basic C programming problem and here
      is another dude
      not able to find help:



      Comment

      • Richard Heathfield

        #4
        Re: Dev-C++ compiling problem

        ????? Sü Keith Chakotay von Carpati said:
        Installed this compiler on Vista; a simple
        "hello world" after compiled and run would pop-up a window
        "source file not compiled"
        >
        I've seen this question asked a few times on Internet groups and
        noone seems to have figure it out.
        The fix is easy. Use a different operating system. I can't believe you
        actually paid good money for Vista. It's like buying polio.
        What is going on?
        Linux, if you're lucky. Failing that, XP.

        --
        Richard Heathfield <http://www.cpax.org.uk >
        Email: -http://www. +rjh@
        Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
        "Usenet is a strange place" - dmr 29 July 1999

        Comment

        • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

          #5
          Re: Dev-C++ compiling problem

          On Oct 15, 12:46 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
          ????? Sü Keith Chakotay von Carpati said:
          >
          Installed this compiler on Vista; a simple
          "hello world" after compiled and run would pop-up a window
          "source file not compiled"
          >
          I've seen this question asked a few times on Internet groups and
          noone seems to have figure it out.
          >
          The fix is easy. Use a different operating system. I can't believe you
          actually paid good money for Vista. It's like buying polio.
          >
          What is going on?
          >
          Linux, if you're lucky. Failing that, XP.
          >
          --
          Richard Heathfield <http://www.cpax.org.uk >
          Email: -http://www. +rjh@
          Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
          "Usenet is a strange place" - dmr 29 July 1999
          I've never thought it was about the OS.

          I see here someone talking about it,
          "Hi
          Can anybody tell me from where to download the free C++ Compiler
          compatible with windows vista. I have downloaded DEV C++ one, but
          after typing the program when I hit compile there is no result shown
          anywhere...."


          Comment

          • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

            #6
            Re: Dev-C++ compiling problem

            On Oct 15, 12:54 am, Sü Keith Chakotay von Carpati
            <is_dat_right_I m_russ...@engin eer.comwrote:
            On Oct 15, 12:46 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
            >
            >
            >
            >
            >
            ????? Sü Keith Chakotay von Carpati said:
            >
            Installed this compiler on Vista; a simple
            "hello world" after compiled and run would pop-up a window
            "source file not compiled"
            >
            I've seen this question asked a few times on Internet groups and
            noone seems to have figure it out.
            >
            The fix is easy. Use a different operating system. I can't believe you
            actually paid good money for Vista. It's like buying polio.
            >
            What is going on?
            >
            Linux, if you're lucky. Failing that, XP.
            >
            --
            Richard Heathfield <http://www.cpax.org.uk >
            Email: -http://www. +rjh@
            Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
            "Usenet is a strange place" - dmr 29 July 1999
            >
            I've never thought it was about the OS.
            >
            I see here someone talking about it,
            "Hi
            Can anybody tell me from where to download the free C++ Compiler
            compatible with windows vista. I have downloaded DEV C++ one, but
            after typing the program when I hit compile there is no result shown
            anywhere...."ht tp://www.techsupport forum.com/conversation-pit/programming/68384-re...- Hide quoted text -
            >
            - Show quoted text -


            That's odd... Windows Vista was supposed to make things easier to use
            and
            this OS doesn't even have "Windows Help" anymore

            "Why can't I get Help from this program?
            The Help for this program was created in Windows Help format, which
            was used in previous versions of Windows and it is not supported in
            Windows Vista.
            For more information, see Windows Help program (WinHlp32.exe) is no
            longer included with Windows on the Microsoft support website."

            Comment

            • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

              #7
              Re: Dev-C++ compiling problem

              On Oct 15, 1:07 am, Sü Keith Chakotay von Carpati
              <is_dat_right_I m_russ...@engin eer.comwrote:
              On Oct 15, 12:54 am, Sü Keith Chakotay von Carpati
              >
              >
              >
              >
              >
              <is_dat_right_I m_russ...@engin eer.comwrote:
              On Oct 15, 12:46 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
              >
              ????? Sü Keith Chakotay von Carpati said:
              >
              Installed this compiler on Vista; a simple
              "hello world" after compiled and run would pop-up a window
              "source file not compiled"
              >
              I've seen this question asked a few times on Internet groups and
              noone seems to have figure it out.
              >
              The fix is easy. Use a different operating system. I can't believe you
              actually paid good money for Vista. It's like buying polio.
              >
              What is going on?
              >
              Linux, if you're lucky. Failing that, XP.
              >
              --
              Richard Heathfield <http://www.cpax.org.uk >
              Email: -http://www. +rjh@
              Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
              "Usenet is a strange place" - dmr 29 July 1999
              >
              I've never thought it was about the OS.
              >
              I see here someone talking about it,
              "Hi
              Can anybody tell me from where to download the free C++ Compiler
              compatible with windows vista. I have downloaded DEV C++ one, but
              after typing the program when I hit compile there is no result shown
              anywhere...."ht tp://www.techsupport forum.com/conversation-pit/programming/68384-re...Hide quoted text -
              >
              - Show quoted text -
              >
              That's odd... Windows Vista was supposed to make things easier to use
              and
              this OS doesn't even have "Windows Help" anymore
              >
              "Why can't I get Help from this program?
              The Help for this program was created in Windows Help format, which
              was used in previous versions of Windows and it is not supported in
              Windows Vista.
              For more information, see Windows Help program (WinHlp32.exe) is no
              longer included with Windows on the Microsoft support website."- Hide quoted text -
              >
              - Show quoted text -
              Here is a follow-up story
              Working with Vista
              By: Nobody/Anonymous (nobody) - 2007-04-14 05:14
              I know that there are other related threads but I thought that I
              should start one showing Bloodshed Dev C working successfully under
              Windows Vista

              I have been a happy user of Bloodshed Dev C under Windows XP, but my
              attempts to use it with Vista had always ended in failure. I had seen
              forum postings where others had similar problems and where a few had
              posted solutions - however their instructions didn't seem to work for
              me.

              This is possibly because I was trying to install the Bloodshed Dev C
              with it's own builtin MinGW GCC environment (which apparently has path
              related bugs). When Bloodshed was installed under Vista it seemed that
              the MinGW files got put in the wrong places. Even when I manually
              corrected this I couldn't make GCC find all the files it needed.

              So I decided to try installing the latest candidate MinGW first and
              then Install Bloodshed Dev C to use this instead of its own built in
              compiler. This also has the advantage of allowing a much newer MinGW -
              in fact I ended up installing GCC 4.1.2 instead of using the built in
              GCC 3.4.2

              Here is what I did:-


              Step 1 - Install the latest candidate MinGW

              Go to http://prdownloads.sourceforge.net/mingw

              Download and run the current MinGW installer:- MinGW-5.1.3.exe

              For installation I selected:-
              Download and install
              Candidate
              Install MinGW base tools & MinGW Make
              to
              C:\MinGW

              This installed the following components:-
              W32api-3.9
              mingw-runtime-3.12
              mingw32-make-3.81
              binutils-2.17.50
              gcc-core-3.4.5


              Step 2 - Install Bloodshed Dev C WITHOUT MinGW

              Go to http://www.bloodshed.net/dev/devcpp.html

              Download and run Dev-C++ 5.0 beta 9.2 (4.9.9.2), executable only (2.4
              MB)

              The link will get devcpp-4.9.9.2_nomingw _setup.exe from sourceforge:-


              I installed using the defaults (to C:\Dev-Cpp)


              Step 3 - Configure Bloodshed Dev C to use the already installed MinGW

              Run Bloodshed Dev C

              (You may end up allowing Bloodshed Dev C to use MinGW Make instead of
              GNU Make)

              Select the Tools -Compiler Options menu item

              Under the Directories -Binaries tab add two new paths (for MinGW and
              GCC libexec components):-

              C:\MinGW\bin
              C:\MinGW\libexe c\gcc\mingw32\3 .4.5

              And voila - now you should be able to compile programs!


              P.S. and voila - still not working ;-)



              Comment

              • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

                #8
                Re: Dev-C++ compiling problem

                On Oct 15, 1:46 am, Sü Keith Chakotay von Carpati
                <is_dat_right_I m_russ...@engin eer.comwrote:
                On Oct 15, 1:07 am, Sü Keith Chakotay von Carpati
                >
                >
                >
                >
                >
                <is_dat_right_I m_russ...@engin eer.comwrote:
                On Oct 15, 12:54 am, Sü Keith Chakotay von Carpati
                >
                <is_dat_right_I m_russ...@engin eer.comwrote:
                On Oct 15, 12:46 am, Richard Heathfield <r...@see.sig.i nvalidwrote:
                >
                ????? Sü Keith Chakotay von Carpati said:
                >
                Installed this compiler on Vista; a simple
                "hello world" after compiled and run would pop-up a window
                "source file not compiled"
                >
                I've seen this question asked a few times on Internet groups and
                noone seems to have figure it out.
                >
                The fix is easy. Use a different operating system. I can't believe you
                actually paid good money for Vista. It's like buying polio.
                >
                What is going on?
                >
                Linux, if you're lucky. Failing that, XP.
                >
                --
                Richard Heathfield <http://www.cpax.org.uk >
                Email: -http://www. +rjh@
                Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
                "Usenet is a strange place" - dmr 29 July 1999
                >
                I've never thought it was about the OS.
                >
                I see here someone talking about it,
                "Hi
                Can anybody tell me from where to download the free C++ Compiler
                compatible with windows vista. I have downloaded DEV C++ one, but
                after typing the program when I hit compile there is no result shown
                anywhere...."ht tp://www.techsupport forum.com/conversation-pit/programming/68384-re...quoted text -
                >
                - Show quoted text -
                >
                That's odd... Windows Vista was supposed to make things easier to use
                and
                this OS doesn't even have "Windows Help" anymore
                >
                "Why can't I get Help from this program?
                The Help for this program was created in Windows Help format, which
                was used in previous versions of Windows and it is not supported in
                Windows Vista.
                For more information, see Windows Help program (WinHlp32.exe) is no
                longer included with Windows on the Microsoft support website."- Hide quoted text -
                >
                - Show quoted text -
                >
                Here is a follow-up story
                Working with Vista
                By: Nobody/Anonymous (nobody) - 2007-04-14 05:14
                I know that there are other related threads but I thought that I
                should start one showing Bloodshed Dev C working successfully under
                Windows Vista
                >
                I have been a happy user of Bloodshed Dev C under Windows XP, but my
                attempts to use it with Vista had always ended in failure. I had seen
                forum postings where others had similar problems and where a few had
                posted solutions - however their instructions didn't seem to work for
                me.
                >
                This is possibly because I was trying to install the Bloodshed Dev C
                with it's own builtin MinGW GCC environment (which apparently has path
                related bugs). When Bloodshed was installed under Vista it seemed that
                the MinGW files got put in the wrong places. Even when I manually
                corrected this I couldn't make GCC find all the files it needed.
                >
                So I decided to try installing the latest candidate MinGW first and
                then Install Bloodshed Dev C to use this instead of its own built in
                compiler. This also has the advantage of allowing a much newer MinGW -
                in fact I ended up installing GCC 4.1.2 instead of using the built in
                GCC 3.4.2
                >
                Here is what I did:-
                >
                Step 1 - Install the latest candidate MinGW
                >
                Go tohttp://prdownloads.sou rceforge.net/mingw
                >
                Download and run the current MinGW installer:- MinGW-5.1.3.exe
                >
                For installation I selected:-
                Download and install
                Candidate
                Install MinGW base tools & MinGW Make
                to
                C:\MinGW
                >
                This installed the following components:-
                W32api-3.9
                mingw-runtime-3.12
                mingw32-make-3.81
                binutils-2.17.50
                gcc-core-3.4.5
                >
                Step 2 - Install Bloodshed Dev C WITHOUT MinGW
                >
                Go tohttp://www.bloodshed.n et/dev/devcpp.html
                >
                Download and run Dev-C++ 5.0 beta 9.2 (4.9.9.2), executable only (2.4
                MB)
                >
                The link will get devcpp-4.9.9.2_nomingw _setup.exe from sourceforge:-http://sourceforge.net/project/downloading.php ?groupname=dev-cpp&file...
                >
                I installed using the defaults (to C:\Dev-Cpp)
                >
                Step 3 - Configure Bloodshed Dev C to use the already installed MinGW
                >
                Run Bloodshed Dev C
                >
                (You may end up allowing Bloodshed Dev C to use MinGW Make instead of
                GNU Make)
                >
                Select the Tools -Compiler Options menu item
                >
                Under the Directories -Binaries tab add two new paths (for MinGW and
                GCC libexec components):-
                >
                C:\MinGW\bin
                C:\MinGW\libexe c\gcc\mingw32\3 .4.5
                >
                And voila - now you should be able to compile programs!
                >
                P.S. and voila - still not working ;-)
                >
                http://sourceforge.net/forum/forum.p...orum_id=48211- Hide quoted text -
                >
                - Show quoted text -


                What do I do now?
                I get these:

                Compiler: Default compiler
                Building Makefile: "C:\Dev-Cpp\Makefile.wi n"
                Executing make...
                make.exe -f "C:\Dev-Cpp\Makefile.wi n" all
                gcc.exe -c test21.c -o test21.o -I"C:/Dev-Cpp/include"

                gcc.exe: installation problem, cannot exec `cc1': No such file or
                directory

                make.exe: *** [test21.o] Error 1

                Execution terminated

                Comment

                • jacob navia

                  #9
                  Re: Dev-C++ compiling problem

                  Sü Keith Chakotay von Carpati wrote:
                  What do I do now?
                  I get these:
                  >
                  Compiler: Default compiler
                  Building Makefile: "C:\Dev-Cpp\Makefile.wi n"
                  Executing make...
                  make.exe -f "C:\Dev-Cpp\Makefile.wi n" all
                  gcc.exe -c test21.c -o test21.o -I"C:/Dev-Cpp/include"
                  >
                  gcc.exe: installation problem, cannot exec `cc1': No such file or
                  directory
                  >
                  make.exe: *** [test21.o] Error 1
                  >
                  Execution terminated
                  >
                  Please call DevCpp help desk. We are not DevCpp help desk, this
                  group is about the C language.

                  Thanks in advance for your understanding.

                  --
                  jacob navia
                  jacob at jacob point remcomp point fr
                  logiciels/informatique

                  Comment

                  • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

                    #10
                    Re: Dev-C++ compiling problem

                    On Oct 15, 2:30 am, jacob navia <ja...@nospam.o rgwrote:
                    Sü Keith Chakotay von Carpati wrote:
                    >
                    >
                    >
                    >
                    >
                    What do I do now?
                    I get these:
                    >
                    Compiler: Default compiler
                    Building Makefile: "C:\Dev-Cpp\Makefile.wi n"
                    Executing make...
                    make.exe -f "C:\Dev-Cpp\Makefile.wi n" all
                    gcc.exe -c test21.c -o test21.o -I"C:/Dev-Cpp/include"
                    >
                    gcc.exe: installation problem, cannot exec `cc1': No such file or
                    directory
                    >
                    make.exe: *** [test21.o] Error 1
                    >
                    Execution terminated
                    >
                    Please call DevCpp help desk. We are not DevCpp help desk, this
                    group is about the C language.
                    >
                    Thanks in advance for your understanding.
                    >
                    --
                    jacob navia
                    jacob at jacob point remcomp point fr
                    logiciels/informatiquehtt p://www.cs.virginia .edu/~lcc-win32- Hide quoted text -
                    >
                    - Show quoted text -
                    Of course; however, how can someone talk about the C language without
                    having a working compiler? You tell me.
                    It's like going on a battlefield without a rifle.

                    Comment

                    • Joachim Schmitz

                      #11
                      Re: Dev-C++ compiling problem

                      " Sü Keith Chakotay von Carpati" <is_dat_right_I m_russian@engin eer.com>
                      schrieb im Newsbeitrag
                      news:1192438089 .684463.87720@q 3g2000prf.googl egroups.com...
                      On Oct 15, 2:30 am, jacob navia <ja...@nospam.o rgwrote:
                      Sü Keith Chakotay von Carpati wrote:
                      >Of course; however, how can someone talk about the C language without
                      >having a working compiler? You tell me.
                      >It's like going on a battlefield without a rifle.
                      If in a battle your riffle jams, would you tell the General responsible for
                      tactics/strategie of the battle, or take it to a weapon shop for repair?

                      Bye, Jojo


                      Comment

                      • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

                        #12
                        Re: Dev-C++ compiling problem

                        On Oct 15, 2:51 am, "Joachim Schmitz" <nospam.j...@sc hmitz-digital.de>
                        wrote:
                        " Sü Keith Chakotay von Carpati" <is_dat_right_I m_russ...@engin eer.com>
                        schrieb im Newsbeitragnews :1192438089.684 463.87720@q3g20 00prf.googlegro ups.com...
                        On Oct 15, 2:30 am, jacob navia <ja...@nospam.o rgwrote:
                        >
                        Sü Keith Chakotay von Carpati wrote:
                        Of course; however, how can someone talk about the C language without
                        having a working compiler? You tell me.
                        It's like going on a battlefield without a rifle.
                        >
                        If in a battle your riffle jams, would you tell the General responsible for
                        tactics/strategie of the battle, or take it to a weapon shop for repair?
                        >
                        Bye, Jojo

                        Depends on the army, I guess.
                        It shouldn't be a problem to ask a comerade soldier
                        to give your rifle a kick or two in a proper way.
                        By the time you get to the weapon shop it may be too late...

                        Comment

                        • Joachim Schmitz

                          #13
                          Re: Dev-C++ compiling problem

                          " Sü Keith Chakotay von Carpati" <is_dat_right_I m_russian@engin eer.com>
                          schrieb im Newsbeitrag
                          news:1192439414 .013977.171270@ q3g2000prf.goog legroups.com...
                          On Oct 15, 2:51 am, "Joachim Schmitz" <nospam.j...@sc hmitz-digital.de>
                          wrote:
                          >" Sü Keith Chakotay von Carpati" <is_dat_right_I m_russ...@engin eer.com>
                          >schrieb im
                          >Newsbeitragnew s:1192438089.68 4463.87720@q3g2 000prf.googlegr oups.com...
                          >On Oct 15, 2:30 am, jacob navia <ja...@nospam.o rgwrote:
                          >>
                          Sü Keith Chakotay von Carpati wrote:
                          >Of course; however, how can someone talk about the C language without
                          >having a working compiler? You tell me.
                          >It's like going on a battlefield without a rifle.
                          >If in a battle your riffle jams, would you tell the General responsible
                          >for
                          >tactics/strategie of the battle, or take it to a weapon shop for repair?
                          >Depends on the army, I guess.
                          >It shouldn't be a problem to ask a comerade soldier
                          >to give your rifle a kick or two in a proper way.
                          >By the time you get to the weapon shop it may be too late...
                          Then ask your comrade soldier over in a newsgroup dealing with rifles, erh,
                          dev-cc 8-)

                          Bye, Jojo


                          Comment

                          • cr88192

                            #14
                            Re: Dev-C++ compiling problem


                            "Richard Heathfield" <rjh@see.sig.in validwrote in message
                            news:5oOdnTPVKP ffkY7a4p2dnAA@b t.com...
                            ????? Sü Keith Chakotay von Carpati said:
                            >
                            >Installed this compiler on Vista; a simple
                            >"hello world" after compiled and run would pop-up a window
                            >"source file not compiled"
                            >>
                            >I've seen this question asked a few times on Internet groups and
                            >noone seems to have figure it out.
                            >
                            The fix is easy. Use a different operating system. I can't believe you
                            actually paid good money for Vista. It's like buying polio.
                            >
                            some of us ended up getting a computer that came with vista, and feel too
                            uncertain to switch away from this, errm, big pile of crap of an OS...

                            >What is going on?
                            >
                            Linux, if you're lucky. Failing that, XP.
                            >
                            yes.

                            otherwise, I use mingw on vista, and it works ok...

                            --
                            Richard Heathfield <http://www.cpax.org.uk >
                            Email: -http://www. +rjh@
                            Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
                            "Usenet is a strange place" - dmr 29 July 1999

                            Comment

                            • =?iso-8859-1?q?______S=FC_Keith_Chakotay_von_Carpa

                              #15
                              Re: Dev-C++ compiling problem

                              On Oct 15, 6:08 am, "cr88192" <cr88...@nospam .hotmail.comwro te:
                              "Richard Heathfield" <r...@see.sig.i nvalidwrote in message
                              >
                              news:5oOdnTPVKP ffkY7a4p2dnAA@b t.com...
                              >
                              ????? Sü Keith Chakotay von Carpati said:
                              >
                              Installed this compiler on Vista; a simple
                              "hello world" after compiled and run would pop-up a window
                              "source file not compiled"
                              >
                              I've seen this question asked a few times on Internet groups and
                              noone seems to have figure it out.
                              >
                              The fix is easy. Use a different operating system. I can't believe you
                              actually paid good money for Vista. It's like buying polio.
                              >
                              some of us ended up getting a computer that came with vista, and feel too
                              uncertain to switch away from this, errm, big pile of crap of an OS...
                              >
                              What is going on?
                              >
                              Linux, if you're lucky. Failing that, XP.
                              >
                              yes.
                              >
                              otherwise, I use mingw on vista, and it works ok...
                              >
                              >
                              >
                              --
                              Richard Heathfield <http://www.cpax.org.uk >
                              Email: -http://www. +rjh@
                              Google users: <http://www.cpax.org.uk/prg/writings/googly.php>
                              "Usenet is a strange place" - dmr 29 July 1999- Hide quoted text -
                              >
                              - Show quoted text -
                              cr88, if you don't mind, can you share some of the
                              steps in your way of using mingw on vista?
                              Provided you've read my way of dealing with these, at the above,
                              where would I have possibly missed smth?

                              Comment

                              Working...