Menu

No such file or directory

2002-08-29
2012-09-26
  • Nobody/Anonymous

    I can't get this file to compile with the following messages:

    Compiler:
    D:\eTutor\Beginner\ASCII_Tic-Tac-Toe B\Tic-Tac-Toe\Makefile.win
    [Build Error]  [Tic_Tac_Toe.exe] Error 1

    Compile Log:
    Building Makefile: "D:\eTutor\Beginner\ASCII_Tic-Tac-Toe B\Tic-Tac-Toe\Makefile.win"
    Executing  make...
    make.exe -f "D:\eTutor\Beginner\ASCII_Tic-Tac-Toe B\Tic-Tac-Toe\Makefile.win" all
    gcc.exe -c Tic_Tac_Toe.cpp -o Tic_Tac_Toe.o -I"d:\Dev-Cpp\include"  -I"d:\Dev-Cpp\include\g++-3"  -I"d:\Dev-Cpp\include"  -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_CONSOLE -D_MBCS -g3 -mwindows

    gcc.exe Tic_Tac_Toe.o  -o "Tic_Tac_Toe.exe" -L"d:\Dev-Cpp\lib" -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -luuid -lodbc32 -lodbccp32 -Wl --subsystem console -I"d:\Dev-Cpp\include"  -I"d:\Dev-Cpp\include\g++-3"  -I"d:\Dev-Cpp\include"  -D__GNUWIN32__ -W -DWIN32 -DNDEBUG -D_CONSOLE -D_MBCS -g3 -mwindows
    gcc.exe: console: No such file or directory
    make.exe: *** [Tic_Tac_Toe.exe] Error 1
    Execution terminated

    I know it probably says what file is missing but I don't see it (newbie).  Would somebody please tell me which is missing or how to tell.

    Ted

     
    • Yiannis Mandravellos

      You have probably imported this from a MS visual C project. There was a bug in the importing function that is now corrected.

      Goto project options and find in Linker Options (probably at the end) the part that says "--subsystem console". Delete it and try again.

      Yiannis.

       
    • Anonymous

      Anonymous - 2002-08-30

      That got it.  Thanks!

      Ted

       

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.