I was on my path of working through the gtkmm tutorial and frankly I got a little bored,
I started to take a look at glade3 which looks like it should take some of the tedium out of all this..
Anyway… A while back, I found a tarball of a simple application to get a occ makebottle to display. Off course it didn’t fire up on the get go… I don’t even know how good the source is. I had some issues with it probably premature went off for help. I was looking the simplest application possible to run makebottle.cpp in linux.
I’m not sure my skill sets are yet a level to take on what’s going on here, but I guess I don’t try I won’t get any better.
So, I keep fixing[?] Makefiles.am’s and the Configure.ac this is basically where I got stuck:
make: Entering directory `/home/jonas/gtkmmocascade’
Making all in src
make: Entering directory `/home/jonas/gtkmmocascade/src’
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/opencascade/ -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/atkmm-1.6 -I/usr/include/gtk-2.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/gtk-2.0/include -I/usr/include/cairomm-1.0 -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/atk-1.0 -I/usr/include/gtkglextmm-1.2 -I/usr/lib/gtkglextmm-1.2/include -I/usr/include/gtkglext-1.0 -I/usr/include/gtkmm-2.4 -I/usr/lib/gtkmm-2.4/include -I/usr/lib/gtkglext-1.0/include -I/usr/include/gdkmm-2.4 -I/usr/lib/gdkmm-2.4/include -I/usr/include/pangomm-1.4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/glibmm-2.4 -I/usr/lib/glibmm-2.4/include -I/usr/include/cairomm-1.0 -I/usr/include/sigc++-2.0 -I/usr/lib/sigc++-2.0/include -I/usr/include/atk-1.0 -I/usr/include/atkmm-1.6 -DHAVE_IOSTREAM_H -DHAVE_LIMITS_H -DHAVE_IOSTREAM_H -g -O2 -MT gtkmmocascade-main.o -MD -MP -MF “.deps/gtkmmocascade-main.Tpo” -c -o gtkmmocascade-main.o `test -f ‘main.cpp’ || echo ‘./’`main.cpp; \
then mv -f “.deps/gtkmmocascade-main.Tpo” “.deps/gtkmmocascade-main.Po”; else rm -f “.deps/gtkmmocascade-main.Tpo”; exit 1; fi
In file included from /usr/include/c++/4.2/backward/iostream.h:31,
/usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 126.96.36.199 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated.
In file included from /usr/include/opencascade/Standard_OutOfRange.hxx:33,
/usr/include/opencascade/Standard_SStream.hxx:21:25: error: strstream.h: No such file or directory
Ok… Lets see if I can follow whats going on..
Line 2 in main.cpp (#include
Some kind of deprecated kind of stuff… I wonder if can just comment the line out in gtkmmocascade.h for now.
Sort answer is no… It seems like things get much worse…
Something here but not pay dirt: http://www.opencascade.org/org/forum/thread_5670/
I think I may have done this to myself. This link is interesting…http://www.opencascade.org/org/forum/thread_6926/
I think I said -DHAVE_IOSTREAM_H when I should have said HAVE_IOSTREAM