Old 23rd December 2003, 12:43   #1
PerditionC
Junior Member
 
Join Date: Jan 2003
Posts: 27
plugin resource build workaround

several of the plugins in their resource file (*.rc) include afxres.h which (at least for my installations) does not exist or at least not in the default include path for MSVC 7 standard nor MinGW.
Locally I change
code:
#include "afxres.h"

to
code:

#ifndef _INC_WINDOWS
#define _INC_WINDOWS
#include <winresrc.h>
#endif


which seems to work for all my tested compilers. Would it be possible to do this in the NSIS cvs sources or is there other uses of afxres.h that I'm overlooking?

Thanks,
Jeremy
PerditionC is offline   Reply With Quote
Old 23rd December 2003, 13:24   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Done.

Can you submit the make file you use to compile NSIS with MinGW so we can update the current one?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 23rd December 2003, 21:50   #3
PerditionC
Junior Member
 
Join Date: Jan 2003
Posts: 27
I'll see about updating the generic makefiles included with NSIS and submitting them (the AbiWord one's used wouldn't be suitable as they require several other makefiles that setup various rules and platform defines) this weekend.
PerditionC is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump