problem with poco on snow leopard + eclipse

hey, i'm trying to work with poco on osx snow leopard, compiling via eclipse with the 64bit mac parser,

when trying to compile a simple code using Poco DateTime i get the following error :

"Poco::DateTime::DateTime()", referenced from: _main in Run.o "Poco::DateTime::~DateTime()", referenced from: _main in Run.o ld: symbol(s) not found collect2: ld returned 1 exit status make: *** [assignment 2] Error 1

does anyone know why this is happening ? i'm guessing something to do with me compiling 64bit, but installing poco i made sure it compiles to darwin 64bit as well..

SOLVED -- the error was i didn't really compile poco for 64bit.. thanks...


The linker can't find the Poco library. Like aschepler said, check the -l and -L flags. Try edit those flags on the project properties (search for the paths of the libraries)

the problem is that poco needs to be compiled for a 64bit environment in Snow leopard, although i have ditched eclipse all together now and am using Xcode for c++, so much better.

Need Your Help

How to get the result value of Alamofire.request().responseJSON in swift 2?

ios json swift swift2 alamofire

I have a question about the new version of Alamofire for Swift 2

Java vs Objective C in case of nullpointer exception

java android objective-c

Why does Java frequently throw null pointer exception if I try to access null values while Objective C does not?

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.