Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. resource compiler rc2188 error

resource compiler rc2188 error

Scheduled Pinned Locked Moved C / C++ / MFC
csharpvisual-studiotoolshelpannouncement
6 Posts 2 Posters 11 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • F Offline
    F Offline
    ForNow
    wrote on last edited by
    #1

    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"

    L 1 Reply Last reply
    0
    • F ForNow

      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"

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      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.

      speaking as ...

      F 1 Reply Last reply
      0
      • L Lost User

        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.

        speaking as ...

        F Offline
        F Offline
        ForNow
        wrote on last edited by
        #3

        In other words look at the includes in resource file thanks

        L 1 Reply Last reply
        0
        • F ForNow

          In other words look at the includes in resource file thanks

          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          Exactly what the compiler messages were telling you.

          speaking as ...

          F 1 Reply Last reply
          0
          • L Lost User

            Exactly what the compiler messages were telling you.

            speaking as ...

            F Offline
            F Offline
            ForNow
            wrote on last edited by
            #5

            commneted out all the #includes still getting the error must be what I changed in the source don't know

            F 1 Reply Last reply
            0
            • F ForNow

              commneted out all the #includes still getting the error must be what I changed in the source don't know

              F Offline
              F Offline
              ForNow
              wrote on last edited by
              #6

              the resource compiler reads uses resource.h had an errorous include there thanks

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups