0

Bossa のソース コードをhttps://github.com/shumatech/BOSSA/tree/arduinoからダウンロードしました。

Windows 用の Cygwin をインストールし、次の make コマンドを実行して Cygwin シェルからソース コードをビルドしました。

make OS=MINGW32_NT-6.1

次のエラーが表示されます。

In file included from src/WinPortFactory.h:33:0,
             from src/WinPortFactory.cpp:29:
src/PortFactory.h:59:2: error: #error "Platform is not supported"
 #error "Platform is not supported"
  ^
Makefile:180: recipe for target 'obj/WinPortFactory.o' failed
 make: *** [obj/WinPortFactory.o] Error 1

PortFactory.h ファイルを調べると、プリ プロセッサ ディレクティブが表示され__WIN32__ます。

次のようにビルドに含めようとしましたが、成功しませんでした:

make OS=MINGW32_NT-6.1 CPPFLAGS=-D__WIN32__

私は何が欠けていますか?私も持ってCFLAGSCXXFLAGSますが、成功しません。

4

0 に答える 0