Professional Documents
Culture Documents
2 after 127
error in building in C++
By Emil Toma, 2015
leave a comment
From n00b to n00b..
Well, Code::Blocks, I heard, is one of the most consistent IDE across many platforms. Yet to be easy to
get it working. In W7 it took a while to get the paths right for C++. In OpenSuSE it took hours of
browsing, tons of guessing and installing stuff Ive never heard about, I wont get into details now. But
whatever I threw in it, it was refusing to build my Hello, yielding a complicated build error from
which I remember just the code: 127. Then I came across to this, apparently having no connection to
my issue. Just dont rush to do the same, think twice. I dont know yet what it is, to me it seemed to be
just the compiling tools I may have missed. And being extremely eager to make it work, I took a risk.
http://opencpn.org/ocpn/compiling_source_linux
and I just copycat, adding su at the beginning as zypper may not install without admin credentials.
And it worked. So far. Any ideas of making my journey simpler would be heartedly welcome.
The command line (dont forget to get root)
$ zypper install git cmake gcc-c++ libstdc++-devel gtk2-devel
wxWidgets-wxcontainer-devel gettext-runtime gettext-tools libbz2devel gpsd-devel portaudio-devel tinyxml-devel rpm-build
Below is my consoles output.
My experience:
emil@linux:~> su
Password:
linux:/home/emil # zypper install git cmake gcc-c++ libstdc++-devel gtk2-devel wxWidgetswxcontainer-devel gettext-runtime gettext-tools libbz2-devel gpsd-devel portaudio-devel tinyxml-devel
rpm-build
Retrieving repository openSUSE BuildService KDE:Extra metadata [done]
Building repository openSUSE BuildService KDE:Extra cache ..[done]
Retrieving repository openSUSE BuildService Virtualization (VirtualBox[done]
Building repository openSUSE BuildService Virtualization (VirtualBox)'[done]
Retrieving repository openSUSE BuildService Wine CVS Builds metadata [done]
Building repository openSUSE BuildService Wine CVS Builds cache ..[done]
Retrieving repository openSUSE BuildService filesystems metadata .[done]
Building repository openSUSE BuildService filesystems cache [done]
Retrieving repository openSUSE BuildService devel:languages:perl meta[done]