code-google-com / qimsys

Automatically exported from code.google.com/p/qimsys
0 stars 0 forks source link

glib-object.h is not found and can't compile #39

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Version: qimsys 0.2.0
OS: Linux (Kubunt and Chakra)

What steps will reproduce the problem?
1. Execute qmake and make following instruction which explaind at 
http://code.google.com/p/qimsys/wiki/InstallFromSource

2. Error occured at qimsys-0.2.0/src/libs/gtk/debug/qimsysdebug.h line 24. 
glib-object.h doesn't found even it exists under /usr/include/glib-2.0/ 
directory.

Detailed error message:
--
make[3]: ディレクトリ `/home/jrillet/Desktop/qim/build/src/libs/gtk' 
に入ります
gcc -c -pipe -g -Wall -W -fPIC -DQIMSYS_PLATFORM_LINUX -DQIMSYS_PLATFORM_X11 
-DQIMSYS_PLATFORM_DESKTOP -DQIMSYS_VERSION=\"0.2.0\" -DQIMSYS_APP_PATH=\"bin\" 
-DQIMSYS_LIBRARY_PATH=\"lib\" -DQIMSYS_PLUGIN_PATH=\"lib/qimsys/plugins\" 
-DQIMSYS_IMPORTS_PATH=\"lib/qimsys/imports\" 
-DQIMSYS_DATA_PATH=\"share/qimsys\" 
-DQIMSYS_TRANSLATIONS_PATH=\"share/qimsys/translations\" -DQIMSYS_LIBRARY 
-I/usr/share/qt/mkspecs/linux-g++ -I../../../../qimsys-0.2.0/src/libs/gtk 
-I../../../../qimsys-0.2.0/src -I../../../../qimsys-0.2.0/src/libs/gtk/debug 
-I../../../../qimsys-0.2.0/src/libs/gtk/ipc -I. -o 
.obj/debug-shared/qimsysdebug.o 
../../../../qimsys-0.2.0/src/libs/gtk/debug/qimsysdebug.c
In file included from 
../../../../qimsys-0.2.0/src/libs/gtk/debug/qimsysdebug.c:21:0:
../../../../qimsys-0.2.0/src/libs/gtk/debug/qimsysdebug.h:24:25: fatal error: 
glib-object.h: 
そのようなファイルやディレクトリはありません
コンパイルが中断されました。
make[3]: *** [.obj/debug-shared/qimsysdebug.o] エラー 1
make[3]: ディレクトリ `/home/jrillet/Desktop/qim/build/src/libs/gtk' 
から出ます
--

3. I added following code at line 4 of src/libs/gtk/debug/debug.pri:
CONFIG += link_pkgconfig
PKGCONFIG += glib-2.0

I attached the result.

Original issue reported on code.google.com by phanect...@gmail.com on 14 May 2011 at 5:46

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by stas...@gmail.com on 15 May 2011 at 6:39

GoogleCodeExporter commented 9 years ago
https://gitorious.org/qimsys/qimsys/commit/660507f803ffcf1e6df35ce0ca7ac030cf2f2
8c2

Original comment by stas...@gmail.com on 15 May 2011 at 6:42

GoogleCodeExporter commented 9 years ago

Original comment by phanect...@gmail.com on 15 May 2011 at 7:16