Menu ▾ ▴

I can't compile "Hello world"

2007-01-23
6 days ago
  • Nobody/Anonymous

    I've just downloaded dev-C++ (ver5) and I tried the introduction project "Hello world", but I couldn't compile it.

    I copied the text writen in the compiler text box:

    file:                                message:
                                        [Resource error] no resources
    

    C:\Dev-Cpp\Makefile.win [Build Error] [test_private.res] Error 1

    What is the problem and how do I solve it?

    Thanks.

    Libi

     
    • Nobody/Anonymous

      I can't compile "Hello world" too. My problem is a bit different though. In the compiler tab at the bottom left hand side of the screen says:

           "29 C:\Dev-Cpp\Makefile.win [Build Error] *** missing separator.  Stop."
      

      and a little 'x' appears next to line 29 and it goes red.
      The code in line 29 is as follows:

           " "Project\ #1.o": Project\ #1.cpp "
      

      I am new to C++ and I could not find anything about how to fix this problem on the website. If somebody could help me that would be wonderful.

      Thank you.

       
      • Anonymous

        Anonymous - 2007-01-31

        >> My problem is a bit different though...

        It is entirely different and unrelated, so start a new thread rather than hijack someone elses. Read the "<-PLEASE READ BEFORE POSTING A QUESTION" thread first, it contains instructions on how to post effective questions by including three vital pieces of information.

        Incidentally, your exact problem was discussed just last week, so a forum search would alos have been in order: http://sourceforge.net/forum/forum.php?thread_id=1657441&forum_id=48211

        Clifford

         
    • Nobody/Anonymous

      a little adding:
      I'm using windows XP, and here is the compile log:

      Compiler: Default compiler
      Building Makefile: "C:\Dev-Cpp\Makefile.win"
      Executing make...
      make.exe -f "C:\Dev-Cpp\Makefile.win" all
      g++.exe -c test2.cpp -o test2.o -I"C:/Dev-Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-Cpp/include/c++/3.4.2/backward" -I"C:/Dev-Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2" -I"C:/Dev-Cpp/include"

      windres.exe -i test_private.rc --input-format=rc -o test_private.res -O coff

      windres.exe: no resources

      make.exe: *** [test_private.res] Error 1

      Execution terminated

      Libi.

       
    • Anonymous

      Anonymous - 2007-01-24

      "Hello world" should not have a resource file yet your build is trying to find and compile one. It looks like you have set the project type as a Windows GUI rather than Console app.

       
  • Henry Tavet

    Henry Tavet - 6 days ago

    Zamiast kolejny raz denerwować się na przegranych kuponach sportowych, wolałem sprawdzić swoje wyczucie przy grach w karty w Poland. Wszedłem na vox casino, usiadłem do bakarata i postawiłem na wygraną gracza. Trzy udane partie z rzędu pozwoliły mi odrobić dawne straty z nawiązką, a pieniądze wypłaciłem bezpośrednio na kartę płatniczą. Wszystko przebiegło zgodnie z regulaminem i bez opóźnień.

     

    Last edit: Henry Tavet 6 days ago

Log in to post a comment.