User Class

Hi ROOTERs

I tried to use the template avaible from root.cern.ch/root/CintGenerator.html
to add my own class to ROOT dictionnary

I copy-pasted the code for Event.h-.C and Track.h-.C and the makefile, and I obtain this error

[171] make
g++ -g +a1 +Z -I/i/root//include -c -o Event.o Event.C
g++: cannot specify -o with -c or -S and multiple compilations
make: *** [Event.o] Error 1

is there a configuration problem ?

Regards

Vincent

It looks like you made a mistake in your cut/paste operation.
The ROOT Makefile in $ROOTSYS/test works correctly.

When sending mails to this Forum, please send concrete information that we can test directly.

Rene