ubuntu 编译 codelblocks
ubuntu 编译 codelblocks从svn有全插件
sudo apt-get install build-essential
sudo apt-get install gdb
sudo apt-get install libwxgtk2.8-0 libwxgtk2.8-dev
sudo update-alternatives –config wx-config
wx2.8-headers wx-common
cd trunk
./bootstrap
./configure --prefix=/opt/codeblocks-svn
or similar. Then you can later install a different build like:
./configure --prefix=/opt/codeblocks2-svn
followed by ‘make && make install’ as usual.
By default, CodeBlocks will not compile the contributed plugins from SVN. If you want to compile / install them too, replace the above ./configure command with:
./configure --with-contrib-plugins=all参考:http://wiki.codeblocks.org/index.php?title=Installing_Code::Blocks_from_source_on_Linux






1.程序运行需要有入口函数即: