List:MySQL++« Previous MessageNext Message »
From:Benjamin Montua Date:May 23 2005 11:27am
Subject:custom1 example compilation problem
View as plain text  
Hy there,

just trying to compile the mysql++-1.7.35 with the following error:

source='custom1.cpp' object='custom1.o' libtool=no \
depfile='.deps/custom1.Po' tmpdepfile='.deps/custom1.TPo' \
depmode=gcc3 /bin/sh ../depcomp \
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../lib  
-I/home/montua/libs/mysql-standard-4.1.12-pc-linux-gnu-i686/include  -g 
-O2 -c -o custom1.o `test -f 'custom1.cpp' || echo './'`custom1.cpp
custom1.cpp: In function `void populate_stock(stock*, const mysqlpp::Row&)
   [with mysqlpp::sql_dummy_type dummy = sql_dummy]':
custom1.cpp:19:   instantiated from here
custom1.cpp:19: error: invalid static_cast from type `const 
mysqlpp::ColData'
   to type `std::basic_string<char, std::char_traits<char>,
   std::allocator<char> >'
make[2]: *** [custom1.o] Error 1
make[2]: Leaving directory `/home/montua/libs/mysql++-1.7.35/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/montua/libs/mysql++-1.7.35'
make: *** [all] Error 2


Any help here will be appreciated...

Thanks in advance,

       Ben


Thread
custom1 example compilation problemBenjamin Montua23 May
  • Re: custom1 example compilation problemWarren Young23 May
    • Re: custom1 example compilation problemBenjamin Montua23 May
      • Re: custom1 example compilation problemWarren Young23 May
        • Re: custom1 example compilation problemBenjamin Montua23 May
          • Re: custom1 example compilation problemWarren Young23 May
      • Re: custom1 example compilation problemChris Frey23 May
        • Re: custom1 example compilation problemBenjamin Montua24 May