From: Bob M. <rm...@oi...> - 2001-02-18 16:07:28
|
Sounds to me like you're using a C compiler rather than a C++ compiler. There is lots of experience with zoolib and *nix systems; our shop has worked with it on Solaris and RedHat linux. vector and map are fundamental types in the C++ language; I think you'll find them in most books on C++. A good explanation is in the C++ Primer by Lippman and Lajoie, published by Addison Wesley. Good luck, Bob Mike McGavin wrote: > > Hello, zoolib elite. > > I heard of zoolib a while ago when it was mentioned on the abiword > development list, and I've just now begun to look at zoolib 0.8.1. It > sounds great. > > I was wondering if anyone has any experience compiling it in linux, > or any unix-type system for that matter. I'm running a debian > distribution with various packages ranging between the 2.0 and the > 2.4 releases. > > I don't have enough experience developing in a unix environment to > know what libraries I might need for some of this, but if anyone can > give me a list of any dependencies that zoolib relies on for me to > hunt down, I'd appreciate it. > > I followed the posix compilation instructions for compiling the > HelloWorld sample program from the command line, but got some > errors regarding missing files that are included from some of the > zoolib files. I've cut down the compiler output since most of it isn't > relevant, but summarised, it's complaining about the following: > > ===== > > ../../zoolib/foundation/ZTypes.h:30: cstdio: No such file or directory > > ../../zoolib/graphics/ZDCFont.h:39: string: No such file or directory > > ../../zoolib/foundation/ZCompat_algorithm.h:32: algorithm: No such > file or directory > > ../../zoolib/threads/ZThread.h:29: stdexcept: No such file or > directory > > ../../zoolib/threads/ZThread.h:30: vector: No such file or directory > > ../../zoolib/graphics/ZDCPoly.h:31: vector: No such file or directory > > ../../zoolib/graphics/ZDCRgn.h:31: vector: No such file or directory > > ../../zoolib/foundation/ZTuple.h:33: string: No such file or directory > > ../../zoolib/uicore/ZMenu.h:36: vector: No such file or directory > > ../../zoolib/foundation/ZInterest.h:31: vector: No such file or directory > > ../../zoolib/foundation/ZString.h:29: string: No such file or directory > > ../../zoolib/uicore/ZUIFactory.h:30: map: No such file or directory > > I noticed that every one of the included files that it can't find is > missing a ".h" extention. I managed to work around a couple by > changing "csdio" to "stdio.h" and "string" to "string.h". Some of > the others aren't as obvious, though. I'm not aware of any standard > vector or map headers. > > I'd appreciate any help or feedback about this. Is it a known > problem on 'nix systems, or am I missing something standard? If > anyone would like further information, let me know and I'll dig it up. > > Thanks for any help. > Mike. > > Public key (PGP) available at > http://pgpkeys.mit.edu:11371/pks/lookup?op=get&search=0xB708EA39 > --Please check with me before giving my email address to any commercial entities > > _______________________________________________ > ZooLib-dev mailing list > Zoo...@li... > http://lists.sourceforge.net/lists/listinfo/zoolib-dev Email: RM...@oi... |