Problem 133 - UI OPACS not compiled
Summary: UI OPACS not compiled
Status: RESOLVED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: interfaces/OPACS (show other problems)
Version: 2.0
Hardware: PC OSF/1
: P2 major
Assignee: barrand
URL:
Depends on:
Blocks:
 
Reported: 2000-07-17 08:27 CEST by Isidro.Gonzalez
Modified: 2000-08-11 05:19 CEST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description Isidro.Gonzalez 2000-07-17 08:27:24 CEST
While compiling the code in interfaces/OPACS I get the following errors:

cxx: Error: src/G4UIWo.cc, line 89: argument of type "void (*)(char *)" is
          incompatible with parameter of type "OInterpreterDoFunction"
  OInterpreterCreate  ("G4",ExecuteScript,NULL,NULL,NULL);
----------------------------^
cxx: Error: src/G4UIWo.cc, line 98: argument of type
          "Widget (*)(Widget, String, ArgList, Cardinal)" is incompatible with
          parameter of type "OClassCreateWidgetFunction"
  OClassDeclareCompoundWidget ("G4/G4XoView" ,CreateG4XoView
,xoCameraWidgetClass);
----------------------------------------------^
cxx: Error: src/G4UIWo.cc, line 101: argument of type
          "Widget (*)(Widget, String, ArgList, Cardinal)" is incompatible with
          parameter of type "OClassCreateWidgetFunction"
  OClassDeclareCompoundWidget
("G4/G4OIXView",CreateG4OIXView,xmMainWindowWidgetClass);
----------------------------------------------^
cxx: Info: 3 errors detected in the compilation of "src/G4UIWo.cc".

and obviously the library is not made.
Comment 1 barrand 2000-08-11 05:19:59 CEST
Some cast was needed with strict_ansi option.