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. Erro while building the project

Erro while building the project

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpc++visual-studioquestion
3 Posts 3 Posters 0 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.
  • R Offline
    R Offline
    Rahul RK
    wrote on last edited by
    #1

    Hello friends, I am trying to built in project in Visual Studio 2005. Project is created in MFC(Application project) and Visual studio 2003 by other person. I am getting an error while comping. The error points towards some file comsuppwd.lib. I am just putting error names here as follows, error LNK2005: "class _variant_t vtMissing" (?vtMissing@@3V_variant_t@@A) already defined in comsuppwd.lib(comutil.obj) comsuppd.lib and other is fatal error LNK1169: one or more multiply defined symbols found I searched on net but not able to solve this error. please help me. Thanks in Advance.

    R U 2 Replies Last reply
    0
    • R Rahul RK

      Hello friends, I am trying to built in project in Visual Studio 2005. Project is created in MFC(Application project) and Visual studio 2003 by other person. I am getting an error while comping. The error points towards some file comsuppwd.lib. I am just putting error names here as follows, error LNK2005: "class _variant_t vtMissing" (?vtMissing@@3V_variant_t@@A) already defined in comsuppwd.lib(comutil.obj) comsuppd.lib and other is fatal error LNK1169: one or more multiply defined symbols found I searched on net but not able to solve this error. please help me. Thanks in Advance.

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      "Explicit references to comsupp.lib, either from the comment pragma or via the command line, should be changed to now use either comsuppw.lib or comsuppwd.lib, as /Zc:wchar_t is now on by default. comsupp.lib should still be used when compiling with /Zc:wchar_t-." from msdn. try setting "vsproperty->language->Treat wchar_t as Built-in type = No". or specify the lib as above.

      1 Reply Last reply
      0
      • R Rahul RK

        Hello friends, I am trying to built in project in Visual Studio 2005. Project is created in MFC(Application project) and Visual studio 2003 by other person. I am getting an error while comping. The error points towards some file comsuppwd.lib. I am just putting error names here as follows, error LNK2005: "class _variant_t vtMissing" (?vtMissing@@3V_variant_t@@A) already defined in comsuppwd.lib(comutil.obj) comsuppd.lib and other is fatal error LNK1169: one or more multiply defined symbols found I searched on net but not able to solve this error. please help me. Thanks in Advance.

        U Offline
        U Offline
        User 3349740
        wrote on last edited by
        #3

        We solved this by Ignoring the library comsuppd.lib/comsuppwd.lib Properties->Linker->Input->Ignore Specific Library Hope it helps you Thanks, Vijay

        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