User forums > General (but related to Code::Blocks)
Installing from Source Code
tigerbeard:
--- Quote from: oBFusCATed on March 20, 2019, 12:18:43 am ---https://github.com/obfuscated/codeblocks_sf/blob/master/.travis.yml
Doing the steps from this file will give you installable .deb files...It lists all the deps and at the bottom you have the two commands that you have to execute to get them.
--- End quote ---
Nice. I always learn interesting stuff here. Was not aware that C::B uses "Trevis" for continuous integration (just new Jenkins). Guessing from the file syntax I understood that you mean this (Debian style Linux)
--- Code: ---# installation on Debian systems
[unpack tar.gz sources and go into that folder]
$ apt install libwxgtk3.0-dev libboost-system-dev fakeroot debhelper cdbs libgtk2.0-dev libgamin-dev libboost-dev libhunspell-dev
$ ./bootstrap
$ ./debian/setup_control.sh
$ dpkg-buildpackage -us -uc
cd ..
sudo apt remove codeblocks
sudo apt install ./codeblocks_20.03svn0_amd64.deb ./codeblocks-common_20.03svn0_all.deb ./libcodeblocks0_20.03svn0_amd64.deb ./codeblocks-dev_20.03svn0_amd64.deb ./codeblocks-headers_20.03svn0_all.deb ./*wx*.deb
--- End code ---
Thats dead esay C::B buid. Doesn't address the libwxgtk2.X-dev, though.
sodev:
--- Quote from: oBFusCATed on March 19, 2019, 08:12:15 pm ---For centos there is wxgtk-devel. For ubuntu libwxgtk-dev.
--- End quote ---
Nice trick to install the system library to get the requirements, but at least on CentOS 7 this is still wxWidgets 2.8.12 which might not depend on everything that newer releases do. Plus i didn't want the system library on my system.
--- Quote ---Today I've compiled wx-master on a clean ubuntu just by installing libgtk-3-dev...
--- End quote ---
I don't know the situation on Ubuntu, but me too could get wxWidgets to compile with less than my listed dependencies, but then the configure script spills out warnings about disabling certain components because of missing requirements.
Navigation
[0] Message Index
[*] Previous page
Go to full version