Install MinGW for SUSE Linux [closed] - qt

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.

Related

R Error During Forecast Package Installation after CUDA-9.1 Upgrade on Ubuntu 17.10 [closed]

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 4 years ago.
Improve this question
I was having difficulty running install.packages("forecast") after a new install of CUDA 9.1 on Ubuntu 17.10, with the error
#error -- unsupported GNU version! gcc versions later than 6 are not supported!
I fixed this problem by first following instructions here running from command line
sudo ln -s /usr/bin/gcc-6 /usr/local/cuda/bin/gcc
I then got the error
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
This is due to GCC 6 not having a G++ to go with it. Simply install G++6 with:
sudo apt-get install g++-6

centos install nginx error : requires libunwind.so.8()(64 bit) [closed]

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/

qt vim doesn't build on kubuntu [closed]

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 10 years ago.
Improve this question
I've been banging my head against a wall for a week trying to build qt vim from source on my Kubuntu 12-10 machine.
The build command I'm using is:
./configure --prefix=/usr/ --with-features=huge --with-vim-name=qvim --enable-gui=qt
Which gives me this error:
checking for tgetent in -ltinfo... no
checking for tgetent in -lncurses... no
checking for tgetent in -ltermlib... no
checking for tgetent in -ltermcap... no
checking for tgetent in -lcurses... no
no terminal library found
checking for tgetent()... configure: error: NOT FOUND!
You need to install a terminal library; for example ncurses.
Or specify the name of the library with --with-tlib.
After much googling, the only solution I found was to have libncurses5-dev and ncurses5-dev installed, which I do. I also installed every generic ncurses dev lib in the apt repo, just to make sure. Alas, it generated the same error.
With all the above libraries installed, I tried the command with the tlib option:
./configure --prefix=/usr/ --with-features=huge --with-vim-name=qvim --enable-gui=qt --with-tlib=ncurses
Which generated this error:
checking --with-tlib argument... ncurses
checking for linking with ncurses library... configure: error: FAILED
I'm not sure what I'm doing wrong. Any help would be greatly appreciated. Thanks in advance!
try apt-get build-dep vim to install all build dependencies

starting with GTK+ on Ubuntu [closed]

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

How to rollback to R 2.12.1 version on Ubuntu? [closed]

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 11 years ago.
Improve this question
I was using R 2.12.1 on my desktop and recently the R got updated to the new version R 2.13.0 which is not I want. Is there anyway to use the R 2.12.1 again and how can I use that?
packages.ubuntu.com seems to have R 2.11.2 for maverick, so that is no help. You may try to see if the Michael's PPA site on launchpad has a rollback feature so that you can get that version there. (Edit: Doesn't seem so. Hmpf.)
Barring that, I would grab the Debian source for 2.12.2 (using the snapshot.debian.org site which has all previous Debian version of r-base and build replacement .deb binaries from that.
Or ... can't you upgrade BioC to a version that works with R 2.13.0? Didn't BioC just have a release too?
Lastly, by far the easiest is to
uncomment the entry for CRAN in /etc/apt/sources.list
update, and
install the most recent Ubuntu version, which is 2.11.2 as shown above.
Ubuntu's next release will get presumably 2.12.* too, so you could also try upgrading to Ubuntu 11.4 now (but note that it is not yet released).
If it was a recent update, it's likely still on your system:
/var/cache/apt/archives

Resources