User forums > General (but related to Code::Blocks)
Installing from Source Code
oBFusCATed:
--- Quote from: tigerbeard on March 19, 2019, 12:33:35 pm ---The tricky part is to get wxWidgets Prerequisite right.
--- End quote ---
This statement is wrong. Checking out wx-master and building with almost default settings gives you perfectly fine wxgtk which could be used for C::B. You have to just use non-default prefix and also pass --with-wx-config which points to this non default prefix.
sodev:
Can't confirm that for CentOS 7. To get a fairly standard build with
--- Code: ---./configure --libdir=/usr/local/lib64 --with-gtk=3 --with-cxx=11 --enable-ipv6 --disable-compat30 --disable-unsafe_conv_in_wxstring
--- End code ---
i had an extensive try-and-error to figure out the following missing packages:
--- Code: ---gtk3-devel
webkitgtk3-devel
libX11-devel
libXinerama-devel
libXxf86vm-devel
libXtst-devel
libSM-devel
mesa-libGL-devel
mesa-libGLU-devel
libsecret-devel
libnotify-devel
cairo-devel
gstreamer1-devel
gstreamer1-plugins-base-devel
--- End code ---
Without these i either got hard errors or soft warnings about missing components.
oBFusCATed:
For centos there is wxgtk-devel. For ubuntu libwxgtk-dev. Today I've compiled wx-master on a clean ubuntu just by installing libgtk-3-dev...
tigerbeard:
--- Quote from: oBFusCATed on March 19, 2019, 07:31:13 pm ---
--- Quote from: tigerbeard on March 19, 2019, 12:33:35 pm ---The tricky part is to get wxWidgets Prerequisite right.
--- End quote ---
This statement is wrong. Checking out wx-master and building with almost default settings gives you perfectly fine wxgtk which could be used for C::B. You have to just use non-default prefix and also pass --with-wx-config which points to this non default prefix.
--- End quote ---
Well, I think its not wrong. I have been referring to wxGtk2.8.12. As its a good idea to install that to a non default folder According to BlueHazzrads notes (which worked for me) , you need to patch the configure file , manually, change PATH, edit /etc/ld.so.conf, optionally temporarily purge an old libwxgtk3.0, and do the normal install stuff. At least that counts as tricky for me. 8)
If you have a 3 liner (or whatever liner) working in a clean Ubuntu, as you say would you mind to post it?
oBFusCATed:
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.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version