errors

This is a discussion on errors within the C++ Programming forums, part of the General Programming Boards category; i keep getting this error and dont know how to fix it, any ideas? thanx nafxcwd.lib(afxmem.obj) : error LNK2005: "void ...

  1. #1
    Registered User
    Join Date
    Mar 2006
    Posts
    17

    errors

    i keep getting this error and dont know how to fix it, any ideas?

    thanx

    nafxcwd.lib(afxmem.obj) : error LNK2005: "void __cdecl operator delete(void *)" (??3@YAXPAX@Z) already defined in libcpmtd.lib(delop.obj)
    LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
    Debug/pro.exe : fatal error LNK1169: one or more multiply defined symbols found
    Error executing link.exe.

    pro.exe - 2 error(s), 1 warning(s)

  2. #2
    Tropical Coder Darryl's Avatar
    Join Date
    Mar 2005
    Location
    Cayman Islands
    Posts
    503
    Did you upgrade the project from an old version of VC? In the linker settings ignore libcpmtd.lib.

  3. #3
    Registered User
    Join Date
    Mar 2006
    Posts
    17
    i checked and there is no libcpmtd.lib, what should i do?

  4. #4
    Registered User
    Join Date
    Mar 2006
    Posts
    17
    i never got these errors until recently, im trying to track back throught my code but i cant find anything, so must be in the settings

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. global namespace errors
    By stubaan in forum C++ Programming
    Replies: 9
    Last Post: 04-02-2008, 04:11 PM
  2. Ten Errors
    By AverageSoftware in forum Contests Board
    Replies: 0
    Last Post: 07-20-2007, 11:50 AM
  3. Stupid compiler errors
    By ChrisEacrett in forum C++ Programming
    Replies: 9
    Last Post: 11-30-2003, 05:44 PM
  4. Help me with these errors... :-(
    By major_small in forum C++ Programming
    Replies: 6
    Last Post: 09-07-2003, 09:18 PM
  5. errors in class(urgent)
    By ayesha in forum C++ Programming
    Replies: 2
    Last Post: 11-10-2001, 06:51 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21