DICOM @ OFFIS

Discussion Forum for OFFIS DICOM Tools - For registration, send email with desired user name to the OFFIS DICOM team
It is currently Mon, 2017-12-18, 17:37

All times are UTC + 1 hour




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Wed, 2013-08-14, 12:05 
Offline

Joined: Tue, 2013-07-23, 12:15
Posts: 8
Location: Chennai, India
Hi,

I am using DICOM Application 3.5.1
I have followed the instruction given in dsum351.pdf.

After successful compilation of dcmtk and jInterface, jInterface.dll
created successfully in DICOMscope folder.

After that i have compiled DICOMScope.java using jdk1.3.1_28 using this command

javac –d ..\DICOMscope DICOMscope.java in cmd prompt

after executing above line i am getting error.
I am getting the error as below
*********************************************************************
^
dicomscope.java:41: cannot resolve symbol
symbol : class MainContext
location: package main
import main.MainContext;
^
dicomscope.java:42: package viewer.main does not exist
import viewer.main.*;
^
dicomscope.java:43: package viewer.presentation does not exist
import viewer.presentation.*;
^
dicomscope.java:44: package jToolkit.gui does not exist
import jToolkit.gui.*;
^
dicomscope.java:45: package jToolkit.io does not exist
import jToolkit.io.*;
^
dicomscope.java:46: package about does not exist
import about.*;
^
dicomscope.java:47: package main does not exist
import main.*;
^
dicomscope.java:48: package viewer.gui does not exist
import viewer.gui.*;
^
dicomscope.java:50: package dicomPrint does not exist
import dicomPrint.*;
^
dicomscope.java:51: package processCommunication does not exist
import processCommunication.*;
^
dicomscope.java:59: cannot resolve symbol
symbol : class MainListener
location: class DICOMscope
public class DICOMscope extends JFrame implements MainListener
^
dicomscope.java:66: cannot resolve symbol
symbol : class jDVInterface
location: class DICOMscope
private jDVInterface dvi = null;
^
dicomscope.java:71: cannot resolve symbol
symbol : class PrintPanel
location: class DICOMscope
private PrintPanel printPanel;
^
dicomscope.java:281: cannot resolve symbol
symbol : class DSEvent
location: class DICOMscope
public boolean processEvent (DSEvent e)
^
dicomscope.java:92: cannot resolve symbol
symbol : class MainContext
location: class DICOMscope
MainContext mc = MainContext.instance(); // create context
^
dicomscope.java:92: cannot resolve symbol
symbol : variable MainContext
location: class DICOMscope
MainContext mc = MainContext.instance(); // create context
^
dicomscope.java:103: cannot resolve symbol
symbol : variable Controller
location: class DICOMscope
Controller.instance().addMainListener(this);
^
dicomscope.java:104: cannot resolve symbol
symbol : class jDVInterface
location: class DICOMscope
dvi = new jDVInterface ("DICOMscope.cfg"); // change with configfile
^
dicomscope.java:108: cannot resolve symbol
symbol : variable MainContext
location: class DICOMscope
MainContext.instance().initConfiguration(dvi); // create context
^
dicomscope.java:110: cannot resolve symbol
symbol : variable MainContext
location: class DICOMscope
Hashtable config = MainContext.instance().getConfiguration();
^
dicomscope.java:128: cannot resolve symbol
symbol : class DicomScopeToolBar
location: class DICOMscope
DicomScopeToolBar toolbar;
^
dicomscope.java:130: cannot resolve symbol
symbol : variable jDVPSPeerType
location: class DICOMscope
if (dvi.getNumberOfTargets(jDVPSPeerType.DVPSE_printAny)>0 ) print = tr
ue;
^
dicomscope.java:131: cannot resolve symbol
symbol : class DicomScopeToolBar
location: class DICOMscope
toolbar = new DicomScopeToolBar(config, print);
^
dicomscope.java:136: cannot resolve symbol
symbol : class StatusLine
location: class DICOMscope
StatusLine sl = new StatusLine(DSComponentType.BROWSER,dvi,signWarning);

^
dicomscope.java:136: cannot resolve symbol
symbol : class StatusLine
location: class DICOMscope
StatusLine sl = new StatusLine(DSComponentType.BROWSER,dvi,signWarning);

^
dicomscope.java:136: cannot resolve symbol
symbol : variable DSComponentType
location: class DICOMscope
StatusLine sl = new StatusLine(DSComponentType.BROWSER,dvi,signWarning);

^
dicomscope.java:140: cannot resolve symbol
symbol : class StudyMan
location: class DICOMscope
StudyMan studyMan = new StudyMan (dvi, this,config);
^
dicomscope.java:140: cannot resolve symbol
symbol : class StudyMan
location: class DICOMscope
StudyMan studyMan = new StudyMan (dvi, this,config);
^
dicomscope.java:141: cannot resolve symbol
symbol : class MainImageViewerPanel
location: class DICOMscope
MainImageViewerPanel mImage = new MainImageViewerPanel(new PresentationS
tateGraphicsHandler(dvi),config,this);
^
dicomscope.java:141: cannot resolve symbol
symbol : class MainImageViewerPanel
location: class DICOMscope
MainImageViewerPanel mImage = new MainImageViewerPanel(new PresentationS
tateGraphicsHandler(dvi),config,this);
^
dicomscope.java:141: cannot resolve symbol
symbol : class PresentationStateGraphicsHandler
location: class DICOMscope
MainImageViewerPanel mImage = new MainImageViewerPanel(new PresentationS
tateGraphicsHandler(dvi),config,this);
^
dicomscope.java:142: cannot resolve symbol
symbol : class AboutBox
location: class DICOMscope
AboutBox about = new AboutBox (config);
^
dicomscope.java:142: cannot resolve symbol
symbol : class AboutBox
location: class DICOMscope
AboutBox about = new AboutBox (config);
^
dicomscope.java:143: cannot resolve symbol
symbol : variable DSComponentType
location: class DICOMscope
tabpane.add (DSComponentType.BROWSER, studyMan);
^
dicomscope.java:144: cannot resolve symbol
symbol : variable DSComponentType
location: class DICOMscope
tabpane.add (DSComponentType.VIEWER, mImage);
^
dicomscope.java:149: cannot resolve symbol
symbol : class PrintPanel
location: class DICOMscope
printPanel = new PrintPanel(dvi,config);
^
dicomscope.java:150: cannot resolve symbol
symbol : variable DSComponentType
location: class DICOMscope
tabpane.add (DSComponentType.PRINT,printPanel );
^
dicomscope.java:152: cannot resolve symbol
symbol : variable DSComponentType
location: class DICOMscope
tabpane.add (DSComponentType.PROCESS,new ProcessComponent(this, MainCont
ext.instance().logFont));
^
dicomscope.java:152: cannot resolve symbol
symbol : class ProcessComponent
location: class DICOMscope
tabpane.add (DSComponentType.PROCESS,new ProcessComponent(this, MainCont
ext.instance().logFont));
^
dicomscope.java:152: cannot resolve symbol
symbol : variable MainContext
location: class DICOMscope
tabpane.add (DSComponentType.PROCESS,new ProcessComponent(this, MainCont
ext.instance().logFont));
^
dicomscope.java:154: cannot resolve symbol
symbol : variable DSComponentType
location: class DICOMscope
tabpane.add (DSComponentType.ABOUT,about);
^
dicomscope.java:161: cannot resolve symbol
symbol : class StatusLineEvent
location: class DICOMscope
Controller.instance().fireStatus(new StatusLineEvent(this,StatusLineEven
t.SET_DES,DSComponentType.BROWSER,"Ready"));
^
dicomscope.java:161: cannot resolve symbol
symbol : variable StatusLineEvent
location: class DICOMscope
Controller.instance().fireStatus(new StatusLineEvent(this,StatusLineEven
t.SET_DES,DSComponentType.BROWSER,"Ready"));
^
dicomscope.java:161: cannot resolve symbol
symbol : variable DSComponentType
location: class DICOMscope
Controller.instance().fireStatus(new StatusLineEvent(this,StatusLineEven
t.SET_DES,DSComponentType.BROWSER,"Ready"));

^
dicomscope.java:161: cannot resolve symbol
symbol : variable Controller
location: class DICOMscope
Controller.instance().fireStatus(new StatusLineEvent(this,StatusLineEven
t.SET_DES,DSComponentType.BROWSER,"Ready"));
^
dicomscope.java:162: cannot resolve symbol
symbol : class TabbedChangeEvent
location: class DICOMscope
Controller.instance().fireEvent(new TabbedChangeEvent(DICOMscope.this,DS
ComponentType.BROWSER));
^
dicomscope.java:162: cannot resolve symbol
symbol : variable DSComponentType
location: class DICOMscope
Controller.instance().fireEvent(new TabbedChangeEvent(DICOMscope.this,DS
ComponentType.BROWSER));
^
dicomscope.java:162: cannot resolve symbol
symbol : variable Controller
location: class DICOMscope
Controller.instance().fireEvent(new TabbedChangeEvent(DICOMscope.this,DS
ComponentType.BROWSER));
^
dicomscope.java:164: cannot resolve symbol
symbol : class ProcessCommunicationService
location: class DICOMscope
ProcessCommunicationService pcs= new ProcessCommunicationService(dvi.get
MessagePort(), true);
^
dicomscope.java:164: cannot resolve symbol
symbol : class ProcessCommunicationService
location: class DICOMscope
ProcessCommunicationService pcs= new ProcessCommunicationService(dvi.get
MessagePort(), true);
^
dicomscope.java:170: cannot resolve symbol
symbol : class NullPrintStream
location: class DICOMscope
System.setOut(new NullPrintStream());
^
dicomscope.java:216: cannot resolve symbol
symbol : class TabbedChangeEvent
location: class DICOMscope.ChangeToComponentListener
Controller.instance().fireEvent(new TabbedChangeEvent(DICOMscope.thi
s,s));
^
dicomscope.java:216: cannot resolve symbol
symbol : variable Controller
location: class DICOMscope.ChangeToComponentListener
Controller.instance().fireEvent(new TabbedChangeEvent(DICOMscope.thi
s,s));
^
dicomscope.java:228: cannot resolve symbol
symbol : class MainContext
location: class DICOMscope.CmpAdapter
MainContext mc = MainContext.instance(); // create context
^
dicomscope.java:228: cannot resolve symbol
symbol : variable MainContext
location: class DICOMscope.CmpAdapter
MainContext mc = MainContext.instance(); // create context
^
dicomscope.java:281: processEvent(<any>) in DICOMscope cannot override processEv
ent(java.awt.AWTEvent) in java.awt.Window; attempting to use incompatible return
type
found : boolean
required: void
public boolean processEvent (DSEvent e)
^
dicomscope.java:283: cannot resolve symbol
symbol : class ChangeOptionsEvent
location: class DICOMscope
if (e instanceof ChangeOptionsEvent)
^
dicomscope.java:286: cannot resolve symbol
symbol : class ChangeOptionsEvent
location: class DICOMscope
setConfiguration(((ChangeOptionsEvent)e).getConfig(), false);
^
60 errors

E:\Dicomscope\dsgui351\tkgui>javac -d ..\dicomscope dicomscope.java

*********************************************************************
The DICOMScope.java file looking for the class files in
\dsgui351\tkgui...

The folders which is in tkgui directory has only .java file. But JVM
looking for .class file. So i am not able to compile DICOMscope.java.

My Question is.
How to compile .java files which is located in \dsgui351\tkgui directory.?

My System Details are:

Operating System: WIndows XP.
GUI: VC++ 6.0
JAVA: jdk1.3.1_28

I have already set the environment variable to compile java files as
per your instruction.

Kindly provide solution for this problem. It will be great help for me.

Thanks,

Regards,
GUNA.

_________________
Thanks and Regards
Guna


Top
 Profile  
 
PostPosted: Thu, 2013-08-15, 17:02 
Offline

Joined: Tue, 2007-12-18, 14:25
Posts: 18
Is there any reason why you use these very old java version ?
Try:
javac -d ..\DICOMscope dicomscope\DICOMscope.java
in the tkgui directory.


Top
 Profile  
 
PostPosted: Thu, 2013-08-15, 17:26 
Offline

Joined: Tue, 2013-07-23, 12:15
Posts: 8
Location: Chennai, India
Hi

Thanks for your reply. I will try and get back to you.


Regards
Guna

_________________
Thanks and Regards
Guna


Top
 Profile  
 
PostPosted: Fri, 2013-08-16, 09:14 
Offline

Joined: Tue, 2013-07-23, 12:15
Posts: 8
Location: Chennai, India
Andreas Thiel wrote:
Is there any reason why you use these very old java version ?
Try:
javac -d ..\DICOMscope dicomscope\DICOMscope.java
in the tkgui directory.



Hi,

Tried with jdk1.6 the same error i got. Kindly help me.


Regards
Guna

_________________
Thanks and Regards
Guna


Top
 Profile  
 
PostPosted: Fri, 2013-08-16, 09:50 
Offline

Joined: Tue, 2013-07-23, 12:15
Posts: 8
Location: Chennai, India
mail2vguna wrote:
Andreas Thiel wrote:
Is there any reason why you use these very old java version ?
Try:
javac -d ..\DICOMscope dicomscope\DICOMscope.java
in the tkgui directory.



Hi,

Tried with jdk1.6 the same error i got. Kindly help me.


Regards
Guna


Hi

Solution:

Try with the following command

E:\Dicomscope\dsgui3.6.0\DICOMscope>java dicomscope.DICOMscope

Its working now. Thanks for the help.


Regards
Guna

_________________
Thanks and Regards
Guna


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group