As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am just beginning with GTK+.
I have an Ubuntu 11.04. How should I install the GTK and which stable version?
The GTK website offers packages for download. However there are 4 other supporting packages. I was wondering if I can us sudo apt-get or synaptic to download them. When I typed GTK on Synaptic there is a long list though.
Please suggest a stable GTK version available for download using sudo apt-get.
Also, what IDE should I use for development and simulation?
I have been programming with Qt till now which had the QtCreator, QtDesigner for this purpose. My Application has to now be ported on GTK. I googled to find out no translator engine for Qt to GTK.
Did any of you have this experience?
Thanks
You can install two different versions (2.24.10, 3.4.1) of GTK+ on Ubuntu (precise).
sudo apt-get install libgtk2.0-dev
sudo apt-get install libgtk-3-dev
Examples and demo application can be installed by the following commands
sudo apt-get install gtk2.0-examples
sudo apt-get install gtk-3-examples
There is no IDE like QtCreator in case of Qt, but there is a user interface builder named Glade.
sudo apt-get install glade
If your background is Qt, which is a C++ API, you should probably go straight for gtkmm, which is the official C++ bindings for GTK+. This is needed since at heart, GTK+ is a C API, which relies on bindings to make the toolkit available in other programming languages than C.
I would not expect there to be a 1:1 translation tool, either, so your porting might become quite labor-intensive. I hope you don't need to continue to support the Qt version, too.
Also, this question seems to be relevant, and have good answers that seem worth reading for someone in your position.
Anjuta is the defacto IDE for development on the Gnome platform using GTK. You can install it on Ubuntu using
sudo apt-get install anjuta
Related
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I am trying to fix my problem "GLIBCXX_3.4.15" not found, which is fairly well documented to fix. But it requires getting the file "libstdc++.so.6.0.15" from somewhere.
Most of the solutions tell me to get it from the location that I compiled my c++ library from. However, I did not compile it, it came with my Ubuntu installation, and when I do "locate" for that file it is not found.
So, I would like to just download it from somewhere, but I can't find it on the web anywhere. I have tried to look in the svn repo: svn://gcc.gnu.org/svn/gcc, but was not able to find it (its huge!)
Any help much appreciated :)
Fodder
You shouldn't have to manually download this library, if you're on Ubuntu Linux, it should be shipped inside this package :
sudo apt-get install libstdc++6
If you already have libstdc++6, then the problem is elsewhere and you should explain what you're trying to achieve in the first place.
If you want a newer version of libstdc++6 than the one provided in the default package, then you can try to update to the toolchain test package :
sudo add-apt-repository ppa:ubuntu-toolchain-r/test
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Otherwise you would have to compile GCC from source :
Install the prerequisite (using sudo apt-get build-dep gcc-4.7 as instance)
Get the source from GNU.org
Compile it using configure, make and make install
Just realized that was having the similar problem some time ago. Disclaimer: If you know what you are doing, check this repository - Index of /debian/pool/main/g/gcc-4.7. It must be in some of the packages available. Use Archive Manager to get inside.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I install nginx on centos 7 And met problem
Please help me
Message:
Error:Package:gperftools-libs-2.4-5.el7.x86_64(epel)
Requires: libunwind.so.8()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I ran into the same problem today. #Nika Archvadze's answer fixed the problem for me, but it's been downvoted, I suppose because it's a bit sparse.
Anyway, probably a good idea to start with
yum update
then
yum install yum-utils
will install the yum-config-manager package.
then
yum-config-manager --enable cr
will enable the continuous release repository, which is probably already installed, but if not you can install it like this before enabling it
yum install centos-release-cr
Now you will have access to the libunwind package, which is in the continuous release repository, so you should just be able to
yum install nginx
without any problems
yum -y install yum-utils
yum-config-manager --enable cr
yum -y install nginx
The package is available in the Centos 7 Continuous Release (CR) Repository. once enable the cr repo able to complete the installation with out any issue.
Following is the command to enable the cr repository.
#yum-config-manager --enable cr
Source: https://ask.openstack.org/en/question/85814/juno-installation-error-returned-1-error-package-gperftools-libs-24-5el7x86_64-epel/
I got quite desperate on this, because I cannot install the open source Qt5 after I installed commercial Qt5 on my laptop.
This issue happened like this: My first trial of install Qt5, I chose the commercial license. Then when I tried to install PyQt5, it said my Qt5 license is commercial, not compatible with PyQt5 license. So naturally, as a open source lover, I uninstalled the Qt5. And reinstalled an open source version. But, no matter how many times I tried, PyQt5 says my Qt5 is still commercial license.
Dose anyone encounter the same issue here? And how did you solve it?
(I guess my last shot would be install a VM, but I sincerely hope I don't need to do that).
Updates: (July 28, 2015)
The issues turns out to be PyQt5 is not compatible with the newest Qt 5.5.0 at the moment. Choose a older version of Qt.
A couple of days ago,when I install PyQt5 in osx(10.9.5) the same problem came to me.I install qt-opensource-mac-x64-clang-5.5.0.dmg,and when I install PyQt-gpl-5.5.tar.gz,it said that Qt5 license is commercial, not compatible with PyQt5 license.So i just remove the Qt5.5 by "rm -rf Qt5.5",then i install qt-opensource-mac-x64-clang-5.4.1.dmg,at last everything works Ok.I googled but din't find something useful.maybe pyqt5 din't support the latest Qt5's license,but Qt5 has GPL and LGPL,pyqt5 has GPL,it should worked...ok,just gussing,hope this will helpful
I've had some difficulty trying to obtain a working Ada compiler.
I had been attempting to install avr-ada on a Windows system. I've asked questions and been provided some good suggestions, but not quite there yet.
I've since tried to install and use GNAT on a Mint Linux system, but I keep getting stuck.
I've downloaded and installed gcc-4.8.0.
Installed ok.
I then want to build the GNAT Ada compiler, but the manual is not exactly useful.
Every time I try to find installation instruction for GNAT, I find nothing of immediate use.
For example the details I have found state:
"Building the Ada compiler has special requirements, see below"
But do not appear to have any content for how do build the Ada compiler anywhere.
Any ideas?
You could try your hand at my Slackware guide.
Just install VirtualBox on your Windows box and give Slackware a whirl in a VM. Actually if you don't want/need all the AdaCore stuff, Slackware comes with FSF GNAT out of the box. You don't really have to do anyting except call gnatmake to build your stuff.
But honestly, it's not that complicated to get GNAT GPL and the AdaCore projects up and running on Slackware.
For Debian (if you don't want to use the default Debian Ada packages) you could try the makefile done by Kim Rostgaard Christensen.
As I understand it, Mint is based on Ubuntu, which is based on Debian - so you should be able to install the package gnat; it'll probably be GCC 4.6.
I'm not sure whether you need 4.8.0? If so, or of course if you can't install gnat, you'll need to build it (or to wait until it reaches Debian/Ubuntu/Mint, which could be a while). GCC 4.6 (with Ada support) should be OK for this, or you could install AdaCore's Libre version. I know that GNAT GPL 2012 will build GCC 4.8.0 on Mac OS X; I wrote up building GCC from SVN using GNAT GPL 2011 here, and building GCC 4.8.0 here.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Where do I get a link to install Qt with the MinGW cross compiler in Linux?
All you need is just three commands from you:
zypper ar http://download.opensuse.org/repositories/windows:/mingw:/win32/openSUSE_11.3/ mingw
zypper mr -r mingw # this makes the repository auto-refresh on next zypper operations
zypper install mingw32-libqt4-devel
change 11.3 to to the openSUSE version you have.
The dependencies for .exe compiled through that toolchain can be resolved by fetching .dll files from /usr/i686-pc-mingw32/sys-root/i686-pc-mingw32/bin/ directory.
Have a look at:
Building a Cross compiler for Windows on Linux
MinGW cross compiler for Linux build environment
Fedora 11 comes with the MinGW cross compiler (mingw32-gcc, mingw32-g++, etc.) and Win32 packages for Qt (mingw32-qt). You could try using Fedora instead of SUSE, or the packages may install on SUSE with a bit of coaxing.
There is no link. MinGW (Minimalist GNU for Windows) is platform specific and Windows-only. On SUSE, the required compiler GCC and all its dependencies should already be present, so MinGW is unneccessary there.
For Qt for Linux, head over to the Trolltech Download page.