Menu

compiled program can't be run

aashish n
2008-06-12
2012-09-26
  • aashish n

    aashish n - 2008-06-12

    when i compile a program it is compiled but when i try to run it it says "program not compiled"
    please help..........
    m new to dev C++ ... have been using turbo C++ before........
    could u also highlight the syntax differences plz..

    here is the compile file
    executing make...
    make.exe -f "C:\Dev-Cpp\Makefile.win" Untitled2.o
    make.exe: `Untitled2.o' is up to date.

    Execution terminated
    Compilation successful

     
    • aashish n

      aashish n - 2008-06-12

      this is the error i get when i try compiling the default program of hello world given in d compiler

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

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

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

      windres.exe: no resources

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

      Execution terminated

       
    • aashish n

      aashish n - 2008-06-12

      and when i compile this program

      include <conio.h>

      include <stdio.h>

      int main()
      {
      printf(“Greetings Earthlings.\n”);
      printf(“All your base are belong to us!\n”);
      getch();
      }
      i get this error

      C:\Dev-Cpp\Makefile.win [Build Error] [Untitled2.o] Error 1

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.