jcursiolf commented on issue #5530:
URL:
https://github.com/apache/incubator-nuttx/issues/5530#issuecomment-1045112395
Small update on this error:
```sh
/path/to/hellocpp/nuttx-export-10.1.0/include/libcxx/__config:1142:6: error:
#error "No thread API"
1142 | # error "No thread API"
| ^~~~~
```
It is caused because there is no definition of `__NuttX__` whatsoever in any
of the files created by `make export`. From the little I could find, it appears
that it has been moved from the individual _Make.defs_ to _tools/Config.mk_ by
#2192 . Inserting it back on the _Make.defs_ made no diference.
For the purpostes of getting rid of it, I have hardcoded the definition in
the _HelloWord.h_ of said guide. But I am quite sure this is not how it is
supposed to be done. So, if anyone has any input, I'd highly appreciate.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]