Re: Re: hurry!!about SQL datebase link .I can't link it!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You installed the wrong library (libmysql++). You need libmysqlclient,
which is a part of mysql sources. Just download mysql sources and
you will find 'client' subdirectory.

----- Original Message ----- 
From: "张 毅" <greensnowzhang@xxxxxxxxxxx>
Sent: Tuesday, August 10, 2004 4:08 AM


> First thank Zygmuntowicz Michal and Cesar Bermudez very  much.
> Then I did it like you said.But so pity,it doesn't work yet.
> First I come in the project-settings and set the HAS_MYSQL preprocessor
> macro in the field of "preprocessor definitions" .Second I install the
> mysql ,and download the mysql++ lib   then I include the directory  in the
> field of "Additional include directories" ,
> the directory is :
> ..\mysql++-1.7.1-1-win32-vc++\include,..\mysql++-1.7.1-1-win32-vc++\mysql\include,..\mysql++-1.7.1-1-win32-vc++\mysql\lib
>
> Finally I doesn't compile the project of gungk,but before I did  all of
> above  I  have compiled the project successfullly.
>
>
> The error showed follow:
>
> .\include\const_string1.hh(70) : error C2872: 'ostream' : ambiguous symbol
> ..\include\const_string1.hh(70) : error C2872: 'ostream' : ambiguous symbol
> ..\include\null1.hh(26) : error C2872: 'ostream' : ambiguous symbol
> ..\include\null1.hh(26) : error C2872: 'ostream' : ambiguous symbol
> ..\include\null1.hh(32) : error C2872: 'ostream' : ambiguous symbol
> ..\include\null1.hh(32) : error C2872: 'ostream' : ambiguous symbol
> ..\include\null1.hh(38) : error C2872: 'ostream' : ambiguous symbol
> ..\include\null1.hh(38) : error C2872: 'ostream' : ambiguous symbol
> ..\include\convert1.hh(40) : warning C4273: 'strtol' : inconsistent dll
> linkage.  dllexport assumed.
> ..\include\convert1.hh(41) : warning C4273: 'strtoul' : inconsistent dll
> linkage.  dllexport assumed.
> E:\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error C2039:
> 'seekdir' : is not a member of 'ios'
>         E:\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : see
> declaration of 'ios'
> E:\Microsoft Visual Studio\VC98\INCLUDE\strstream(51) : error C2061: syntax
> error : identifier 'seekdir'
> E:\Microsoft Visual Studio\VC98\INCLUDE\strstream(54) : error C2039:
> 'openmode' : is not a member of 'ios'
>         E:\Microsoft Visual Studio\VC98\INCLUDE\ios.h(106) : see
> declaration of 'ios'
> E:\Microsoft Visual Studio\VC98\INCLUDE\strstream(54) : error C2061: syntax
> error : identifier 'openmode'
> E:\Microsoft Visual Studio\VC98\INCLUDE\strstream(91) : error C2629:
> unexpected 'class std::ostrstream ('
> E:\Microsoft Visual Studio\VC98\INCLUDE\strstream(91) : error C2238:
> unexpected token(s) preceding ';'
> E:\Microsoft Visual Studio\VC98\INCLUDE\strstream(109) : error C2629:
> unexpected 'class std::strstream ('
> E:\Microsoft Visual Studio\VC98\INCLUDE\strstream(109) : error C2238:
> unexpected token(s) preceding ';'
> ..\include\datetime1.hh(18) : error C2872: 'ostream' : ambiguous symbol
> ..\include\datetime1.hh(18) : error C2872: 'ostream' : ambiguous symbol
> ..\include\datetime1.hh(43) : error C2872: 'ostream' : ambiguous symbol
> ..\include\datetime1.hh(43) : error C2872: 'ostream' : ambiguous symbol
> ..................................................
> ..\include\datetime1.hh(117) : error C2872: 'ostream' : ambiguous symbol
> ..\include\datetime1.hh(117) : error C2872: 'ostream' : ambiguous symbol
> ..\include\set1.hh(52) : error C2872: 'ostream' : ambiguous symbol
>         ..\include\set1.hh(55) : see reference to class template
> instantiation 'MysqlSet<Container>' being compiled
> ..\include\set1.hh(52) : error C2872: 'ostream' : ambiguous symbol
>         ..\include\set1.hh(55) : see reference to class template
> instantiation 'MysqlSet<Container>' being compiled
> ..\include\set1.hh(61) : error C2872: 'ostream' : ambiguous symbol
> ..\include\set1.hh(61) : error C2872: 'ostream' : ambiguous symbol
> ..\include\manip1.hh(23) : error C2872: 'ostream' : ambiguous symbol
> ..\include\manip1.hh(24) : error C2872: 'ostream' : ambiguous symbol
> ..\include\manip1.hh(27) : error C2872: 'ostream' : ambiguous symbol
> ..\include\manip1.hh(45) : error C2872: 'ostream' : ambiguous symbol
> ..............................................................
> ..\include\set3.hh(23) : error C2872: 'ostream' : ambiguous symbol
> ..\include\set3.hh(23) : error C2872: 'ostream' : ambiguous symbol
> G:\专业知识\The GNU Gatekeeper\gnugk-2.0.7(1)\openh323gk\gkauth.cxx(784) :
> error C2593: 'operator <<' is ambiguous
> G:\专业知识\The GNU Gatekeeper\gnugk-2.0.7(1)\openh323gk\gkauth.cxx(787) :
> error C2593: 'operator <<' is ambiguous
> G:\专业知识\The GNU Gatekeeper\gnugk-2.0.7(1)\openh323gk\gkauth.cxx(818) :
> fatal error C1903: unable to recover from previous error(s); stopping
> compilation



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

_______________________________________________________

List: Openh323gk-users@xxxxxxxxxxxxxxxxxxxxx
Archive: http://sourceforge.net/mailarchive/forum.php?forum_id?9
Homepage: http://www.gnugk.org/

[Index of Archives]     [SIP]     [Open H.323]     [Gnu Gatekeeper]     [Asterisk PBX]     [ISDN Cause Codes]     [Yosemite News]

  Powered by Linux