How to get started using Poco library?
Asked Answered
N

1

6

I have the following files which I currently just want to manage to compile successfully. I have looked for a tutorial on how to use Poco, but unfortunately I couldn't find one for a complete beginner (I tried to follow the docs both under linux & eclipse, and win & vs08.)

I would very much appreciate if someone could guide me through the correct use of the Poco library (either under eclipse or vs08.)

edit: found the problem, i didn't specify to the linker the exact libraries, only their search paths.

Nutritionist answered 11/10, 2011 at 22:50 Comment(2)
This seems too broad. It's better if you post the relevant code instead of a link to your source code. Then you can point out what problems you are having with your use of the library, and we can address a specific question.Kraul
i'll try to be more specific, lets say i want to use in my HelloWorld.cpp the following classes: Poco:DateTime::swap & Poco::foo:foofigher. i really have no idea how to link\add the necessary files from the Poco library for my class to compile correctly. (this still might be a broad question, but again i really am clueless)Nutritionist
W
1

You could look into how to use the POCO C++ as a static library in eclipse, then you first need to go through the process of building POCO for your architecture using make and the configure script included in the POCO C++.

Next you should be able to find some tutorials on how to include static libraries (and headers) in eclipse VS.

There are plenty of sources on the internet. For example their forum and this example

Wraparound answered 25/4, 2013 at 9:12 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.