CodeBlocks下SDL编译成功实例

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

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

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

Setting up Code::Blocks to work with SDL - 多媒体编程库

tmobile-sdl - Simple DirectMedia Layer, is a cross-platform designed to provide low level access to audio, keyboard, mouse, joystick, 3D hardware via OpenGL, and 2D video framebuffer. It is used by MPEG playback software, emulators, and many popular games, including the award winning port of "Civilization: Call To Power."

supports , , CE, BeOS, MacOS, Mac OS X, , NetBSD, OpenBSD, BSD/OS, Solaris, IRIX, and QNX. The code contains support for AmigaOS, Dreamcast, Atari, AIX, OSF/Tru64, RISC OS, SymbianOS, and OS/2, but these are not officially supported.  is written in C, but works with C++ natively, and has bindings to several other languages, including Ada, C#, D, Eiffel, Erlang, Euphoria, Guile, Haskell, Java, Lisp, Lua, ML, Objective C, Pascal, Perl, PHP, Pike, Pliant, Python, Ruby, Smalltalk, and Tcl.  is distributed under GNU version 2. This license allows you to use freely in commercial programs as long as you link with the dynamic library. – libsdl.org

Continue reading Setting up Code::Blocks to work with SDL - 多媒体编程库 - 全文阅读

Contact us

Admin: Bryan Wu