On Thu, 2003-11-06 at 05:59, David Farning wrote: > On Thu, 2003-11-06 at 05:32, Christian Robottom Reis wrote: > > Well, one of us is confused; the issue is finding out which one <wink> > > > Well the confused one would be me. <nudge> > > On Thu, Nov 06, 2003 at 04:16:47AM -0600, David Farning wrote: > > > I have been moving all of my *.h's *.cc's to my build directory in order > > > to meet dependencies. But, now I'm wondering what to do about system > > > dependencies > > > > > > #include <vector> > > > #include <list> > > > #include <map> > > > #include <set> > > > > Do you mean the C++ headers? In that case, you need the .h, I'd assume? > > > Yes, I am working with c++ source. > > On my debian woody system I have a header for each of your entries above > > in /usr/include/g++-3/ > > They are on my system also > > > > cc `pkg-config --cflags gtk+-2.0 pygtk-2.0` -I/usr/include/python2.2/ > > > -I. -c -o pkglist.o pkglist.c > > > In file included from gtkpkglist.h:24, > > > from pkglist.override:7: > > > rpackagelister.h:31:18: vector: No such file or directory > > > rpackagelister.h:32:16: list: No such file or directory > > > rpackagelister.h:33:15: map: No such file or directory > > > rpackagelister.h:34:15: set: No such file or directory > > > > And you'll need to use g++ too, since cc won't allow you to compile C++ > > by default (there's some path- and define-setup that calling the > > compiler as g++ does). > > I thought of that, but didn't see a entry in makefile to change the compiler. > As you can tell, this pretty much the first time I have attempted to > work with c or c++. I was hoping just to down a quick and easy wrap of > and existing customTreeStore for use in my python app. > > I guess I have to read a few how-tos about compiling c/c++. > For other newbies-- Simply add CC = g++ to the top of the makefile given in the tutorials lets you up widgets in c++. My widget seems to work fine.
> BTW- am I better off trying to wrap this treeStore of just go ahead and > port it. It is going to hold several thousand rows so i am concerned > about speed. But I don't want to get concerned about optimization to > early. > > thanks > Dave Farning > > > > > Take care, > > -- > > Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 261 2331 > > _______________________________________________ > pygtk mailing list [EMAIL PROTECTED] > http://www.daa.com.au/mailman/listinfo/pygtk > Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/ _______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
