致命错误:找不到json-glib.h文件 [英] Fatal error: json-glib.h file not found
问题描述
我正在尝试完成一个简单的json查询,但由于错误如下,因此无法获得任何代码进行编译:
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:
严重错误:找不到json-glib.h文件
fatal error: json-glib.h file not found
在尝试编译以下行时出现:
It comes up when trying to compile the following line:
#include <json-glib.h>
我在Google上做了很多搜索,找不到我做错了什么.
I've done a bunch of searching on google and can't find what I've done wrong.
任何帮助将不胜感激!
洛伦
我正在使用Tizen Studio并为Samsung Gear S3开发可穿戴式应用程序.
I’m using Tizen studio and developing a wearable app for a Samsung Gear S3.
推荐答案
在为Samsung Gear S3开发应用程序时,应包括Tizen Version 3.0可用的标头.对于Wearable 3.0,json-glib的可用标头如下所示.您可以尝试在您的应用中使用它.
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>
您要使用的标头(#include <json-glib.h>
)直到可穿戴设备2.3.2可用.
The header (#include <json-glib.h>
) you're trying to use is available till Wearable 2.3.2.
这篇关于致命错误:找不到json-glib.h文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!