DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   C++ (http://www.daniweb.com/forums/forum8.html)
-   -   Errors While Compiling (http://www.daniweb.com/forums/thread53333.html)

Gunner54 Aug 25th, 2006 6:41 am
Errors While Compiling
 
Ok My Code Is Fine As My Friend Can Compile It Fine So I Wont Show That.

My Error Is This
 
1>LINK : fatal error LNK1104: cannot open file 'odbc32.lib'

I Have SDK Installed And Visual C++ 2005 With MSDN

Ancient Dragon Aug 25th, 2006 7:01 am
Re: Errors While Compiling
 
This is now the THIRD TIME I've told you that you have to FOLLOW THESE INSTRUCTIONS . PAY ATTENTION TO Steps 3 through Steps 5.

On my computer the SDK was installed here:
D:\Program Files\Microsoft Platform SDK\Lib

And yes, odbc32.lib is there. Check your computer to convince yourself that the file is on your computer too.

Gunner54 Aug 25th, 2006 7:06 am
Re: Errors While Compiling
 
Ok...

Gunner54 Aug 26th, 2006 10:12 am
Re: Errors While Compiling
 
im sorry about doubble posting but, Ancient Dragon can you give me the link to the latest SDK because i think i got the wrong one :'(

Ancient Dragon Aug 26th, 2006 10:38 am
Re: Errors While Compiling
 
I already posted it three or four times. Read my last post. Besides, there is only one Windows Platform SDK. It says "Windows® Server 2003 SP1 Platform SDK" but its for XP too and is the correct version that you need.

I don't recall what version of Windows you are using, but you should read the systems requirements before installing that SDK.
Quote:

System Requirements

* Supported Operating Systems: Windows 2000; Windows Server 2003; Windows XP 64-bit; Windows XP Professional Edition ; Windows XP Service Pack 1



* Hard Disk Space. Choose a disk drive with a minimum of 1 GB of free space.


* High-Speed Internet Connection. If your connection speed is 56 Kbps or less, it is best to purchase the low-cost SDK CD (US/Canada or International) or install the Web Download.


* Development Tools. To build the C/C++ samples, you must have a C/C++ compiler. If you are using Microsoft Visual C/C++®, run it at least once before installing the SDK. This will ensure that the environment variables are correctly configured. To build the Visual Basic samples, you must have Microsoft Visual Basic®. This SDK does not support working with Microsoft Visual C/C++®, 6.0 as support for VC 6.0 has ended. The last SDK that will work with VC 6.0 is the February 2003 Edition, you can order a CD on the fulfillment site. Side by side installations are not supported.

aeinstein Aug 26th, 2006 1:12 pm
Re: Errors While Compiling
 
Quote:

Originally Posted by Ancient Dragon (Post 246660)
...XP too and is the correct version that you need....

Gunner54, what OS are you running?

Gunner54 Aug 26th, 2006 3:57 pm
Re: Errors While Compiling
 
Ty Im Fine Now


All times are GMT -4. The time now is 12:01 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC