Share

Engauge Digitizer

Tracker: Bugs

5 Installation problem - ID: 1059082
Last Update: Comment added ( tsrsf )


Installation

Hardware: SPARC
OS: Solaris 7

Compilation is with Forte 6.0 CC version 5.1
All patches are installed. Qt compiles fine.

When compiling digit.doc got message that NeuronDict
is not accessible. But it is defined.

SynapseDict is defined the same way in the same
file and there is no problems.

CC -c -O2 -mt -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-I/util/QtX11/mkspecs/default -I. -I/util/QtX11/include
-o digitdoc.o digitdoc.cpp
"gridremoval.h", line 174: Error:
GridRemoval::NeuronDict is not accessible from
GridRemoval::Neuron.
"gridremoval.h", line 179: Error:
GridRemoval::NeuronDict is not accessible from
GridRemoval::Neuron.
"gridremoval.h", line 189: Error:
GridRemoval::NeuronDict is not accessible from
GridRemoval::Neuron.
"digitdoc.cpp", line 603: Error: Cannot cast from
DigitDoc::enum to const int&.
"digitdoc.cpp", line 684: Error: Cannot cast from
DigitDoc::enum to const int&.
5 Error(s) detected.
make: *** [digitdoc.o] Error 5
sunray:/opt/util/digitizer/digitizer#
sunray:/opt/util/digitizer/digitizer#
sunray:/opt/util/digitizer/digitizer#


You can reach me at:
beaumont@sundance.pharm.upstate.edu
315-464-7980


Nobody/Anonymous ( nobody ) - 2004-11-02 21:22

5

Closed

Out of Date

Nobody/Anonymous

None

None

Public


Comments ( 3 )




Date: 2009-04-27 20:06
Sender: tsrsfProject Admin

This is most likely no longer a problem with an up to date operating
system, compiler and engauge release. Please comment otherwise.


Date: 2004-11-12 07:48
Sender: markmitchProject AdminAccepting Donations

Logged In: YES
user_id=654662

Just noticed that SynapseDict compiles even though it is set up in
almost the same way. The difference is that SynapseDict is in the
public section, so my first guess is probably correct. Moving the
NeuronDict typedef to the public section will fix that problem.




Date: 2004-11-12 07:31
Sender: markmitchProject AdminAccepting Donations

Logged In: YES
user_id=654662

The first problem is that the typedef NeuronDict is not available to
the Neuron class. My guess is that although both the NeuronDict
and Neuron are helper classes for the same GridRemoval class,
that the NeuronDict typedef must be moved up to the public
section. Otherwise, there is a small chance that just replacing
'NeuronDict' by 'GridRemoval::NeuronDict' inside Neuron, will fix the
problem. Otherwise, maybe using 'friend' will fix it.

Forte seems to be quite inflexible with its casting. A few minutes
of research came up with the idea of turning off the
SCM_DEBUG_TYPING_STRICTNESS flag, to remove the DigitDoc
errors. If the line you are having problems with is 'str<<(const
Q_INT32&)MagicNumber;', then you might try removing the 'const'
and '&'.

I have compiled Engauge on a Solaris box with g++, which is one
of the Sourceforge compile farm servers. However, I cannot test
it since X tunneling is turned off.

If I had a Forte compiler I could give you a better response.

Good luck
-Mark Mitchell


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2009-04-27 20:06 tsrsf
resolution_id None 2009-04-27 20:06 tsrsf
close_date - 2009-04-27 20:06 tsrsf