resource compiler rc2188 error
-
Hi I just re-did my project moved things around got rid of some things i didn't need everything works fine except for compiling my resource script got rc2188 below is the output from the resource compiler thanks in advance 1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/atlconv.h(22) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/atlalloc.h(629) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/atlstr.h(16) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/atlbase.h(59) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afx.h(15) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afxver_.h(81) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afxver_.h(85) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afxv_w32.h(16) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afxver_.h(348) : warning RC4005: 'AFX_DATA' : redefinition 1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afx.h(255) : warning RC4005: '_AFX_FUNCNAME' : redefinition 1>f:\HERC_CMD\Release\RCa05536(579) : fatal error RC1116: RC terminating after preprocessor errors 1>Build log was saved at "file://f:\HERC_CMD\Release\BuildLog.htm"
-
Hi I just re-did my project moved things around got rid of some things i didn't need everything works fine except for compiling my resource script got rc2188 below is the output from the resource compiler thanks in advance 1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/atlconv.h(22) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/atlalloc.h(629) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/atlstr.h(16) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/atlbase.h(59) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afx.h(15) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afxver_.h(81) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afxver_.h(85) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afxv_w32.h(16) : error RC2188: C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afxver_.h(348) : warning RC4005: 'AFX_DATA' : redefinition 1>C:\Program Files\Microsoft Visual Studio 9.0\VC\atlmfc\include/afx.h(255) : warning RC4005: '_AFX_FUNCNAME' : redefinition 1>f:\HERC_CMD\Release\RCa05536(579) : fatal error RC1116: RC terminating after preprocessor errors 1>Build log was saved at "file://f:\HERC_CMD\Release\BuildLog.htm"
This usually means you have some unneeded
#include
statements in your source file, or some are out of order. Generally speaking you should not need to include everything within a resource file. -
This usually means you have some unneeded
#include
statements in your source file, or some are out of order. Generally speaking you should not need to include everything within a resource file. -
Exactly what the compiler messages were telling you.
-
Exactly what the compiler messages were telling you.
-
commneted out all the #includes still getting the error must be what I changed in the source don't know