本文介绍了如何在Mac OSx 10.8上构建curlpp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想尝试libcurl的C ++包装; curlpp。文档似乎不存在。我按照我在这里找到的步骤:





这基本上只是说典型的
1. ./configure(带有一些参数)
2. make



'make'失败,出现以下错误:

在Mac上构建此库时,是否有人遇到此问题?

解决方案


code.google.com 下载curlpp打开Makefile



删除

  SUBDIRS = src include example doc 

添加

  SUBDIRS = src include doc 

$ cd /curlpp-0.7.3/
$ make
$ sudo make install


I would like to try the C++ wrapper for libcurl; curlpp. The documentation seems to be non-existent. I am following the steps that I found here:

http://wiki.hartungdesign.net/docs:mac:builds:curlpp

This basically just says do the typical1. ./configure (with some args)2. make

'make' is failing with the following error:

Has anyone run into this while building this lib on Mac? Do I need to edit the MakeFile?

Thanks!

解决方案

Download curlpp from code.google.com Open Makefile

Remove

SUBDIRS = src include examples doc

Add

SUBDIRS = src include doc

$cd /curlpp-0.7.3/
$make
$sudo make install

这篇关于如何在Mac OSx 10.8上构建curlpp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-21 06:05