Click here to Skip to main content
16,013,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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. Could someone indicate me how to include libraries in Eclipse? I have no idea how use GCC C++ Compiler and GCC C++ Linker on Properties>>Settings window. I know that there are difference between previous compiled code and already compiled code.
I could 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 know some tutorial for begginers about which options exists and how to do about including new libraries and dependencies on Eclipse will be very helpful. If someone has already used the Spirit library and could give some suggestion about make the example work on Eclipse/Linux, it will be nice as well.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900