dbTalk Databases Forums  

Not compiling

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


Discuss Not compiling in the mailing.database.mysql-plusplus forum.



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

Default Not compiling - 03-06-2005 , 12:59 AM






------=_NextPart_000_0000_01C52222.70002FA0
Content-Type: text/plain;
charset="US-ASCII"
Content-Transfer-Encoding: 7bit

The http://tangentsoft.net/mysql++/relea...-1.7.31.tar.gz did not
compile on VS .NET 2003.



First, I got a fatal error:



\mysql++-1.7.31\lib\defs.h(7) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory



I assumed it should be mysql++.h and changed it, but then I got several
other compiling errors:



\mysql++-1.7.31\lib\convert.h(72) : error C2065: 'longlong' : undeclared
identifier

\mysql++-1.7.31\lib\convert.h(72) : error C2913: explicit specialization;
'mysqlpp::mysql_convert' is not a specialization of a class template

\mysql++-1.7.31\lib\convert.h(73) : error C2913: explicit specialization;
'mysqlpp::mysql_convert' is not a specialization of a class template

\mysql++-1.7.31\lib\type_info.h(6) : fatal error C1083: Cannot open include
file: 'mysql.h': No such file or directory



If I then also changed the last of these errors to mysql++.h, I got heaps of
errors (too long to post here). What is wrong? How can I make it compile?



Joachim


------=_NextPart_000_0000_01C52222.70002FA0--



Reply With Quote
  #2  
Old   
Earl Miles
 
Posts: n/a

Default Re: Not compiling - 03-06-2005 , 01:12 AM






Joachim Person wrote:
Quote:
The http://tangentsoft.net/mysql++/relea...-1.7.31.tar.gz did not
compile on VS .NET 2003.

\mysql++-1.7.31\lib\defs.h(7) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory
No, this should be mysql.h -- it's the mysql header file that mysql++
goes over.
Quote:
If I then also changed the last of these errors to mysql++.h, I got heaps of
errors (too long to post here). What is wrong? How can I make it compile?

You need to make sure that the mysql header file is available to your
compiler. This is probably in the instructions for installing mysql,
though others on the list may know that better; I've only used this
under linux.

--
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   
Warren Young
 
Posts: n/a

Default Re: Not compiling - 03-07-2005 , 12:22 PM



Joachim Person wrote:
Quote:
\mysql++-1.7.31\lib\defs.h(7) : fatal error C1083: Cannot open include file:
'mysql.h': No such file or directory



I assumed it should be mysql++.h
You either do not have MySQL installed, or it is not in c:\mysql. If
the latter, change the project options to tell VC++ where the MySQL
headers are.

--
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.