dbTalk Databases Forums  

Problems building version 2.1.1

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Problems building version 2.1.1 in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Problems building version 2.1.1 - 04-26-2006 , 10:11 AM






Hi all,

I get the following error when trying to build from source:

In file included from custom1.cpp:29:
stock.h: In function `void populate_stock(stock*, const mysqlpp::Row&)
[with mysqlpp::sql_dummy_type dummy = sql_dummy]':
stock.h:47: instantiated from here
stock.h:47: error: invalid static_cast from type `const
mysqlpp::ColData' to type `std::basic_string<char,
std::char_traits<char>, std::allocator<char> >'
make[1]: *** [custom1_custom1.o] Error 1
make[1]: Leaving directory `/home/kha/tmp/mysql++-2.1.1/examples'
make: *** [examples] Error 2

What is going wrong? Any suggestions?

Kai

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Problems building version 2.1.1 - 04-27-2006 , 04:00 AM






Kai Hartmann wrote:
Quote:
I get the following error when trying to build from source:
What compiler are you using, and what platform are you on? Also provide
version numbers for both.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #3  
Old   
AT
 
Posts: n/a

Default Re: Problems building version 2.1.1 - 04-27-2006 , 04:06 AM



Warren Young schrieb:
Quote:
Kai Hartmann wrote:

I get the following error when trying to build from source:

What compiler are you using, and what platform are you on? Also provide
version numbers for both.

gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)

Sorry for the incomplete information.

Kai

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
  #4  
Old   
AT
 
Posts: n/a

Default Re: Problems building version 2.1.1 - 04-28-2006 , 05:21 AM



Kai Hartmann wrote:
Quote:
Warren Young schrieb:
Kai Hartmann wrote:
I get the following error when trying to build from source:
What compiler are you using, and what platform are you on? Also provide
version numbers for both.

gcc (GCC) 3.3.1 (Mandrake Linux 9.2 3.3.1-2mdk)
Lots of other people are using MySQL++ similar platforms, so the problem
must be some weird situation specific to your system. MySQL++ is
primarily developed on a system that isn't much different.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.