CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2002
    Posts
    107

    linking problems

    After compiling, when I am doing the linking, the compiler conmplains that I have undefined symbols but I have included the library files, what else could I be missing?


  2. #2
    Join Date
    Apr 1999
    Posts
    27,449

    Re: linking problems

    What compiler? What are the errors? You need to provide more information.

    Regards,

    Paul McKenzie




  3. #3
    Join Date
    Feb 2002
    Posts
    81

    Re: linking problems

    First, check for the missing symbols.
    Then, identify the library file (or object file) where the symbols are defined.
    Last, include the missing library file (or object file) in the link list.

    I don't know what compiler you use.


  4. #4
    Join Date
    Mar 2002
    Posts
    107

    Re: linking problems

    borlandc compiler


  5. #5
    Join Date
    Feb 2002
    Posts
    81

    Re: linking problems

    Then, make sure you link all the required libraries. Usualy, this is the thing forgoten.


  6. #6
    Join Date
    Mar 2002
    Posts
    107

    Re: linking problems

    But I have link the libraries but it still give me this problem, that's why I am very vexed over this problem


  7. #7
    Join Date
    Mar 2002
    Posts
    107

    Re: linking problems

    How would i know if the compiler has included my libraries and objects files?


  8. #8
    Join Date
    Mar 2002
    Posts
    8

    Re: linking problems

    if im not mistaken, you have to make a config
    file for borland, <something>.cfg.

    this file should include lines like
    -L<DIR>

    this makes a default linking to the libraries.
    read the readme file very thouroughly, it's all there!


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