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. ATL / WTL / STL
  4. Odd linker errors

Odd linker errors

Scheduled Pinned Locked Moved ATL / WTL / STL
debugginghelp
2 Posts 2 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.
  • T Offline
    T Offline
    Tommy2k
    wrote on last edited by
    #1

    Hi, I'm using this libary to convert PNG's to dibs. When i use a function in this lib, however, when i try to compile it, it gives me errors like this. error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj) And it gives them for a lot of functions. I do know what they mean i just don't know what to do about it.... I can compile it when i use Debug Multitread DLL. I already contacted the auther of this project by mail but he doesn't seem to respond. Thanks in advance

    S 1 Reply Last reply
    0
    • T Tommy2k

      Hi, I'm using this libary to convert PNG's to dibs. When i use a function in this lib, however, when i try to compile it, it gives me errors like this. error LNK2005: _malloc already defined in LIBCMT.lib(malloc.obj) And it gives them for a lot of functions. I do know what they mean i just don't know what to do about it.... I can compile it when i use Debug Multitread DLL. I already contacted the auther of this project by mail but he doesn't seem to respond. Thanks in advance

      S Offline
      S Offline
      Steve S
      wrote on last edited by
      #2

      This happens if you use one setting for which runtime to use, and the lib was built using another. If it works when you use 'Debug Multithread DLL' but not when you use 'Debug Multithread', guess which one they used ;) ? Steve S [This signature space available for rent]

      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