{"id":1373,"date":"2023-03-06T11:41:40","date_gmt":"2023-03-06T11:41:40","guid":{"rendered":"https:\/\/ibex.tech\/c\/?p=1373"},"modified":"2023-03-06T11:42:55","modified_gmt":"2023-03-06T11:42:55","slug":"fatal-error-h-no-such-file-or-directory","status":"publish","type":"post","link":"https:\/\/ibex.tech\/c\/compilers\/gcc-compiler\/errors\/fatal-error-h-no-such-file-or-directory","title":{"rendered":"fatal error: ###.h: No such file or directory"},"content":{"rendered":"\n<p>E.g: fatal error: #####\/#######.h: No such file or directory<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Your CMakeLists.txt has a REQUIRES section?<\/h4>\n\n\n\n<p><em>This example is specific to the Espressif ESP-IDF, may be different for other SDKs<\/em><\/p>\n\n\n\n<p>If you don&#8217;t have a REQUIRES list in CMakeLists.txt that is declaring dependencies on certain special components, you don&#8217;t have to add basic components as REQUIRES also, due to the implicit dependency behaviour of main component (see <a href=\"https:\/\/docs.espressif.com\/projects\/esp-idf\/en\/latest\/esp32\/api-guides\/build-system.html#main-component-requirements\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>).<\/p>\n\n\n\n<p>If you do have a REQUIRES section, you need to add things like esp_timer, esp_adc, etc components to the REQUIRES list if you are using them.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>E.g: fatal error: #####\/#######.h: No such file or directory Your CMakeLists.txt has a REQUIRES section? This example is specific to the Espressif ESP-IDF, may be different for other SDKs If you don&#8217;t have a REQUIRES list in CMakeLists.txt that is declaring dependencies on certain special components, you don&#8217;t have to add basic components as REQUIRES [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[110],"tags":[],"class_list":["post-1373","post","type-post","status-publish","format-standard","hentry","category-errors"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/1373","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/comments?post=1373"}],"version-history":[{"count":2,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/1373\/revisions"}],"predecessor-version":[{"id":1375,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/posts\/1373\/revisions\/1375"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/media?parent=1373"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/categories?post=1373"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/c\/wp-json\/wp\/v2\/tags?post=1373"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}