Problem 434 - Problem in the compilation of G4UIWin32 under Win32-g++
Summary: Problem in the compilation of G4UIWin32 under Win32-g++
Status: CLOSED INVALID
Alias: None
Product: Geant4
Classification: Unclassified
Component: interfaces (show other problems)
Version: 4.0
Hardware: PC Other
: P2 critical
Assignee: yoshidah
URL:
Depends on:
Blocks:
 
Reported: 2002-12-05 09:40 CET by skahane
Modified: 2004-06-03 04:29 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description skahane 2002-12-05 09:40:30 CET
$Sylvian Kahane@ROADWARRIOR ~/geant4
$ source env.sh
On this machine the G4SYSTEM=WIN32-g++
On this machine the G4INSTALL=/home/sylvian/geant4
On this machine the G4INCLUDE=/home/sylvian/geant4/include
On this machine the G4LIB=/home/sylvian/geant4/lib
On this machine the
G4LEVELGAMMADATA=/home/sylvian/geant4/data/PhotonEvaporation

On this machine the G4RADIOACTIVEDATA=/home/sylvian/geant4/data/RadiativeDecay
On this machine the G4LEDATA=/home/sylvian/geant4/data/G4EMLOW1.1
On this machine the NeutronHPCrossSections=/home/sylvian/geant4/data/G4NDL3.5
On this machine the CLHEP_BASE_DIR=/home/sylvian/geant4/clhep
On this machine the CLHEP_INCLUDE_DIR=/home/sylvian/geant4/clhep/include
On this machine the CLHEP_LIB_DIR=/home/sylvian/geant4/clhep/lib
On this machine the CLHEP_LIB=CLHEP
On this machine the G4UI_BUILD_WIN32_SESSION=1
On this machine the G4UI_USE_WIN32=1
On this machine the G4VIS_BUILD_DAWN_DRIVER=1
On this machine the G4VIS_BUILD_VRML_DRIVER=1
On this machine the G4VIS_USE_DAWN=1
On this machine the G4VIS_USE_VRML=1
On this machine the OGLHOME=/usr
In your environment you have the G4WORKDIR=/home/sylvian




Sylvian Kahane@ROADWARRIOR ~/geant4/source/interfaces/basic
$ make
Making dependency for file src/G4VUIshell.cc ...
Making dependency for file src/G4UIterminal.cc ...
Making dependency for file src/G4UItcsh.cc ...
Making dependency for file src/G4UIcsh.cc ...
Making dependency for file src/G4UIXm.cc ...
Making dependency for file src/G4UIXaw.cc ...
Making dependency for file src/G4UIWin32.cc ...
In file included
from /home/sylvian/geant4/source/global/management/include/Phys
icalConstants.h:68,

from /home/sylvian/geant4/source/global/management/include/glob
als.hh:99,

from /home/sylvian/geant4/source/intercoms/include/G4UImanager.
hh:31,
                 from src/G4UIWin32.cc:41:
/home/sylvian/geant4/source/global/management/include/SystemOfUnits.h:210:
warni
ng: `pascal' redefined
/usr/include/w32api/windef.h:89: warning: this is the location of the previous
d
efinition
Making dependency for file src/G4UIArrayString.cc ...
Compiling G4UIArrayString.cc ...
Compiling G4UIWin32.cc ...
In file included
from /home/sylvian/geant4/source/global/management/include/Phys
icalConstants.h:68,

from /home/sylvian/geant4/source/global/management/include/glob
als.hh:99,

from /home/sylvian/geant4/source/intercoms/include/G4UImanager.
hh:31,
                 from src/G4UIWin32.cc:41:
/home/sylvian/geant4/source/global/management/include/SystemOfUnits.h:210:
warni
ng: `pascal' redefined
/usr/include/w32api/windef.h:89: warning: this is the location of the previous
d
efinition
In file included
from /home/sylvian/geant4/source/global/management/include/G4io
s.hh:37,

from /home/sylvian/geant4/source/global/management/include/glob
als.hh:47,

from /home/sylvian/geant4/source/intercoms/include/G4UImanager.
hh:31,
                 from src/G4UIWin32.cc:41:
/home/sylvian/geant4/source/global/management/include/G4Types.hh:38: warning:
ig
noring pragma:
src/G4UIWin32.cc: In method `TextBuffer::TextBuffer()':
src/G4UIWin32.cc:132: warning: member initializers for `int TextBuffer::linen'
src/G4UIWin32.cc:133: warning:   and `int TextBuffer::linei'
src/G4UIWin32.cc:53: warning:   will be re-ordered to match declaration order
src/G4UIWin32.cc: In method `void TextBuffer::Draw(HDC__ *, RECT *)':
src/G4UIWin32.cc:116: warning: unused variable `short int charWidth'
src/G4UIWin32.cc: In method `G4UIWin32::G4UIWin32(HINSTANCE__ *, HINSTANCE__ *,
CHAR *, int)':
include/G4UIWin32.hh:99: warning: member initializers for `int
G4UIWin32::textRo
ws'
include/G4UIWin32.hh:99: warning:   and `int G4UIWin32::textCols'
src/G4UIWin32.cc:169: warning:   will be re-ordered to match declaration order
src/G4UIWin32.cc: In method `G4UIWin32::~G4UIWin32()':
src/G4UIWin32.cc:240: warning: `void *' is not a pointer-to-object type
src/G4UIWin32.cc: In function `static LRESULT G4UIWin32::EditWindowProc(HWND__
*
, unsigned int, unsigned int, long int)':
src/G4UIWin32.cc:621: warning: comparison between signed and unsigned
src/G4UIWin32.cc:637: warning: comparison between signed and unsigned
src/G4UIWin32.cc:645: warning: comparison between signed and unsigned
src/G4UIWin32.cc: In method `void G4UIWin32::TextAppendString(char *)':
src/G4UIWin32.cc:673: warning: unused variable `struct PAINTSTRUCT ps'
/usr/include/g++-3/stl_vector.h: In method `void
vector<yystype,allocator<yystyp
e> >::insert(yystype *, unsigned int, const yystype &)':
/usr/include/g++-3/stl_vector.h:410:   instantiated from here
/usr/include/g++-3/stl_vector.h:674: `_MAX' undeclared (first use this
function)

/usr/include/g++-3/stl_vector.h:674: (Each undeclared identifier is reported
onl
y once
/usr/include/g++-3/stl_vector.h:674: for each function it appears in.)
make: *** [/home/sylvian/tmp/WIN32-g++/G4UIbasic/G4UIWin32.o] Error 1

Sylvian Kahane@ROADWARRIOR ~/geant4/source/interfaces/basic
Comment 1 Gabriele Cosmo 2003-06-24 11:39:59 CEST
UIWin32 applies only to WIN32-VC architecture (Visual-C++ compiler).