如何使用www.codeproject.com/KB/recipes/JSON_Spirit.aspx上的Json/Spirit示例 [英] How to use the Json/Spirit example found on www.codeproject.com/KB/recipes/JSON_Spirit.aspx

查看:50
本文介绍了如何使用www.codeproject.com/KB/recipes/JSON_Spirit.aspx上的Json/Spirit示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是C ++的新手.我来自C#和Java世界.我尝试了示例http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx),当我在Microsoft Visual Studio 2010中使用该示例时,它可以正常工作.但是,我花了两天时间,无法在Linux Ubuntu上的Eclipse Indigo中执行相同的操作.
我在Linux上安装了Boost,并将其包含在我的项目中,并且一些boost的命令(例如BOOST_FOREACH)运行良好.
但是,我无法运行从codeproject下载的示例,并且我相信它正在发生,因为我不知道在Eclipse中如何适当地包含库.
我之所以能够包含Boost和Curl,是因为我遵循了一些教程,但是我不知道自己到底做了什么.而且,现在,我无法像在Visual Studio中那样在Eclipse/linux中运行该代码项目示例.
如果有人已经在Eclipse/Linux上使用过此代码项目示例,并且可以提出一些有关使该示例在Eclipse/Linux上运行的建议,那么它也会很好.

I am new in C++. I came from C# and Java world. I tried the example http://www.codeproject.com/KB/recipes/JSON_Spirit.aspx) and it`s working perfectly when I used that in Microsoft Visual Studio 2010. But, I expended two days and I couldn''t do the same in Eclipse Indigo over Linux Ubuntu.
I installed Boost in my Linux, included it in my project and some boost`s command (example BOOST_FOREACH) are working perfectly.
But, I can''t run the example I downloaded from codeproject and I believe that it''s happening because I don''t know how properly include libraries in Eclipse.
I was able to include Boost and Curl because I followed some tutorials, but I don''t know exactly what I have done. And, now, I couldn''t run the codeproject example in Eclipse/linux as I''ve done in Visual Studio.
If someone has already used this codeproject example on Eclipse/Linux and could give some suggestion about make the example work on Eclipse/Linux, it will be nice as well.

推荐答案

您应该询问文章的作者,讨论位于页面底部,希望您在此处提出问题会更好.
You should ask the auther of the article, the discussion is at the bottom of the page, you''ll have better luck posting your question there.


这篇关于如何使用www.codeproject.com/KB/recipes/JSON_Spirit.aspx上的Json/Spirit示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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