RE: [ROOT] ACLiC Problem

From: Philippe Canal (pcanal@fnal.gov)
Date: Tue Feb 04 2003 - 19:08:15 MET


Hi,

The type Int_t is not defined in your script.  You need to include TObject.h
(for example) to insures its definition.

Cheers,
Philippe

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of kmakonyi@nist.gov
Sent: Tuesday, February 04, 2003 11:36 AM
To: 'roottalk@root.cern.ch'
Subject: [ROOT] ACLiC Problem




Hi Rooters,

I tried to use the ACLic.


#include<vector>

namespace std {} using namespace std;

class analysis{

private:
  void _SORT(vector<Int_t>& Maxx);
public:

};


The answer is:
Info in <TUnixSystem::ACLiC>: creating shared library /macros/./proba_C.so
Error: class,struct,union or type T not defined
file://cint/lib/prec_stl/vector
LINE:103
Error: class,struct,union or type T not defined
file://cint/lib/prec_stl/vector
LINE:104
Error: class,struct,union or type vector not defined
file://cint/lib/prec_stl/vector LINE:152
Error: class,struct,union or type vector not defined
file://cint/lib/prec_stl/vector LINE:153
Error: class,struct,union or type vector not defined
file://cint/lib/prec_stl/vector LINE:154
Error: class,struct,union or type vector not defined
file://cint/lib/prec_stl/vector LINE:155
Error: Function T() is not defined in current scope
file://cint/lib/prec_stl/vector LINE:191
Possible candidates are...
filename       line:size busy function type and name
Error: Function T() is not defined in current scope
file://cint/lib/prec_stl/vector LINE:191
Possible candidates are...
filename       line:size busy function type and name
Error: Symbol vector is not defined in current scope
file://cint/lib/prec_stl/vector LINE:195
Error: Symbol constvector is not defined in current scope
file://cint/lib/prec_stl/vector LINE:195
Error: Symbol x is not defined in current scope
file://cint/lib/prec_stl/vector
LINE:195
Warning: Error occured during reading source files
Warning: Error occured during dictionary source generation
!!!Removing /macros/./fileAaeQ8f.cxx /macros/./fileAaeQ8f.h !!!
Error: rootcint: error loading headers...
Error in <ACLiC>: Dictionary generation failed!


The root is a brand new 3.5.01, the system is Linux Debian, gcc-2.95

Any idea?
Thanks,
karoly



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:09 MET