[I] [BUG] Feedback on C++/CMake Guide – Outdated Folder Structure and Build Issues [nuttx]</span></a></span> </h1> <p class="darkgray font13"> <span class="sender pipe"><a href="/search?l=commits@nuttx.apache.org&q=from:%22via+GitHub%22" rel="nofollow"><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">via GitHub</span></span></a></span> <span class="date"><a href="/search?l=commits@nuttx.apache.org&q=date:20250727" rel="nofollow">Sun, 27 Jul 2025 12:56:30 -0700</a></span> </p> </div> <div itemprop="articleBody" class="msgBody"> <!--X-Body-of-Message--> <pre> alimans opened a new issue, #16782: URL: <a rel="nofollow" href="https://github.com/apache/nuttx/issues/16782">https://github.com/apache/nuttx/issues/16782</a></pre><pre> ### Description / Steps to reproduce the issue Dear Apache NuttX Team, I was following the [C++ and CMake guide](<a rel="nofollow" href="https://nuttx.apache.org/docs/latest/guides/cpp_cmake.html">https://nuttx.apache.org/docs/latest/guides/cpp_cmake.html</a>) 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: 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. 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. ### On which OS does this issue occur? [OS: Linux] ### What is the version of your OS? Ubuntu 24.04.2 LTS runining with wsl2 ### NuttX Version nuttx-export-12.10.0 ### Issue Architecture [Arch: simulator] ### Issue Area [Area: Build System] ### Host information _No response_ ### Verification - [x] I have verified before submitting the report. -- 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: commits-unsubscr...@nuttx.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org </pre> </div> <div class="msgButtons margintopdouble"> <ul class="overflow"> <li class="msgButtonItems"><a class="button buttonleft " accesskey="p" href="msg141938.html">Previous message</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="c" href="index.html#141943">View by thread</a></li> <li class="msgButtonItems textaligncenter"><a class="button" accesskey="i" href="maillist.html#141943">View by date</a></li> <li class="msgButtonItems textalignright"><a class="button buttonright " accesskey="n" href="msg141944.html">Next message</a></li> </ul> </div> <a name="tslice"></a> <div class="tSliceList margintopdouble"> <ul class="icons monospace"> </ul> </div> <div class="overflow msgActions margintopdouble"> <div class="msgReply" > <h2> Reply via email to </h2> <form method="POST" action="/mailto.php"> <input type="hidden" name="subject" value="[I] [BUG] <title>Feedback on C++/CMake Guide – Outdated Folder Structure and Build Issues [nuttx]"> <input type="hidden" name="msgid" value="I_kwDODZiUac7CwISK@gitbox.apache.org"> <input type="hidden" name="relpath" value="commits@nuttx.apache.org/msg141943.html"> <input type="submit" value=" via GitHub "> </form> </div> </div> </div> <div class="aside" role="complementary"> <div class="logo"> <a href="/"><img src="/logo.png" width=247 height=88 alt="The Mail Archive"></a> </div> <form class="overflow" action="/search" method="get"> <input type="hidden" name="l" value="commits@nuttx.apache.org"> <label class="hidden" for="q">Search the site</label> <input class="submittext" type="text" id="q" name="q" placeholder="Search commits"> <input class="submitbutton" name="submit" type="image" src="/submit.png" alt="Submit"> </form> <div class="nav margintop" id="nav" role="navigation"> <ul class="icons font16"> <li class="icons-home"><a href="/">The Mail Archive home</a></li> <li class="icons-list"><a href="/commits@nuttx.apache.org/">commits - all messages</a></li> <li class="icons-about"><a href="/commits@nuttx.apache.org/info.html">commits - about the list</a></li> <li class="icons-expand"><a href="/search?l=commits@nuttx.apache.org&q=subject:%22%5C%5BI%5C%5D+%5C%5BBUG%5C%5D+%3Ctitle%3EFeedback+on+C%5C%2B%5C%2B%5C%2FCMake+Guide+%E2%80%93+Outdated+Folder+Structure+and+Build+Issues+%5C%5Bnuttx%5C%5D%22&o=newest&f=1" title="e" id="e">Expand</a></li> <li class="icons-prev"><a href="msg141938.html" title="p">Previous message</a></li> <li class="icons-next"><a href="msg141944.html" title="n">Next message</a></li> </ul> </div> <div class="listlogo margintopdouble"> </div> <div class="margintopdouble"> </div> </div> </div> <div class="footer" role="contentinfo"> <ul> <li><a href="/">The Mail Archive home</a></li> <li><a href="/faq.html#newlist">Add your mailing list</a></li> <li><a href="/faq.html">FAQ</a></li> <li><a href="/faq.html#support">Support</a></li> <li><a href="/faq.html#privacy">Privacy</a></li> <li class="darkgray">I_kwDODZiUac7CwISK@gitbox.apache.org</li> </ul> </div> </body> </html>