私はLinux上でc-toolをmingwとクロスコンパイルしようとしています。私は必要な機能GdipSaveImageToFileを使用します。この関数は "gdiplus.h"で宣言されています。ging-tool with mingw
私のコード今ある:
#include <stdio.h>
#include <windows.h>
#include <gdiplus.h>
int main() {
return 0;
}
コンパイルコマンド:
i586-mingw32msvc-gcc test.c -lgdi32
とエラーは以下のとおりです。英語で
test.c:3:21: Fehler: gdiplus.h: Datei oder Verzeichnis nicht gefunden
(と思う):
test.c:3:21: Error: gdiplus.h: no such file or directory.
また、<Gdiplus.h>
,gdi.h
などを含むようにしましたが、ヘッダーファイルは存在しません。 誰にも理由がありますか?私のオペレーティングシステムは、ubuntu 11.04です。
よろしく
が
これは、答えは、あなたと、あなたの元の質問の最後にこれを追加する必要がありますされていないことを築いてきました」更新 "タイトル。スタックオーバーフローの仕組み –