SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] optional component error


Chronological Thread 
  • From: "J. Davison de St. Germain" <dav@cs.utah.edu>
  • To: erh0509@westminstercollege.edu
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] optional component error
  • Date: Fri, 17 Jun 2005 11:22:18 -0600 (MDT)

> Dear SCIRun,
> 
> Thank you for your help with my previous post - 'SCIRun v1.24 CarbonSound.h 
> compile error'.

You are very welcome.

> SCIRun v1.24 seems to be up and running fine now with my home made package, 
> but at startup the following line prints 7 times:
> 
> >ERROR: Component is not marked (one way or the other) as an 'optional'
> > component
> 
> What does this mean?
> 
> Elisha

Hi,

   This "ERROR" message is erroneous.  It is more of a warning, and
actually it does not matter and should not be printed.  We are looking
into why you are seeing this message.  In the mean time, You can fix
this by changing the 'component' line near the top of your .xml file
from something like this:

<component name="Isosurface" category="Visualization">

to 

<component name="Isosurface" category="Visualization" optional="false">

[You will need to edit the file by hand to do this.]

The XML file can be found in
src/Dataflow/XML/<name_of_your_module>.xml (if a SCIRun module, or if
in a Package, then at:

src/Packages/<package_name>/Dataflow/XML/<name_of_your_module>.xml).

However, you can also just ignore the message.

FYI, the 'optional' flag is used to specify when a module is
"optional".  An optional module is one that depends on some external
library and is not compiled when the library does not exist on the
particular computer.

Please let me know if you have other questions.

   Sincerely,
          J. Davison de St. Germain

-----------------------------------------------------------------------
- J. Davison de St. Germain         dav@cs.utah.edu    (801) 581-4078 -
- Chief Software Engineer           http://www.cs.utah.edu/~dav       -
- SCI Institute, SE C-SAFE          University of Utah                -
-----------------------------------------------------------------------

===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page