LINK : fatal error LNK1104: cannot open file 'odbc32.lib'

If I compile I get the following message:

LINK : fatal error LNK1104: cannot open file 'odbc32.lib'

I'm not a crack in programming, but I just need to make a simple program for my thesis. I really don't know what I'm doing wrong. I've searched for this library but I didn't find it. Can someone help me

thx in advance

Tom



Answer this question

LINK : fatal error LNK1104: cannot open file 'odbc32.lib'

  • Sitrion

    I also get this error though I have the Platform SDK installed (along with C++ Express). Include paths and library paths are set correctly.

    I only installed some of the Platform SDK
    - could that be why I get this error

  • Rich Wilson

    Is it possible that you use VC++ Express and you didn't insatlled the Platform SDK.

    You need to install the Platform SDK separatly for VC++ Express.



  • A L

    I use a trial version and I installed 3 things but I don't know if the platform was in it. Can you explain what it is and were I can find it

    thx


  • Buddhike

    yes, it seems you have to install the data access services SDK too (at least those components relevant to your environment (e.g. x86 32-bit).

    Donall.


  • yashmitl

    Look at the videos at http://msdn.microsoft.com/visualc/learning/vcexpvids/default.aspx that describe from where to install the PSDK bits.

    Thanks,
    Ayman Shoukry
    VC++ Team


  • Anurodh

    I get this linking error. I followed the instructions on the video (so I set the paths and modified the core properties file), and I am able to locate odbc32.lib in the PlatformSDK\Lib folder, so it's there, but the compiler (C++ 2005 Express Edition) can't seem to find it/link it. I've tried cleaning and rebuilding the solution, as well as restarting the compiler, is there something else I need to do to get it to register


  • LINK : fatal error LNK1104: cannot open file 'odbc32.lib'