Loren Zimmer
Loren Zimmer

Reputation: 480

Fatal error: json-glib.h file not found

I'm trying to accomplish a simple json query, but havn't been able to get any code to compile because the error is as below:

fatal error: json-glib.h file not found

It comes up when trying to compile the following line:

#include <json-glib.h>

I've done a bunch of searching on google and can't find what I've done wrong.

Any help would be appreciated!

Loren

Edit:

I’m using Tizen studio and developing a wearable app for a Samsung Gear S3.

Upvotes: 0

Views: 933

Answers (2)

Shaswati Saha
Shaswati Saha

Reputation: 768

As you're developing app for Samsung Gear S3, you should include headers available for Tizen Version 3.0. For Wearable 3.0, available header for json-glib is as below. You may try using this in your app.

#include <json-glib/json-glib.h>

The header (#include <json-glib.h>) you're trying to use is available till Wearable 2.3.2.

Upvotes: 3

Sanjeev BA
Sanjeev BA

Reputation: 307

Please use

#include <json-glib/json-glib.h>

Upvotes: 0

Related Questions