Install code: blocks -- Linux Enterprise Application-Linux server application in Linux. For more information, see. 1. Compile and install wxGTK (taking wxGTK-2.6.2 as an example)
Download wxgtk-2.6.2.tar.gz (http://www.wxwidgets.org /)
Tar zxvf wxGTK-2.6.2.tar.gz
Cd wxGTK-2.6.2
./Configure -- enable-xrc -- enable-monolithic -- enable-unicode
Make
Make install
Vi/etc/ld. so. conf
Run ldconfig after adding/usr/local/lib
You can check whether the installation is correct using the output of the following operations:
Wx-config -- prefix
Wx-config -- libs
Which wx-config
2. Download Code: Block
Download code: blocks through svn + http
Install subversion and set the proxy server in the global segment of the. subversion/servers file.
Svn checkout http://svn.berlios.de/svnroot/repos/codeblocks/trunk
You can use
Svn checkout svn: // svn.berlios.de/codeblocks/trunk
Download Code directly
3. Compile and install Code: Block
If you run bootsrtap directly, the macro AM_PATH_WXCONFIG is not defined.
1) cp/usr/local/share/aclocal/wxwin. m4/usr/share/aclocal/wxwin. m4
2)./bootstrap
./Configure
Make
Make install
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.