I am trying to run Boost C++ Libraries (boost.org) on an Arduino Due with partial success so far. This is what I did:
- installed Arduino 1.6.3 (the current version)
- installed "the core required by the Arduino Due board" http://www.arduino.cc/en/Guide/Cores
- downloaded boost_1_58_0.zip from boost.org (the current version of boost)
- copied the entire "boost" sub-directory from inside this zip file to
C:\Users<username>\AppData\Roaming\Arduino15\packages\arduino\hardware\sam\1.6.3\cores\arduino
- 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)
- 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?