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. Managed C++/CLI
  4. Linker Errors

Linker Errors

Scheduled Pinned Locked Moved Managed C++/CLI
c++comhelpquestion
2 Posts 2 Posters 3 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.
  • P Offline
    P Offline
    Paul Ingles
    wrote on last edited by
    #1

    I'm trying to interoperate with an external library (the C interface for K -- mentioned in the lounge a short while ago -- www.kx.com[^]) I've added the include statements, and added the .lib to the list of files to link with, however, I still get: KdbTest1 error LNK2001: unresolved external symbol "int __cdecl cd(struct k0 *)" (?cd@@$$FYAHPAUk0@@@Z) KdbTest1 error LNK2001: unresolved external symbol "struct k0 * __cdecl gi(int)" (?gi@@$$FYAPAUk0@@H@Z) KdbTest1 error LNK2001: unresolved external symbol "struct k0 * __cdecl gnk(int,...)" (?gnk@@$$FYAPAUk0@@HZZ) KdbTest1 error LNK2001: unresolved external symbol "struct k0 * __cdecl ksk(char *,struct k0 *)" (?ksk@@$$FYAPAUk0@@PADPAU1@@Z) KdbTest1 fatal error LNK1120: 4 unresolved externals I'm trying to build a small Managed C++ console application to try interoperability with Managed C++. All the files can be obtained from http://www.kx.com/a/k/connect/c/[^] Any suggestions would be very much welcomed. -- Paul "If you can keep your head when all around you have lost theirs, then you probably haven't understood the seriousness of the situation." - David Brent, from "The Office" MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446

    N 1 Reply Last reply
    0
    • P Paul Ingles

      I'm trying to interoperate with an external library (the C interface for K -- mentioned in the lounge a short while ago -- www.kx.com[^]) I've added the include statements, and added the .lib to the list of files to link with, however, I still get: KdbTest1 error LNK2001: unresolved external symbol "int __cdecl cd(struct k0 *)" (?cd@@$$FYAHPAUk0@@@Z) KdbTest1 error LNK2001: unresolved external symbol "struct k0 * __cdecl gi(int)" (?gi@@$$FYAPAUk0@@H@Z) KdbTest1 error LNK2001: unresolved external symbol "struct k0 * __cdecl gnk(int,...)" (?gnk@@$$FYAPAUk0@@HZZ) KdbTest1 error LNK2001: unresolved external symbol "struct k0 * __cdecl ksk(char *,struct k0 *)" (?ksk@@$$FYAPAUk0@@PADPAU1@@Z) KdbTest1 fatal error LNK1120: 4 unresolved externals I'm trying to build a small Managed C++ console application to try interoperability with Managed C++. All the files can be obtained from http://www.kx.com/a/k/connect/c/[^] Any suggestions would be very much welcomed. -- Paul "If you can keep your head when all around you have lost theirs, then you probably haven't understood the seriousness of the situation." - David Brent, from "The Office" MS Messenger: paul@oobaloo.co.uk Sonork: 100.22446

      N Offline
      N Offline
      Nick Parker
      wrote on last edited by
      #2

      Paul Ingles wrote: Any suggestions would be very much welcomed. Ok, after a little looking I came across this[^] knowledge base article, however you may look into this[^] KB article as well, hope this points you in the right direction. :)


      Nick Parker

      Not everything that can be counted counts, and not everything that counts can be counted. - Albert Einstein

      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