{"id":971,"date":"2017-03-07T07:20:58","date_gmt":"2017-03-07T14:20:58","guid":{"rendered":"http:\/\/somethingk.com\/main\/?p=971"},"modified":"2017-03-07T07:23:01","modified_gmt":"2017-03-07T14:23:01","slug":"catastrophic-error-cannot-open-source-file","status":"publish","type":"post","link":"https:\/\/somethingk.com\/main\/catastrophic-error-cannot-open-source-file\/","title":{"rendered":"Catastrophic error: cannot open source file"},"content":{"rendered":"<p>A while back I was trying to compile the AztecOO library outside of Trilinous.  See <a href=\"http:\/\/somethingk.com\/main\/?p=965\">this<\/a> early post for more details. In doing so, I received the following error:<\/p>\n<p><code>catastrophic error: cannot open source file \"az_aztec.h\"<\/code><\/p>\n<p><a href=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2017\/03\/unnamed-1-1.png\"><img fetchpriority=\"high\" decoding=\"async\" src=\"http:\/\/somethingk.com\/main\/wp-content\/uploads\/2017\/03\/unnamed-1-1.png\" alt=\"\" width=\"890\" height=\"97\" class=\"aligncenter size-full wp-image-974\" srcset=\"https:\/\/somethingk.com\/main\/wp-content\/uploads\/2017\/03\/unnamed-1-1.png 890w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2017\/03\/unnamed-1-1-300x33.png 300w, https:\/\/somethingk.com\/main\/wp-content\/uploads\/2017\/03\/unnamed-1-1-768x84.png 768w\" sizes=\"(max-width: 890px) 100vw, 890px\" \/><\/a><\/p>\n<p>Solution<br \/>\nThis was a simple oversight on my part. To fix this, I added \u2013I.\/src to the compile statement to make sure it looked in the Aztec src directory for header files, etc. Same goes for anyone experiencing a similar error.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A while back I was trying to compile the AztecOO library outside of Trilinous. See this early post for more details. In doing so, I received the following error: catastrophic error: cannot open source file &#8220;az_aztec.h&#8221; Solution This was a simple oversight on my part. To fix this, I added \u2013I.\/src to the compile statement to make sure it looked [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[177,6],"tags":[469,303,474,472,258,473,468],"class_list":["post-971","post","type-post","status-publish","format-standard","hentry","category-development","category-linux","tag-aztecoo","tag-c","tag-catastrophic","tag-compile-error","tag-error","tag-source-file","tag-trilinous"],"_links":{"self":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/971","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/comments?post=971"}],"version-history":[{"count":2,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/971\/revisions"}],"predecessor-version":[{"id":975,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/posts\/971\/revisions\/975"}],"wp:attachment":[{"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/media?parent=971"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/categories?post=971"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/somethingk.com\/main\/wp-json\/wp\/v2\/tags?post=971"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}