1 首先去下载一份最新版的 CodeBlocks;2 在SDL官方下载一份SDL-MingW版;3 开始我们的SDL之旅吧
首先建立一个空的项目并且选择编译规则为Gcc;其次在编译和调试选项中设置好SDL的库目录。这里值得注意的是在项目工程属性中 编译目标 中的 选项设置类型为 Gui applications;最后在编译和调试选项中的 连接设置中的 其他链接选项 输入-lmingw32 -lSDLmain –lSDL
|
||||||
|
Qt is a cross-platform application and UI framework. Using Qt, you can write applications once and deploy them across many desktop and embedded operating systems without rewriting the source code. Develop applications and user interfaces once, and deploy them across Windows, Mac, Linux/X11, embedded Linux, Windows CE and S60 (coming soon) without rewriting the source code. - qtsoftware.com 本来打算整合cscope到code::blocks IDE中实现函数调用查找等功能,代码写了一半,发现CodeLite已经整合的很好了。:( 而且CodeLite IDE是一个轻量级的C、C++开发环境,其中很多功能非常适合开发一个开源版本的sourceinsight。 下面转载一篇介绍CodeLite的文章给大家。 Continue reading CodeLite IDE介绍 - 全文阅读
转载这一篇文章,QT开发的程序员可以参考。其中包括了编译Boost,还有Qt的详细设置步骤。
今天写一篇编程日志。 使用VC编译STL以及boost总是会发觉n多warnning,于是决定换一个编译器,结果就找到了gcc for windows版本MinGW. 安装很容易,要么自己download,要么使用官方网提供的工具,把Get Started 或者Manual 或者Reference之类的看一下,然后三下两下就搞定安装。
Build debug version of your projectMake sure that the project is compiled with the -g (debugging symbols) compiler option on, and the -s (strip symbols) option off. This ensures that the executable has debug symbols included. 首先你要确认编译选项 -g是打开的,-s是关闭的(strip会把debug信息清除) Compiler 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 GCC, -g and/or -s might be a different switch (-s might not ba available at all). Menu => Project => Build Options 本文档依照GPL发布,转载请注明出处:codeblocks.org/ide.cbforge.com 翻译,Bryan@CBForge.1. 通过下面的链接下载CB官方安装包,如果你还没有安装MinGW,可以选择下载绑定MinGW的CB软件包; 2. 按照每步的说明运行安装; 3. 如果你想安装其他编译器,可参考安装文件中信息,我们也会稍后提供相关的详细说明【cbforge.com注】; 4. 如果没有安装绑定MinGW的版本,你需要手工配置编译器 以下是原文: Install steps
Retrieved from "http://wiki.codeblocks.org/index.php?title=Installing_the_latest_official_version_of_Code::Blocks_on_Windows" |
||||||
|
Copyright © 2010 代码工厂@Code Blocks Forge - All Rights Reserved
京ICP备06020298号 |
||||||