Problem 1168

Summary: G4HepRep does not compile on 32-bit Ubuntu 10.10
Product: Geant4 Reporter: Christopher Tunnell <c.tunnell1>
Component: visualization/HepRepAssignee: perl
Status: RESOLVED FIXED    
Severity: normal    
Priority: P5    
Version: 9.2   
Hardware: PC   
OS: Linux   

Description Christopher Tunnell 2011-02-03 20:15:54 CET
Compiling DefaultHepRepTypeTree.cc ...
Compiling DeflateOutputStreamBuffer.cc ...
In file included from src/DeflateOutputStreamBuffer.cc:3:
include/cheprep/DeflateOutputStreamBuffer.h:32: error: ‘EOF’ was not declared in this scope
make[2]: *** [/home/mice/hudson/workspace/MAUS_ubuntu1010_32_nightly_clean/third_party/build/geant4.9.2.p01/tmp/Linux-g++/G4visHepRep/DeflateOutputStreamBuffer.o] Error 1
Making dependency for file src/G4TheRayTracer.cc ...
Making dependency for file src/G4RTXScanner.cc ...
Comment 1 Christopher Tunnell 2011-02-04 13:28:25 CET
Solution is to add: #include <cstdio> at the top.
Comment 2 Gabriele Cosmo 2011-02-10 09:16:12 CET
You're using an old version of Geant4.
The problem was already fixed since 9.2.p02.