jansson icon indicating copy to clipboard operation
jansson copied to clipboard

How to compile examples/simple_parse.c ?

Open JlnWntr opened this issue 7 years ago • 3 comments

Compilation-instructions are needed for the simple_parse-C-program. gcc complains about too many missing function-definitions. Compiling simple_parse.c does not really seem simple.

JlnWntr avatar Jul 11 '17 21:07 JlnWntr

This example is compiled automatically when compiling the Jansson. If you have not configured JANSSON_EXAMPLES to OFF when you are configuring jansson.

Mephistophiles avatar Jul 13 '17 07:07 Mephistophiles

Yeah, it is when compiling with CMake. With ./configure && make, this doesn't seem to be the case currently.

akheron avatar Sep 17 '17 18:09 akheron

You can also see this comment if you want to compile the example manually: PR #214

harkue avatar Sep 30 '19 02:09 harkue