LNK 2019 Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GaneshVel
    New Member
    • Dec 2007
    • 2

    LNK 2019 Error

    Hello,

    I am trying to compile a C code using Visu al Studio 2005 Command Prompt but I get unresloved external symbol glp_lpx_create_ problem_referen ce error LNK 2019 error. I am tyring to run GLPK-4.8 Linear program .I get fatal LNK1120 15 unresolved error.Please help

    Thanks
  • epots9
    Recognized Expert Top Contributor
    • May 2007
    • 1352

    #2
    Moved to the C Forums where the resident experts can better assist you.

    **Moved form Programming Challenges

    Comment

    • oler1s
      Recognized Expert Contributor
      • Aug 2007
      • 671

      #3
      Did you link in the correct libraries?

      Comment

      • GaneshVel
        New Member
        • Dec 2007
        • 2

        #4
        Originally posted by oler1s
        Did you link in the correct libraries?
        All the libraries are in the root directory where I am compiling the C code. I am assuming that should be enough to link ...or is there an explicit way how to link the libraries.

        Please help. Any advice would be appreciated.

        Comment

        • oler1s
          Recognized Expert Contributor
          • Aug 2007
          • 671

          #5
          Originally posted by GaneshVel
          All the libraries are in the root directory where I am compiling the C code. I am assuming that should be enough to link ...or is there an explicit way how to link the libraries..
          No most definitely not. It should be clear that your next step is to Google on how to link a library in Visual Studio.

          Comment

          • gnanapoongothai
            New Member
            • Jun 2007
            • 62

            #6
            Check in the properties and include the additional lib files needed. Only including in the addtional depencies work. check it out.

            Comment

            Working...