CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Link problem

  1. #1
    Guest

    Link problem

    Hello,

    I 've got a linking problem in vc++ 5.0 :
    first, i defined a static library x. => x.h et x.cpp compiled to x.lib with no pbs.
    second, i defined a test probleme test_x.
    I include x.h in test_x.
    compilation produce no problem, but linking say that it can't find function adress : I don't know how to tell to vc5 where are my x.lib file (directories are well...).


    Thank you very much,

    Adrien.


  2. #2
    Join Date
    Apr 1999
    Location
    Monterrey, Mexico
    Posts
    21

    Re: Link problem

    select project|settings menu...

    go to the link tab...

    and write the name of your library (including the .lib extension) in the "Object/Library modules" edit box.

    include the full path if needed

    HTH



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured