--- title: Codeblocks解決compiler問題 tags: C description: Codeblocks安裝後compiler問題 --- # Codeblocks解決compiler問題 <!-- Put the link to this slide here so people can follow --> --- C語言編輯器Codeblocks怎麼安裝 可以參考此影片 https://www.youtube.com/watch?v=pCb1ebIoWPw **當遇到錯誤問題如下的時候:** **The compiler's setup (GNU GCC Compiler) is invalid, so Code::Blocks cannot find/run the compiler.** 1.找到自己安裝的路徑中的(MinGW bin) C:\Program Files\CodeBlocks\MinGW\bin 2.點擊Settings->Compiler->Toolchain executables 把自已安裝MinGW\bin的位置貼上就好 ![](https://i.imgur.com/S0oWdna.png) 參考 https://stackoverflow.com/questions/22309491/codeblocks-cant-find-my-compiler 李根逸博士的C 語言入門 推薦學習資源 https://youtube.com/playlist?list=PLY_qIufNHc293YnIjVeEwNDuqGo8y2Emx --- ## Who am I? - Front-end developer - VSCode :heart: - I use tabs. :cat: ---