Code::Blocks IDE: 手动安装和配置编译器指南

GCC-Compiler 当第一次运行CodeBlocks IDE,它会自动扫描系统寻找支持的编译器。当扫描结束时,CodeBlocks会配置检测到的编译器,甚至为那些没有发现的编译器也会包括缺省的配置。这篇文章主要是指导你如何手动获取、安装和配置CodeBlocks可以使用的编译器。以下大体上按照操作系统不同分别讨论:Windows,。同时包含各种编译器的主页/下载地址可以方便你直接访问。

Continue reading Code::Blocks IDE: 手动安装和配置编译器指南 - 全文阅读

CodeBlocks下SDL编译成功实例

Cartoon-codeblocks-sdl-compile 1 首先去下载一份最新版的 CodeBlocks;2 在官方下载一份-版;3 开始我们的之旅吧

首先建立一个空的项目并且选择编译规则为;其次在编译和调试选项中设置好的库目录。这里值得注意的是在项目工程属性中 编译目标 中的 选项设置类型为 Gui applications;最后在编译和调试选项中的 连接设置中的 其他链接选项 输入-lmingw32 -lSDLmain –lSDL

Continue reading CodeBlocks下SDL编译成功实例 - 全文阅读

QT4+MinGW+Code::Blocks IDE集成

qtplatforms13map再转载一篇关于QT安装和在中使用的文章,含有详细的步骤。关于QT的介绍:

Qt is a cross-platform application and UI framework. Using Qt, you can write applications once and deploy them across many desktop and operating systems without rewriting the source code. Develop applications and user interfaces once, and deploy them across , Mac, /X11, , CE and S60 (coming soon) without rewriting the source code.  - qtsoftware.com

Continue reading QT4+MinGW+Code::Blocks IDE集成 - 全文阅读

CodeLite IDE介绍

codeliteBryan @ CBForge:

 本来打算整合cscope到code::blocks IDE中实现函数调用查找等功能,代码写了一半,发现CodeLite已经整合的很好了。:(

而且是一个轻量级的C、C++开发环境,其中很多功能非常适合开发一个开源版本的sourceinsight。

下面转载一篇介绍CodeLite的文章给大家。 Continue reading CodeLite IDE介绍 - 全文阅读

Code::Blocks + Qt体验

qtlogo

转载这一篇文章,开发的程序员可以参考。其中包括了编译,还有的详细设置步骤。

 

今天写一篇编程日志。

使用VC以及总是会发觉n多warnning,于是决定换一个编译器,结果就找到了 for 版本.

安装很容易,要么自己download,要么使用官方网提供的工具,把Get Started 或者Manual 或者Reference之类的看一下,然后三下两下就搞定安装。
安装好了,还缺少一个的IDE,这样可以减少敲命令的繁琐。在Unix下那是万不得已。在下,当然要找个IDE来,于是找到了Code::Blocks安装也很方便。其实它本身就已经附带了安装包,安装完毕以后,在其目录下面就会有一个目录,那就是编译器的的窝。
近来闲来无聊之时,便拿它们练起了
总得感觉,编译能力比vc还是要强悍很多。
编译时,要添加环境变量设置:

 

Continue reading Code::Blocks + Qt体验 - 全文阅读

Debugging with Code::Blocks

Build debug version of your project

Make sure that the project is compiled with the -g ( symbols) option on, and the -s (strip symbols) option off. This ensures that the executable has debug symbols included.

首先你要确认编译选项 -g是打开的,-s是关闭的(strip会把debug信息清除)

optimization switches should be turned off, stripping symbols (-s) must be turned off.

Keep in mind that you may have to re-build your project as up-to-date object files might not be re-compiled with -g otherwise. Please be aware that in compilers other than , -g and/or -s might be a different switch (-s might not ba available at all).

Menu => Project => Build Options

Set Project Build Options

Continue reading Debugging with Code::Blocks - 全文阅读

如何在Windows上安装Code Blocks 8.02官方发布版

本文档依照发布,转载请注明出处:codeblocks.org/ide.cbforge.com 翻译,Bryan@CBForge.

20070405173053521 安装步骤:

1. 通过下面的链接下载CB官方安装包,如果你还没有安装MinGW,可以选择下载绑定MinGW的CB软件包;

2. 按照每步的说明运行安装;

3. 如果你想安装其他编译器,可参考安装文件中信息,我们也会稍后提供相关的详细说明【cbforge.com注】;

4. 如果没有安装绑定MinGW的版本,你需要手工配置编译器

以下是原文:

Install steps
  1. Download the Code::Blocks 8.02 installer. If you know you don’t have MinGW installed, download the package which has MinGW bundled.
  2. Run the installer, it’s a standard installer for ; just press Next after reading each screen.
  3. If you’re planning installing a after you’ve installed Code::Blocks, read the information provided in the installer.
  4. If you downloaded the installer which doesn’t come with MinGW, you may have to configure the manually (usually Code::Blocks’ auto detects the ).

Retrieved from "http://wiki.codeblocks.org/index.php?title=Installing_the_latest_official_version_of_Code::Blocks_on_Windows"

Contact us

Admin: Bryan Wu