List:MySQL++« Previous MessageNext Message »
From:Michele Sassi Date:September 10 2005 11:16am
Subject:Problem compiling Mysql++
View as plain text  
Hi to all,

i followed the instruction in README.vc to build up Mysql++.
1) executed vcvars32.bat
2) makemake vc

I got the following:
   

cl /Ic:\mysql\include /DMYSQLPP_MAKING_DLL /D_WINDLL /D_UNICODE  /G6 
/EHsc /nologo /c /MDd /Od /D_DEBUG /ZI /Zi coldata.cpp
coldata.cpp
e:\tesi\mysql++-2.0.4\lib\convert.h(105) : error C2065: '_strtoi64' : 
undeclared identifier
e:\tesi\mysql++-2.0.4\lib\type_info.h(266) : error C2258: illegal pure 
syntax, must be '= 0'
e:\tesi\mysql++-2.0.4\lib\type_info.h(266) : error C2252: 'string_type' 
: pure specifier can only be specified for functions
e:\tesi\mysql++-2.0.4\lib\type_info.h(277) : error C2252: 'offset' : 
pure specifier can only be specified for functions
e:\tesi\mysql++-2.0.4\lib\type_info.h(278) : error C2258: illegal pure 
syntax, must be '= 0'
e:\tesi\mysql++-2.0.4\lib\type_info.h(278) : error C2252: 
'unsigned_offset' : pure specifier can only be specified for functions
e:\tesi\mysql++-2.0.4\lib\type_info.h(279) : error C2258: illegal pure 
syntax, must be '= 0'
e:\tesi\mysql++-2.0.4\lib\type_info.h(279) : error C2252: 'null_offset' 
: pure specifier can only be specified for functions
e:\tesi\mysql++-2.0.4\lib\type_info.h(280) : error C2258: illegal pure 
syntax, must be '= 0'
e:\tesi\mysql++-2.0.4\lib\type_info.h(280) : error C2252: 
'unsigned_null_offset' : pure specifier can only be specified for functions
e:\tesi\mysql++-2.0.4\lib\coldata.h(107) : error C2039: 'string_type' : 
is not a member of 'mysql_type_info'
        e:\tesi\mysql++-2.0.4\lib\type_info.h(120) : see declaration of 
'mysql_type_info'
        e:\tesi\mysql++-2.0.4\lib\coldata.h(230) : see reference to 
class template instantiation 'mysqlpp::ColData_Tmpl<Str>' being compiled
e:\tesi\mysql++-2.0.4\lib\coldata.h(119) : error C2039: 'string_type' : 
is not a member of 'mysql_type_info'
        e:\tesi\mysql++-2.0.4\lib\type_info.h(120) : see declaration of 
'mysql_type_info'
        e:\tesi\mysql++-2.0.4\lib\coldata.h(230) : see reference to 
class template instantiation 'mysqlpp::ColData_Tmpl<Str>' being compiled
e:\tesi\mysql++-2.0.4\lib\coldata.h(296) : error C2059: syntax error : 
''template<''
e:\tesi\mysql++-2.0.4\lib\coldata.h(297) : error C2065: 'Str' : 
undeclared identifier
e:\tesi\mysql++-2.0.4\lib\coldata.h(297) : error C2065: 'T' : undeclared 
identifier
e:\tesi\mysql++-2.0.4\lib\coldata.h(297) : error C2065: 'B' : undeclared 
identifier
e:\tesi\mysql++-2.0.4\lib\coldata.h(310) : error C2143: syntax error : 
missing ';' before '{'
e:\tesi\mysql++-2.0.4\lib\coldata.h(310) : error C2447: missing function 
header (old-style formal list?)
e:\tesi\mysql++-2.0.4\lib\coldata.cpp(34) : error C2989: 
'ColData_Tmpl<class std::basic_string<char,struct 
std::char_traits<char>,class std::allocator<char> > >' : template class 
has already been defined as a non-template class
e:\tesi\mysql++-2.0.4\lib\coldata.cpp(35) : error C2989: 
'ColData_Tmpl<class mysqlpp::const_string>' : template class has already 
been defined as a non-template class
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.


What do i miss?
Thank you for your help.

Michele.
Thread
Problem compiling Mysql++Michele Sassi10 Sep
  • Re: Problem compiling Mysql++Warren Young13 Sep
    • Re: Problem compiling Mysql++Michele Sassi14 Sep