Arduino Due with Boost C++ Libraries (boost.org) ?


i trying run boost c++ libraries (boost.org) on arduino due partial success far. did:

1) installed arduino 1.6.3 (the current version)
2) installed "the core required arduino due board" http://www.arduino.cc/en/guide/cores
3) downloaded boost_1_58_0.zip boost.org (the current version of boost)
4) copied entire "boost" sub-directory inside zip file to

  c:\users\<username>\appdata\roaming\arduino15\packages\arduino\hardware\sam\1.6.3\cores\arduino

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

  #define boost_compiler_config <boost\config\compiler\gcc.hpp>
  #define boost_platform_config <boost\config\platform\win32.hpp>

everything seems work, warnings. there better way this?



Arduino Forum > Products > Arduino Due (Moderator: fabioc84) > Arduino Due with Boost C++ Libraries (boost.org) ?


arduino

Comments