www.digitalmars.com Home | Search | C & C++ | D | DMDScript | News Groups | index | prev | next
Archives

D Programming
D
D.gnu
digitalmars.D
digitalmars.D.bugs
digitalmars.D.dtl
digitalmars.D.dwt
digitalmars.D.announce
digitalmars.D.learn
digitalmars.D.debugger

C/C++ Programming
c++
c++.announce
c++.atl
c++.beta
c++.chat
c++.command-line
c++.dos
c++.dos.16-bits
c++.dos.32-bits
c++.idde
c++.mfc
c++.rtl
c++.stl
c++.stl.hp
c++.stl.port
c++.stl.sgi
c++.stlsoft
c++.windows
c++.windows.16-bits
c++.windows.32-bits
c++.wxwindows

digitalmars.empire
digitalmars.DMDScript

c++ - MySQL API

↑ ↓ ← Nauman <Nauman_member pathlink.com> writes:
I am trying to test the API sample for MySQL that is provided with the MySQL.
Why is their library not a valid library?  Am I referencing it incorrectly?  I
am using the integrated environment.

sc myTest.c -mn -C -WA -S -3 -a8 -c -gf -D_CONSOLE=1 -Ic:\digital\test2
-omyTest.obj 
Warning: C:\DIGITAL\TEST2\myTest.c(85): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(106): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(109): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(134): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(136): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(151): possible unintended assignment
Warning: C:\DIGITAL\TEST2\myTest.c(153): possible unintended assignment
link /CO /NOI /DE /NOPACKF /XN /NT /ENTRY:mainCRTStartup /BAS:4194304 /A:512
 test2.LNK 
Error: C:\digital\test2\libmySQL.LIB (8): Not a Valid Library File 
Lines Processed: 125440  Errors: 1  Warnings: 7
Build failed
May 04 2005
↑ ↓ → "Walter" <newshound digitalmars.com> writes:
"Nauman" <Nauman_member pathlink.com> wrote in message
news:d5avnr$2ds4$1 digitaldaemon.com...
 I am trying to test the API sample for MySQL that is provided with the

 Why is their library not a valid library?

This should help: www.digitalmars.com/d/faq.html#omf
May 04 2005