RE: NN compilation problem

From: Anton Fokin (fokin@tsl.uu.se)
Date: Thu Feb 17 2000 - 16:50:54 MET


Hi Inkyu,

1. I compiled under root 2.23/11. Some bugs were fixed in /11 and it will
affect classes and program at the run time if you use /08. I am not so sure
if it may give errors at the compilation stage but anyway why don't you
install 2.23/11 ?:) What are your errors btw?

2. What do you mean "It seems like you don't use streamer" ?:) All NN
classes except one or two use custom streamers, so if you get a message like

Generating dictionary TPerceptronDict...
Note: operator new() masked 1c
Note: operator delete() masked 1c
Class TPerceptron: Do not generate Streamer() [*** custom streamer ***]

it is all right.

3. I have tryed to make the code "warning free" but as I see it gives
warnings with -Wall, although not a bunch but only one (in all classes
though:))

CC
TPerceptron.cxx -compat=4 -KPIC -I/usr/openwin/include -I/l/cern/root/includ
e -D__SunOS_5_6 -D_REENTRANT -O4 -Wall -c
"TNeuralWeight.h", line 51: Warning: TNeuralWeight::Draw hides the virtual
function TObject::Draw(const char*).
"TNeuron.h", line 59: Warning: TNeuron::Draw hides the virtual function
TObject::Draw(const char*).
"TNeuralLayer.h", line 35: Warning: TNeuralLayer::Draw hides the virtual
function TObject::Draw(const char*).
"TPerceptron.h", line 103: Warning: TPerceptron::Draw hides the virtual
function TObject::Draw(const char*).
4 Warning(s) detected.

Ok, thanks for reporting, I will put const char* argument to Draw() in the
next release.

By the way, I am adding some new functionalities, such as
TNeuralNetwork::Optimize() which is meant to perform parameter optimization.
I will also put my development and what's new notes on the site, so you are
welcome to check if from time to time.

And finally ... Is there anyone who got my nice ocr.cxx program working ?:))

Best regards,
Anton






-----Original Message-----
From: Inkyu PARK [mailto:icpark@phoebus.chm.bnl.gov]
Sent: Thursday, February 17, 2000 4:30 PM
To: Anton Fokin
Cc: roottalk@pcroot.cern.ch
Subject: NN compilation problem


Hi Anton,

I am trying to compile your package on Linux. I almost finish to make
Makefile.Linux (an intelligent version!) now, but I got several error
messages when I compiled. What is your ROOT version? I'm using 2.23/08.

Here are some comments:

1) It seems like you don't use streamer.

2) When I compile T*.cxx with -Wall option (means turn-on all warning
message), I got bunch of warnings. In your original makefile, you use -w
(default level of warning)

Cheers,
Inkyu



This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:19 MET