[Dev-C++] Re: Can't link resources into executable
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Big P. <big...@li...> - 2002-11-29 12:55:20
|
wx-...@li... > I have a problem with a program which seems to stem from the fact > that I can't link some needed resources into it. If I don't link the > resource file, I get an error relating to a missing resource whenever > I try to create a dialog. When I DO add the resource file into my > program I get resource compiler errors: > > windres.exe -i mailprog_private.RC -I rc -o mailprog_private.res -O > coff --include-dir C:/Dev-Cpp/include/wx/msw [snip] > C:/Dev-Cpp/Bin/../lib/gcc-lib/mingw32/2.95.3-6/../../../../include > /wx/memory.h:33: > iostream.h: No such file or directory > windres.exe: can't open cursor file `wx/msw/hand.cur': No such file > or directory > I got it!! After weeks of searching I got it working. I needed to add 'c:\dev-cpp\include' to the Resource Include Directory. Note that it's referring to 'hand.cur' using a relative search, that's why it has to be added in this fashion. Why doesn't Dev-cpp do this automatically by default? -- ______________________________________________ http://www.linuxmail.org/ Now with POP3/IMAP access for only US$19.95/yr Powered by Outblaze |