Naclports seems to just provide a 32-bit object files, how do I get my project to link against them? Is there any tutorials on how someone uses jsoncpp in a nacl program?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I’ve created a sample for you that you can checkout here:
https://github.com/johnmccutchan/NaClJsonCpp
The build system is premake based, you can download premake4 here:
http://industriousone.com/premake
From a terminal (cygwin or *nix):
Will build and link the project.
To test it run:
then navigate to localhost:5103. You should see the following:
To see how Json Cpp was used see the function JsonCPP in nacl_sample_main.cpp.
Let me know if you have any questions.