HEW GNURX14.01 stdint.h 使う方法
HEW GNURX14.01 stdint.h 使う方法
HEW GNURX14.01 において stdint.h を使う方法
#include <stdint.h> を追加
void main(void)
{
int8_t b = 0;
}
これでコンパイルすると結果は、20: fatal error: stdint.h: No such file or directory
コンパイル出来ませんでした。
stdint.h を 使う方法を教えてください。
×
COMP:OK!
KPIT GNURX[ELF] / C/C++のShow Entries for / Include file directories
Add / Relative to / Custom directory /
Browse :
my.path C:\Program Files\Renesas\Hew_005\Tools\KPIT\GNURX-ELF\v14.01\rx-elf\rx-elf\include
こんにちは、
バージョン14.01以降、HEWのサポートが終了しました。の問題は、以下のバージョンで解決されました。
e2 Studioを最新バージョンにアップグレードすることをおすすめします。
別の解決策として、次のように進めることができます。
[1] “ \ rx-elf \ rx-elf \ rx-elf \ optlibinc \ stdint.h”から “ \ rx-elf \ rx-elf \ rx-elf \ optlibinc \ ”
[2] ““は、https://gcc-renesas.com/downloads/download.php?f=rx/4.8.4.201701/gcc-4.8.4.201701のインストールパスです。 -GNURX-ELF.exe
[3] ““はhttps://gcc-renesas.com/downloads/download.php?f=rx/14.01/GNURXv1401-ELF.exeのインストールパスです。
ありがとうございました、
GNUツールチーム
ご対応ありがとうございます。
HEW(GNURX)で下記のように設定して対応しました。
・Optimized lib使用時(デフォルト)
stdint.hのパスを追加する。
⇒ビルドメニューKPIT GNURX[ELF]を選択
タブC/C++のShow Entries for をInclude file directories にする
ボタンAddを押す
Relative to を HEW installation directory を選択
Sub-Directory に Tools\KPIT\GNURX-ELF\v14.01\rx-elf\rx-elf\include を入力でOK
#include //追加.必要!
uint8_t a= 0 //追加.確認用