のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

glib.h not found

project>property>C/C++ build>Build Settings>Makefile generartion>Generate Makefiles automaticallyのチェックをはずした。
subdir.mkを書き換え、インクルードのパスを加えた。

# Each subdirectory must supply rules for building sources it contributes
src/pango.o: ../src/pango.c
	@echo 'Building file: $<'
	@echo 'Invoking: GCC C Compiler'
	gcc -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/glib-2.0 -I/home/u01/usr/include -I/home/u01/usr/include/fontconfig -I/home/u01/usr/include/freetype2 -I/home/u01/usr/include/pango-1.0 -I/home/u01/usr/include/cairo -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"$(@:%.o=%.d)" -MT"src/pango.d" -o "$@" "$<"
	@echo 'Finished building: $<'
	@echo ' '