Problem 1168 - G4HepRep does not compile on 32-bit Ubuntu 10.10
Summary: G4HepRep does not compile on 32-bit Ubuntu 10.10
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/HepRep (show other problems)
Version: 9.2
Hardware: PC Linux
: P5 normal
Assignee: perl
URL:
Depends on:
Blocks:
 
Reported: 2011-02-03 20:15 CET by Christopher Tunnell
Modified: 2011-02-10 09:16 CET (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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.