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:
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?
Sweet, got it working thanks :)
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.
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?
Sweet, got it working thanks :)
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