[Fresco-devel] Fresco CVS build problems

Iain Nicholson <[email protected]> Wed, 26 Mar 2003 00:28:36 +0000 (GMT)
Newsgroups gmane.comp.video.fresco.devel
Message-ID <[email protected]>
Hello,

I've been trying to compile Fresco from CVS on my Linux (Slackware-based)
box and have come across a few small problems which appears to be misnamed
header files in some #include statements. These were in the following
files:

Fresco/Prague/include/Prague/Sys/logbuf.hh
Fresco/Prague/include/Prague/IPC/ipcbuf.hh
Fresco/Prague/include/Prague/IPC/mmapbuf.hh
Fresco/Babylon/include/Babylon/Char.hh
Fresco/Berlin/src/PNG.cc
Fresco/Berlin/src/GraphDebugger.cc

In all of these files except GraphDebugger.cc, I had to change #include
<streambuf> to #include <streambuf.h> and in GraphDebugger.cc I had to
change #include <limits> to #include <limits.h>

Was this the correct thing to do, or is there a different convention for
header files in C++ compared to C?

Subsequent compilation fails with the following error:

compiling GraphDebugger.o
../../../Fresco/Berlin/src/GraphDebugger.cc: In method `struct
Berlin::GraphDebugger::graphic_info &
Berlin::GraphDebugger::find_or_insert(Fresco::_objref_Graphic *)':
../../../Fresco/Berlin/src/GraphDebugger.cc:171: `::numeric_limits'
undeclared (first use here)
../../../Fresco/Berlin/src/GraphDebugger.cc:171: parse error before `int'
make[2]: *** [GraphDebugger.o] Error 1
make[2]: Leaving directory
`/builds/iain/fresco-stuff/fresco-cvs/build/Berlin/src'
make[1]: *** [src] Error 2
make[1]: Leaving directory
`/builds/iain/fresco-stuff/fresco-cvs/build/Berlin'
make: *** [Berlin] Error 2

I hope this helps.

Please keep up the good work. Fresco is a very exciting project.
Iain