Go Down

Topic: Arduino Due with Boost C++ Libraries (boost.org) ? (Read 108 times) previous topic - next topic


I am trying to run Boost C++ Libraries (boost.org) on an Arduino Due with partial success so far. This is what I did:

1) installed Arduino 1.6.3 (the current version)
2) installed "the core required by the Arduino Due board" http://www.arduino.cc/en/Guide/Cores
3) downloaded boost_1_58_0.zip from boost.org (the current version of boost)
4) copied the entire "boost" sub-directory from inside this zip file to


5) deleted the boost sub-sub-directories "asio", "proto", "spirit" and "test" (which can also be achieved, obviously, by not copying them in the first place in step 4)
6) edited boost\config\user.hpp to include these lines:

  #define BOOST_COMPILER_CONFIG <boost\config\compiler\gcc.hpp>
  #define BOOST_PLATFORM_CONFIG <boost\config\platform\win32.hpp>

Everything seems to work, but with warnings. Is there a better way to do this?

Go Up