Thread: MinGW Resource

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    387

    MinGW Resource

    I am getting the error:
    C:\MinGW\Bin\Windres: No resources
    when i try to use the MinGW command line compile to compile resource files
    (windres -o res.o resource.rc)

    I wanted to know if there is any special way of making the resource files for MinGW, or if you know how to solve this problem. My resource file is this (just incase i did it wrong):

    Code:
    #include "resource.h"
    
    IDR_MYMENU MENU
    BEGIN
            POPUP "&File"
            BEGIN
                    MENUITEM "E&xit", ID_FILE_EXIT
            END
    
            POPUP "&Stuff"
            BEGIN
                    MENUITEM "&Message", ID_STUFF_GO
            END
    END
    
    IDI_MYICON ICON "world.ico"
    Thanks in advance

  2. #2
    Registered User Dual-Catfish's Avatar
    Join Date
    Sep 2001
    Posts
    802
    You dirty dirty cross poster!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Sorting out a resource manager
    By psychopath in forum Game Programming
    Replies: 1
    Last Post: 11-10-2008, 07:12 PM
  2. CreateProcess with Resource of executable, not the Filename
    By Ktulu in forum Windows Programming
    Replies: 4
    Last Post: 11-04-2006, 01:07 AM
  3. MinGW Studio Resource Editor
    By Vicious in forum Windows Programming
    Replies: 0
    Last Post: 09-11-2004, 07:49 PM
  4. Resource Scripts in Mingw (Dev-C++)
    By golfinguy4 in forum Windows Programming
    Replies: 2
    Last Post: 12-18-2002, 05:01 PM
  5. Serial Communications in C
    By ExDigit in forum Windows Programming
    Replies: 7
    Last Post: 01-09-2002, 10:52 AM