Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

コンパイル エラー #2

Open
Chibi-three opened this issue May 21, 2023 · 1 comment
Open

コンパイル エラー #2

Chibi-three opened this issue May 21, 2023 · 1 comment

Comments

@Chibi-three
Copy link

コンパイル エラーが出てしまうのですが、対処方法を教えていただけませんでしょうか?

arduinoIDEのバージョン1.18.19を使用しています。
マイコンボードは、M5SticKCやM5StackなどのESP32シリーズを設定しています。

「soracom-labs」をインストしてコンパイルすると下記のエラーが表示されてしまうのです。

C++14の仕様とまで分かったですが。


D:_arduino-1_8_19\portable\sketchbook\libraries\SoracomArcESP32\src/strings.h:16:19: error: 'make_unique' is not a member of 'std'
auto buf = std::make_unique<char[]>(size);

@Chibi-three
Copy link
Author

追記です。
使用した プログラムソースは README.md に記載あるものに

#include "M5Atom.h"  <----- これを追加 (もしくは、#include "M5StickC.h"> or #include "M5Stack.h")
#include <SoracomArcESP32.h>
#include <WiFi.h>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant