Im trying to compile an rc file in code::blocks but im getting some errors. Here's the file:
#include "I:/Win32/Win32_SimpleMenu/resource.h"
IDR_MYMENU MENU
BEGIN
POPUP "&file"
BEGIN
MENUITEM "E&xit", ID_FILE_EXIT
END
POPUP "&Stuff"
BEGIN
MENUITEM "&Go", ID_STUFF_GO
MENUITEM "G&o somewhere else", 0, GRAYED
END
END
IDI_MYICON ICON "menu_one.ico"
the compiler says it is compiling the rc file, but it does nothing. After cancling i get:
can't open file `prompt': No such file or directory|
||preprocessing failed.|
||=== Build finished: 2 errors, 0 warnings ===|
resource.h
#define IDR_MYMENU 101
#define IDI_MYICON 102
#define ID_FILE_EXIT 40001
#define ID_STUFF_GO 40002
#define ID_STUFF_GOSOMEWHEREELSE 40003
Thanks if you can help!
Probably start from here: http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F
I appreiciate the help, it not notes that the process tried to write to a nonexistant pipe. Does that help at all?
EDIT: also says windres.exe is the source that gets the error
Search the forum for a winres.exe, I think this is a common problem.
Quote from: Need4sleep on September 12, 2012, 10:43:35 PM
I appreiciate the help, it not notes that the process tried to write to a nonexistant pipe. Does that help at all?
EDIT: also says windres.exe is the source that gets the error
Did you install the mingw compiler suite correctly? What is the error raw log message?