简体   繁体   English

找不到Code :: Blocks的C ++编译器

[英]C++ Compiler not found with Code::Blocks

I am new to programming C but not new to programming. 我是C新手,但不是C新手。 I have downloaded Code::Blocks to build C projects with but when I start a new project it says it can't find a compiler. 我已经下载了Code :: Blocks来构建C项目,但是当我启动一个新项目时,它说找不到编译器。 I downloaded GNU GCC Compiler and when I create a new Project it still says it can't find the compiler. 我下载了GNU GCC编译器,当我创建一个新项目时,它仍然说找不到该编译器。 The compiler is downloaded on my C: drive so I'm guessing I have to link the two together? 编译器已下载到我的C:驱动器上,所以我猜我必须将两者链接在一起吗?

Have you downloaded IDE with compiler. 您是否已使用编译器下载了IDE。 If not do so. 如果不是这样。 It's large size version comes with compiler. 它是编译器随附的大尺寸版本。 It comes with MinGW GCC compiler. 它带有MinGW GCC编译器。 OR go to settings in the upper part -> click compiler -> choose reset to defaults. 或转到上部的设置->单击编译器->选择重置为默认值。

This link might help. 该链接可能会有所帮助。 http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM