List:MySQL++« Previous MessageNext Message »
From:Henrik P. Hessel Date:April 29 2002 2:32pm
Subject:Basic mySQL++ Installation (Borland)
View as plain text  
Hi,
I wasn't able to install mySQL++.

I am using the Borland C++ Compiler 5.5 and I tried "MySQL++ 1.7.1 for
Borland C++ 5.* for Windows (contributed by Arturs Aboltins)" and
"MySQL++ 1.7.9".

I am quite newbie in C++ (normally I use Java and PHP).

Path on Local Harddisk :

C:\mysql++\mysql++-1.7.9

My bcc32.cfg :
----------------

-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"
-L"C:\mysql++\mysql++-1.7.9\sqlplusint"

My ilink32.cfg :
------------------

-L"C:\Borland\bcc55\lib"
-L"C:\mysql++\mysql++-1.7.9\sqlplusint"

My Simple Test Programm (test1.cpp) :
----------------------

#include <mysql++.h> 

main()
{
return 0;
}


Commandline : bcc32 test1.cpp

Errors (sorry ;) :

Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
test1.cpp:
Error E2209 c:\Borland\Bcc55\include\type_info1.hh 4: Unable to open
include fil
e 'Windows32/Base.h'
Error E2209 c:\Borland\Bcc55\include\type_info1.hh 5: Unable to open
include fil
e 'Windows32/Defines.h'
Error E2209 c:\Borland\Bcc55\include\type_info1.hh 6: Unable to open
include fil
e 'Windows32/Structures.h'
Error E2139 c:\Borland\Bcc55\include\type_info1.hh 26: Declaration
missing ;
Error E2293 c:\Borland\Bcc55\include\type_info1.hh 36: ) expected
Warning W8038 c:\Borland\Bcc55\include\type_info1.hh 31: Constant member
'mysql_
ti_sql_type_info::type_info' is not initialized in function
mysql_ti_sql_type_in
fo::mysql_ti_sql_type_info()
Warning W8038 c:\Borland\Bcc55\include\type_info1.hh 31: Constant member
'mysql_
ti_sql_type_info::_base_type' is not initialized in function
mysql_ti_sql_type_i
nfo::mysql_ti_sql_type_info()
Warning W8038 c:\Borland\Bcc55\include\type_info1.hh 31: Constant member
'mysql_
ti_sql_type_info::_default' is not initialized in function
mysql_ti_sql_type_inf
o::mysql_ti_sql_type_info()
Error E2040 c:\Borland\Bcc55\include\type_info1.hh 39: Declaration
terminated in
correctly
Error E2190 c:\Borland\Bcc55\include\type_info1.hh 39: Unexpected }
Error E2190 c:\Borland\Bcc55\include\type_info1.hh 39: Unexpected }
Error E2293 c:\Borland\Bcc55\include\type_info1.hh 42: ) expected
Error E2303 c:\Borland\Bcc55\include\type_info1.hh 52: Type name
expected
Error E2139 c:\Borland\Bcc55\include\type_info1.hh 52: Declaration
missing ;
Error E2293 c:\Borland\Bcc55\include\type_info1.hh 56: ) expected
Error E2293 c:\Borland\Bcc55\include\type_info1.hh 97: ) expected
Error E2321 c:\Borland\Bcc55\include\type_info1.hh 113: Declaration does
not spe
cify a tag or an identifier
Error E2092 c:\Borland\Bcc55\include\type_info1.hh 113: Storage class
'inline' i
s not allowed here
Error E2139 c:\Borland\Bcc55\include\type_info1.hh 113: Declaration
missing ;
Warning W8038 c:\Borland\Bcc55\include\type_info1.hh 88: Constant member
'mysql_
type_info::type_info' is not initialized in function
mysql_type_info::mysql_type
_info()
Warning W8038 c:\Borland\Bcc55\include\type_info1.hh 89: Constant member
'mysql_
type_info::type_info' is not initialized in function
mysql_type_info::mysql_type
_info(unsigned char)
Warning W8038 c:\Borland\Bcc55\include\type_info1.hh 95: Constant member
'mysql_
type_info::type_info' is not initialized in function
mysql_type_info::mysql_type
_info(const mysql_type_info &)
Error E2316 c:\Borland\Bcc55\include\type_info1.hh 137:
'mysql_type_info::name()
 const' is not a member of 'mysql_type_info'
Error E2316 c:\Borland\Bcc55\include\type_info1.hh 140:
'mysql_type_info::sql_na
me() const' is not a member of 'mysql_type_info'
Error E2092 c:\Borland\Bcc55\include\type_info1.hh 149: Storage class
'inline' i
s not allowed here
Error E2141 c:\Borland\Bcc55\include\type_info1.hh 149: Declaration
syntax error

Error E2316 c:\Borland\Bcc55\include\math.h 258: '_huge_ldble' is not a
member o
f 'std'
Error E2272 c:\Borland\Bcc55\include\math.h 258: Identifier expected
Error E2316 c:\Borland\Bcc55\include\math.h 259: 'acos' is not a member
of 'std'

Error E2272 c:\Borland\Bcc55\include\math.h 259: Identifier expected
Error E2316 c:\Borland\Bcc55\include\math.h 260: 'asin' is not a member
of 'std'

Error E2228 c:\Borland\Bcc55\include\math.h 260: Too many error or
warning messa
ges
*** 26 errors in Compile ***


------------------------------------------------

I would be nice, if anyone can help me :( 


Btw : There is no 'Windows32/Structures.h' on my disk.

Bye,
  RayT


Thread
Basic mySQL++ Installation (Borland)Henrik P. Hessel29 Apr