如何在Visual Studio 2010中添加Poco库? [英] How to add Poco library in Visual Studio 2010?

查看:1160
本文介绍了如何在Visual Studio 2010中添加Poco库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是一段时间,因为我在C ++编程,现在我正在努力与这个Poco库我试图添加做一些HTTP请求。

It's been a while since I've programmed in C++ and right now I'm struggling with this Poco library I'm trying to add to do some HTTP requests.

首先,我在哪里添加poco文件,在我的项目的某个地方?

First of all, where do I add poco files, somewhere in my project perhaps?

其次,我读了一些关于命令提示符和运行一个脚本编译文件,但我必须给它一个参数,这是我的视觉工作室版本,选择是从70到110.我如何找到我应该使用哪一个?

Secondly, I've read something about command prompt and running a script that will compile files but I have to give it an argument which is my visual studio version and the choices are from 70 to 110. How do I find out which one I should use?

谢谢。

推荐答案

您是指 POCO C ++库和工具吗?如果是,


  1. 下载POCO C ++库此处

  2. 解压缩(例如:解压缩到C:\poco-1.4.6)

  3. 建立。

  1. Download POCO C++ libraries here
  2. Extract(eg: extract to C:\poco-1.4.6)
  3. Find appropriate solution file and build.


  • build_vs71.cmd ==> Visual Studio .NET 2003

  • build_vs80。 cmd ==> Visual Studio 2005

  • build_vs90.cmd ==> Visual Studio 2008

  • build_vs100.cmd = => Visual Studio 2010

  • build_vs110.cmd ==> Visual Studio 2012

    有关visual studio版本的详情

    例如,如果要在Visual Studio 2005 Project中使用poco lib,则需要使用build_vs80 .cmd。一旦成功创建,您可以在{POCO Folder} \lib中查看所有poco静态库。 (例如:C:\ poco-1.4.6\lib)


  • build_vs71.cmd ==> Visual Studio .NET 2003
  • build_vs80.cmd ==> Visual Studio 2005
  • build_vs90.cmd ==> Visual Studio 2008
  • build_vs100.cmd ==> Visual Studio 2010
  • build_vs110.cmd ==> Visual Studio 2012
    For more info about visual studio versions
    For example, if you want to use poco lib in Visual Studio 2005 Project, you need to build with build_vs80.cmd.Once you have built successfully, you can see all poco static lib in {POCO Folder}\lib. (eg: C:\poco-1.4.6\lib)


$ b b

您可能还需要检查位于 {POCO Folder} \Net \samples。的POCO HTTP示例项目(例如:C:\poco-1.4.6\ Net \samples)

You may also want to check POCO HTTP sample projects which are located at {POCO Folder}\Net\samples. (eg: C:\poco-1.4.6\Net\samples)

这篇关于如何在Visual Studio 2010中添加Poco库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆