I持つサンプルファイルに次のコード:GCCの検索パスにヘッダファイルを含めるには?
#include "SkCanvas.h"
#include "SkDevice.h"
#include "SkGLCanvas.h"
#include "SkGraphics.h"
#include "SkImageEncoder.h"
#include "SkPaint.h"
#include "SkPicture.h"
#include "SkStream.h"
#include "SkWindow.h"
しかし、このコードは(/ホーム/私/開発/ skia内のさまざまなフォルダに配置されたコア/アニメーター/画像/ポート/ SVGが含まれて/
GCCにこのパスを認識させるにはどうすればよいですか?
gcc -Icore -Ianimator -Iimages -Ianother_dir -Iyet_another_dir my_file.c
http://stackoverflow.com/questions/558803/how-to-add-a-default-include-path-for-gcc-in-linux –