Dear Apache NuttX Team,

I was following the C++ and CMake guide
<https://nuttx.apache.org/docs/latest/guides/cpp_cmake.html> from your
documentation, and I encountered several issues that I believe may be due
to changes in the folder structure or recent updates in the repository.

Specifically:

   1.

   After running make export, I received the following error:

   nuttxspace/nuttx/libs/libc/elf/gnu-elf.ld': No such file or directory

   It appears this path or file no longer exists or has been moved.
   2.

   When building the project, it failed with an error related to missing
   cstdio. I noticed the CMakeLists.txt refers to:

   ${NUTTX_PATH}/include/libcxx

   However, this directory seems to have been renamed or replaced—libcxx no
   longer exists, and I found a cxx directory instead. After adjusting the
   path, the next build error occurred:

   error: 'string' was not declared in this scope; did you mean 'stdin'?
   src/HelloWorld.cpp:18:9

   It seems the standard C++ header <string> could not be found. This might
   indicate missing include paths or incorrect configurations for C++ standard
   library support in the example.

Based on these issues, I believe the guide could benefit from an update to
align with the current repository structure and build process.

Please let me know if there are updated instructions elsewhere or if I can
assist in clarifying the problems I encountered.

Thank you for your time and for the great work on NuttX.
-- 
Yours truly,
Ali M. Mansoory K.

Reply via email to