[an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive] (none) [an error occurred while processing this directive] [an error occurred while processing this directive] [an error occurred while processing this directive][an error occurred while processing this directive]
 
[an error occurred while processing this directive] [an error occurred while processing this directive]
Skåne Sjælland Linux User Group - http://www.sslug.dk Home   Subscribe   Mail Archive   Forum   Calendar   Search
MhonArc Date: [Date Prev] [Date Index] [Date Next]   Thread: [Date Prev] [Thread Index] [Date Next]   MhonArc
 

Re: [CPROG] linke mod mysqlcppapi



> From sslug@sslug  Sun Mar 31 16:56:08 2002
> Subject: [CPROG] linke mod mysqlcppapi
>

>
> Jeg har desperat prøvet at skrive
> c++ -g -O2  -I/usr/include/mysql/ -I/usr/local/lib/ -L/usr/local/lib 
> simple1.cc
>
> Den kender åbenbart intet til de kald som mysqlcppapi bruger.
>
> Hvordan får jeg det til at virke ?
> Tak,
>

Det er fordi du slet ikke linker med libmysqlcppapi. For at goere det,
skal du skrive -lmysqlcppapi over i den smoere du allerede har.


-- 
   _______
  /       \    Michael Westergaard <sslug@sslug>
 / /|/|  \ \   http://klafbang.dk/
( ( ` |   ) )
 \ \  |/\/ /   Efter FORTRAN gik det ned ad bakke.
  \_______/    


 
Home   Subscribe   Mail Archive   Index   Calendar   Search

 
 
Questions about the web-pages to <www_admin>. Last modified 2005-08-10, 20:09 CEST [an error occurred while processing this directive]
This page is maintained by [an error occurred while processing this directive]MHonArc [an error occurred while processing this directive] # [an error occurred while processing this directive] *