It will be taken care of soon. You can (1) submit a patch, (2) wait or (3) if you don't need ODBC, exclude it and  the rest should build fine:

export POCO_BASE=`pwd`
./configure --omit Data/ODBC
make -s

FYI, Cmake is not officially supported. Someone on the list may give you a hand with it, though.



Sent from my iPhone

On Aug 29, 2012, at 19:29, Patrick White <> wrote:

I am excited about incorporating Poco into my application, however need it to compile cross platform. I was assuming that this would work by default, however on 10.8 I am getting compile errors. This is on an svn checkout from earlier today. 

Configuring with cmake:

$ cd poco-trunk
$ cmake .

Note the compiler chosen is clang++ ( c++ -v shows Apple clang version 4.0 (tags/Apple/clang-421.0.57) (based on LLVM 3.1svn) )

Compilation is fine ( with a few warnings ) for libPocoFoundation.dylib, libPocoXML.dylib, libPocoJSON.dylib, libPocoPDF.dylib, libPocoUtil.dylib, libPocoNet.dylib, libPocoCrypto.dylib, libPocoNetSSL.dylib.

However, PocoData cannot compile and errors out:

In file included from /Users/patrick/Documents/poco-trunk-28082012/Data/SQLite/src/Extractor.cpp:37:
/Users/patrick/Documents/poco-trunk-28082012/Data/SQLite/include/Poco/Data/SQLite/Extractor.h:263:9: error: variable has incomplete type 'Poco::Data::Date'
                        Date d;
/Users/patrick/Documents/poco-trunk-28082012/Data/include/Poco/Data/AbstractExtractor.h:66:7: note: forward declaration of 'Poco::Data::Date'
class Date;
In file included from /Users/patrick/Documents/poco-trunk-28082012/Data/SQLite/src/Extractor.cpp:37:
/Users/patrick/Documents/poco-trunk-28082012/Data/SQLite/include/Poco/Data/SQLite/Extractor.h:270:9: error: variable has incomplete type 'Poco::Data::Time'
                        Time t;
/Users/patrick/Documents/poco-trunk-28082012/Data/include/Poco/Data/AbstractExtractor.h:67:7: note: forward declaration of 'Poco::Data::Time'
class Time;

Does anyone have any hints on how to fix this?

Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
poco-develop mailing list