Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8755579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:53:05+00:00 2026-06-13T13:53:05+00:00

I am trying to compile my Visual C++ project (uses MFC) in Microsoft Visual

  • 0

I am trying to compile my Visual C++ project (uses MFC) in Microsoft Visual Studio 2012, and it comes back with the following errors:

error LNK2005: "void * __cdecl operator new(unsigned int)" (??2@YAPAXI@Z) already defined in LIBCMTD.lib(new.obj)   
error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in LIBCMTD.lib(dbgdel.obj) 
error LNK2005: "void __cdecl operator delete[](void *)" (??_V@YAXPAX@Z) already defined in LIBCMTD.lib(delete2.obj)
error LNK1169: one or more multiply defined symbols found

So I googled around a bit and found this page:
http://support.microsoft.com/?scid=kb%3Ben-us%3B148652&x=13&y=8
I tried solution one but the “Ignore Libraries” box does not exist, and so does the Object/library modules box. For the Ignore Libraries I found Ignore specific libraries, but skipping step five only gave me 17xx errors.

I googled around a lot, but always came back to the same page, how can I fix this problem in Visual Studio 2012?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T13:53:06+00:00Added an answer on June 13, 2026 at 1:53 pm

    I fixed the problem: I found that it is a problem with the order of the includes. However forcing every file to have the afx.h include (properties->c/c++/advanced/force include file)
    fixed the problem for me.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to compile an old project that was originally designed for Visual Studio
I am just trying to compile a bit bigger project using the Visual Studio
I'm trying to make my project compile under GCC (Visual Studio compiles it flawlessly).
I was trying to compile our project in Visual Studio 2010 using the 2005
So I'm trying to compile a project in Visual Studio 2010 and I seem
I am trying to compile a sample SDL project in Visual Studio C++ Express
I have a C++ Visual Studio project which I'm trying to compile for x86
I'm trying to compile the example visual studio solution that comes with the 3.2
I am trying to compile a C++ project in Visual Studio 2010. It contains
While trying to compile a Silverlight project for Windows Phone using Visual Studio 2010

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.