On 04/02/2020 13:44, M. Dodson wrote:

On 4 Feb 2020, at 12:32, Sebastian Huber <[email protected]> 
wrote:

On 04/02/2020 13:20, M. Dodson wrote:

          from /usr/local/include/boost/math/policies/policy.hpp:21,
Did you add /usr/local/include to the include path used to build an RTEMS 
application?

Yes.  And when I cloned and build Boost from source, I added that to my include 
path.

Specifically, my waf has:

includes = [
...
'/Users/michaeldodson/projects/rtems_root/boost_1_72_0',
'/usr/local/include’]

It seems to be finding the header files just fine, as the errors are associated 
with a declaration within the header that isn’t in scope.

You should not use standard installation paths of your host system for header files of the RTEMS target. This may accidentally pull in undesired header files.

I would look at the pre-processed files (-save-temps -Wp,--dD) to figure out what happens.

_______________________________________________
users mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/users

Reply via email to