Menu

Resources in Dev

JJFMJR
2007-09-03
2012-09-26
  • JJFMJR

    JJFMJR - 2007-09-03

    Compiler Dev beta 5(4.9.9.2)

    Windows Vista

    I'm using theForgers win32 API tutorials.
    I am getting a resource error:

    Compiler: Default compiler
    Building Makefile: "C:\Users\JohnJr\Desktop\Random\Makefile.win"
    Executing make...
    make.exe -f "C:\Users\JohnJr\Desktop\Random\Makefile.win" all
    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

    However, my resource has been added and is as followed:

    define IDD_ABOUT 005

    IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66
    STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
    CAPTION "My about box....."
    FONT 8, "MS Sans Serif"
    BEGIN
    DEFPUSHBUTTON "OK", IDOK, 174, 18, 50, 14
    PUSHBUTTON "Cancel", IDCANCEL, 174, 35, 50, 14
    GROUPBOX "About this program....", IDC_STATIC, 7, 7, 225, 52
    CTEXT "An example program showing how to display Dialog Boxes/r/n/r/nby theForger",
    IDC_STATIC, 16, 18, 144, 33
    END

    (Note this was just an example, I'm trying to get resources to work)
    Please can anyone explain how to fix this?

     
    • JJFMJR

      JJFMJR - 2007-09-03

      Sweet, got it working thanks :)

       
    • Wayne Keen

      Wayne Keen - 2007-09-03

      You mention you are using Windows Vista. Have you gone through the process
      of setting Dev up to work with Vista? (covered in the "Please Read" thread)

      Wayne

       

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.