×

Discussion Board

Results 1 to 2 of 2

Thread: link problem

  1. #1
    Registered User
    Join Date
    Mar 2003
    Posts
    14

    link problem

    Hello,

    When I compile my program, I always got a lot of link errors. How can I handle them and avoid them?

    Yauhei

  2. #2
    Regular Contributor
    Join Date
    Mar 2003
    Location
    Tampere
    Posts
    475

    RE: link problem

    Hi,

    If you use a Class (for example CFileMan) you will find the following two lines in the SDK help:

    Location: f32file.h
    Link against: efsrv.lib

    Linking error occur, when you include the first file, but forgot to add the second one to your project.
    To add a library to your project insert the library's name into the project MMP file. For example:

    LIBRARY efsrv.lib

    Afterwards recreate your Visual Studio workspace with:

    abld makefile vc6

    If you search for "Quick reference" in SDK Help you will find the headers and their libraries. You could also search for header files, to find out which library you should add to your project.

    Best Regards,
    (V) - Forum Nokia Developer Support

Posting Permissions

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