Re: boost'ed
Darren Vincent Hart <[email protected]> 30 Jul 2003 23:23:48 -0600
| Newsgroups | gmane.comp.embedded.stk.gui.devel |
|---|---|
| Message-ID | <1059629028.23336.66.camel@sway> |
Mike, Sorry I didn't get back to you earlier. I will try and give you as much support as needed to get libstk working for you. You are the earliest adopter, so I am very interested in your experience, but please be patient as we get up the needed documentation, etc. I am planning to write a "Building Libstk" document, and will likely base it largely on your experience! Boost and Freetype are the only two dependencies Libstk has at the moment (except for libc). Boost is almost entirely header files (with the exception of the signals library) so that shouldn't be a concern. The boost signals library is EXTREMELY powerful and allows for some pretty incredible cooperation between objects. Freetype may or may not be the best choice, but I don't have any experience in writing a font renderer, and it seems to be fairly portable. So as you have discovered, the requirements for building libstk are: Freetype Boost (shared pointers, signals, bind) g++-3.2 (I am not sure if 3.2 is the lowest working version or not, but you do need post 3.0) I will add the boost check to the TODO list and try to get that fixed in the configure script soon. As for installing boost: copy the boost directory (with all the hpp files in it) to /usr/local/include/boost, then find the libboost-signals.so and libboost-signals.a files (deep in the build, use find if you need to), and copy them to /usr/local/lib. That should get you boost setup going (did you check with your distro to see if they already had it packaged? debian has 1.30 in SID ) Please let me know if I can be of any more help. And please keep me posted of your progress so I can make it easier for the next guy. Darren On Wed, 2003-07-30 at 17:43, Mike Melanson wrote: > Hi, > I have been thinking a lot about how to organize my app around > libstk. I have also been studying the library and included sample code. > When I tried to compile libstk on my x86 Linux machine, it threw a bunch > of errors about boost. > > Asking around, I learned what boost was. I don't have it on my > system. The libstk configure script should check for that and throw out an > error about it. > > I have downloaded boost from boost.org and am now trying to figure > out how to build it. From my reading, it is possible to compile only > necessary pieces. Is there any information about which specific boost > libraries are required in libstk? I am already wary of C++ generating > bloated code, and this additional boost requirement does not give me a > good feeling. > > I hope boost eventually plays nice with the Dreamcast build > environment. > > -- > -Mike Melanson > > > > _______________________________________________ > Libstk mailing list > [email protected] > http://www.dvhart.com/cgi-bin/mailman/listinfo/libstk