Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Including tokenizer.hpp causes compile error #3

Open
kota65535 opened this issue Dec 28, 2015 · 0 comments
Open

Including tokenizer.hpp causes compile error #3

kota65535 opened this issue Dec 28, 2015 · 0 comments

Comments

@kota65535
Copy link

My Environment

  • OS X 10.10
  • Arduino IDE 1.6.7

Symptom

Including boost/tokenizer.hpp causes compile error.
The ino file is as follows.

#include <StandardCplusplus.h>
#include <boost_1_51_0.h>
#include <boost/tokenizer.hpp>
void setup(void) {}
void loop(void) {}

The error messages is as follows.

In file included from /Users/tomohiko/Documents/Arduino/libraries/boost_1_51_0/boost/config/select_stdlib_config.hpp:37:0,
                 from /Users/tomohiko/Documents/Arduino/libraries/boost_1_51_0/boost/config.hpp:40,
                 from /Users/tomohiko/Documents/Arduino/libraries/boost_1_51_0/boost/static_assert.hpp:17,
                 from /Users/tomohiko/Documents/Arduino/libraries/boost_1_51_0/boost/iterator/iterator_adaptor.hpp:10,
                 from /Users/tomohiko/Documents/Arduino/libraries/boost_1_51_0/boost/token_iterator.hpp:22,
                 from /Users/tomohiko/Documents/Arduino/libraries/boost_1_51_0/boost/tokenizer.hpp:20,
                 from /Users/tomohiko/Dropbox/string_vector/string_vector.ino:8:
/Users/tomohiko/Documents/Arduino/libraries/boost_1_51_0/boost/config/no_tr1/utility.hpp:21:21: fatal error: utility: No such file or directory
 #  include <utility>

                     ^
compilation terminated.
exit status 1

By this message I think "utility" header file seems to be expected to exist in StandardCplusplus library.
The AVR-STL of Andy Brown (http://andybrown.me.uk/2011/01/15/the-standard-template-library-stl-for-avr-with-c-streams/) has it, so it may be the problem of StandardCplusplus.

@kota65535 kota65535 changed the title Compiler error occurs at utility.hpp Including tokenizer.hpp causes compile error Dec 28, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant