Discussion Board

Results 1 to 2 of 2

Thread: link problem

  1. #1
    Registered User lkjfdsa's Avatar
    Join Date
    Mar 2003
    Posts
    14
    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 Denever's Avatar
    Join Date
    Mar 2003
    Location
    Tampere
    Posts
    475
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved