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. I have some linking problems

I have some linking problems

Scheduled Pinned Locked Moved C / C++ / MFC
helpcsharpvisual-studiosysadminwindows-admin
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.
  • B Offline
    B Offline
    bouli
    wrote on last edited by
    #1

    Hello gurus, I have some linking problem with Visual Studio 2005 installed on an Windows XP Professional x64 Edition with Platform SDK for Windows Server 2003 R2 (march 2006). I have the following linking errors: 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wstat64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__stat64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wfindfirst64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__findfirst64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wfindnext64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__findnext64i32 referenced in function xxx I can see these unresolved references are declared in stat.h (_stat) and io.h (findfirst/findnext) and should be linked with the CRT but I don't find the correct lib to link with. Does any body has a clue to solve this problem? Best regards. Fred.

    There is no spoon.

    E 1 Reply Last reply
    0
    • B bouli

      Hello gurus, I have some linking problem with Visual Studio 2005 installed on an Windows XP Professional x64 Edition with Platform SDK for Windows Server 2003 R2 (march 2006). I have the following linking errors: 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wstat64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__stat64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wfindfirst64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__findfirst64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__wfindnext64i32 referenced in function xxx 1>xxx.obj : error LNK2019: unresolved external symbol __imp__findnext64i32 referenced in function xxx I can see these unresolved references are declared in stat.h (_stat) and io.h (findfirst/findnext) and should be linked with the CRT but I don't find the correct lib to link with. Does any body has a clue to solve this problem? Best regards. Fred.

      There is no spoon.

      E Offline
      E Offline
      Emilio Garavaglia
      wrote on last edited by
      #2

      Not sure, but it seems a mismatch between the compiler and linker configurations, like compiling for Win64, but linking for Win32. Can you check the compiler and linker flags ?

      2 bugs found. > recompile ... 65534 bugs found. :doh:

      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