RE: [ROOT] need help on files *.so

From: Philippe Canal (pcanal@fnal.gov)
Date: Thu Sep 06 2001 - 23:32:30 MEST


Hi,

> 1. I made the dictionary with the command
> rootcint -f essai1Dict.cxx  -I(path)  essai1.h essai1LinkDef.h

Since your code is C++ you should actually have:

  rootcint -f essai1Dict.cxx -c -I(path)  essai1.h essai1LinkDef.h

> and in the file essai1Dict.cxx there is only the line:
> #include essai1.h

This is not normal and (hopefully) should be fixed by the above change.

> 2. Each time I press on one of the buttons, I get a warning saying that
the

This is a consequence of 1.  The dictionary has not been properly generated.

> 3. I have to let ROOT run to see the buttons but I would like to let the
> program run without running ROOT. Can buttons run on Standalone programs?

You can to some extend.  See the file $ROOTSYS/test/guitest.cxx and
$ROOTSYS/test/stress.cxx

Cheers,
Philippe Canal

-----Original Message-----
From: owner-roottalk@pcroot.cern.ch
[mailto:owner-roottalk@pcroot.cern.ch]On Behalf Of Primrose Mbanefo
Sent: Wednesday, September 05, 2001 11:03 AM
To: roottalk@pcroot.cern.ch
Subject: [ROOT] need help on files *.so


Hello everyone,
	Thanks for the help on the files LinkDef.h.
I've created my file essai1.so but I use it with a compiled program which
creates buttons and these buttons use some of the functions from the file
essai1.so.
My problems are

1. I made the dictionary with the command
rootcint -f essai1Dict.cxx  -I(path)  essai1.h essai1LinkDef.h
and in the file essai1Dict.cxx there is only the line:
#include essai1.h
is this normal?

2. Each time I press on one of the buttons, I get a warning saying that the
function doesn't exist.  I don't how to get about this. Is this problem
connected to the first question?

3. I have to let ROOT run to see the buttons but I would like to let the
program run without running ROOT. Can buttons run on Standalone programs?

Any help will be deeply appreciatede.
Primrose



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:59 MET