SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] Build errors


Chronological Thread 
  • From: Martin Cole <mjc@sci.utah.edu>
  • To: "Pugmire, Dave" <pugmire@ornl.gov>
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] Build errors
  • Date: Mon, 15 Oct 2007 11:33:36 -0600

You may need to upgrade to a newer compiler.  At least 3.4.6 I think.
Most of us are using 4.x.x for development at this point. 

On Mon, 2007-10-15 at 10:09 -0400, Pugmire, Dave wrote:
> Hi,
> I have been able to build scirun on one machine, but am having difficulty 
> on another.
> The problem machine has gcc version 3.3.4.
> 
> I build as follows:
>  svn checkout https://code.sci.utah.edu/svn/SCIRun/cibc/trunk SCIRun
>  ./build.sh --packages=SCIRun,Teem,BioPSE,FusionPSE
> 
> 
> Below is the point of failure.
> Am I configuring/building this correctly?
> 
> 
> [ 13%] Building CXX object 
> Core/Datatypes/CMakeFiles/Core_Datatypes.dir/Field.o
> In file included from 
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/Field.h:37,
>                  from 
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/Field.cc:31:
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h: 
> In
>    constructor `SCIRun::LockingHandle<T>::LockingHandle(T*) [with T =
>    SCIRun::Field]':
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/VField.h:86:   
> instantiated from here
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:106:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:107:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:108:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h: 
> In
>    destructor `SCIRun::LockingHandle<T>::~LockingHandle() [with T =
>    SCIRun::Field]':
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/VField.h:86:   
> instantiated from here
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:187:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:188:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:189:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:190:
>  warning: possible
>    problem detected in invocation of delete operator:
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:190:
>  warning: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> warning: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:190:
>  note: neither
>    the destructor nor the class-specific operator delete will be called, 
> even
>    if they are declared when the class is defined.
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:192:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h: 
> In
>    copy constructor `SCIRun::LockingHandle<T>::LockingHandle(const
>    SCIRun::LockingHandle<T>&) [with T = SCIRun::Field]':
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/VField.h:86:   
> instantiated from here
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:117:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:118:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Containers/LockingHandle.h:119:
>  error: invalid
>    use of undefined type `struct SCIRun::Field'
> /apps/SCIRun/3.0.2/hawk/SCIRun/SCIRun/src/Core/Datatypes/TypeName.h:83: 
> error: forward
>    declaration of `struct SCIRun::Field'
> make[2]: *** [Core/Datatypes/CMakeFiles/Core_Datatypes.dir/Field.o] Error 1
> make[1]: *** [Core/Datatypes/CMakeFiles/Core_Datatypes.dir/all] Error 2
> 
> ===========================================================================
> == 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         ==
> ===========================================================================

===========================================================================
== 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