[Trilinos-Users] Error Building Trilinos 10.10.1 on Mac OS X

Ted Kord teddy.kord at gmail.com
Thu Apr 5 11:02:15 MDT 2012


Hi

I get the following error whilst building Trilinos 10.10.1:

======>

In file included from
/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve.cpp:48:0:

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:
In instantiation of
'Thyra::DefaultDiagonalLinearOpWithSolve<Scalar>::DefaultDiagonalLinearOpWithSolve(const
Teuchos::RCP<const Thyra::VectorBase<Scalar> >&) [with Scalar = float]':

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve.cpp:53:1:
  required from here

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
error: 'initialize' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
note: declarations in dependent base
'Thyra::DefaultDiagonalLinearOp<float>' are not found by unqualified lookup

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
note: use 'this->initialize' instead

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:
In instantiation of
'Thyra::DefaultDiagonalLinearOpWithSolve<Scalar>::DefaultDiagonalLinearOpWithSolve(const
Teuchos::RCP<const Thyra::VectorBase<Scalar> >&) [with Scalar = double]':

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve.cpp:53:1:
  required from here

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
error: 'initialize' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
note: declarations in dependent base
'Thyra::DefaultDiagonalLinearOp<double>' are not found by unqualified lookup

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
note: use 'this->initialize' instead

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:
In instantiation of
'Thyra::DefaultDiagonalLinearOpWithSolve<Scalar>::DefaultDiagonalLinearOpWithSolve(const
Teuchos::RCP<const Thyra::VectorBase<Scalar> >&) [with Scalar =
std::complex<float>]':

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve.cpp:53:1:
  required from here

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
error: 'initialize' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
note: declarations in dependent base
'Thyra::DefaultDiagonalLinearOp<std::complex<float> >' are not found by
unqualified lookup

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
note: use 'this->initialize' instead

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:
In instantiation of
'Thyra::DefaultDiagonalLinearOpWithSolve<Scalar>::DefaultDiagonalLinearOpWithSolve(const
Teuchos::RCP<const Thyra::VectorBase<Scalar> >&) [with Scalar =
std::complex<double>]':

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve.cpp:53:1:
  required from here

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
error: 'initialize' was not declared in this scope, and no declarations
were found by argument-dependent lookup at the point of instantiation
[-fpermissive]

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
note: declarations in dependent base
'Thyra::DefaultDiagonalLinearOp<std::complex<double> >' are not found by
unqualified lookup

/Users/tedkord/trilinos-10.10.1-Source/packages/thyra/core/src/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve_def.hpp:69:3:
note: use 'this->initialize' instead

make[2]: ***
[packages/thyra/core/src/CMakeFiles/thyracore.dir/support/operator_solve/client_support/Thyra_DefaultDiagonalLinearOpWithSolve.cpp.o]
Error 1

make[2]: *** Waiting for unfinished jobs....

========>


Here's my configure script:


#!/bin/sh

EXTRA_ARGS=$@


rm -f CMakeCache.txt


cmake \

-D CMAKE_INSTALL_PREFIX:PATH=/Users/tedkord/TRILINOS/BUILD/ \

-D CMAKE_BUILD_TYPE:STRING=RELEASE \

-D BUILD_SHARED_LIBS:BOOL=ON \

-D Trilinos_ENABLE_ALL_PACKAGES:BOOL=ON \

-D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON \

-D Trilinos_ENABLE_ALL_SECONDARY_STABLE_CODE:BOOL=ON \

-D Trilinos_ENABLE_TESTS:BOOL=ON \

-D Trilinos_ENABLE_EXAMPLES:BOOL=ON \

-D Trilinos_ENABLE_FEI:BOOL=OFF \

-D Trilinos_ENABLE_EXPLICIT_INSTANTIATION:BOOL=ON \

-D Trilinos_ENABLE_DIDASKO:BOOL=ON \

-D HAVE_GCC_ABI_DEMANGLE:BOOL=ON \

-D DART_TESTING_TIMEOUT:STRING=600 \

-D TPL_ENABLE_MPI:BOOL=ON \

-D TPL_ENABLE_Boost:BOOL=ON \

-D Boost_INCLUDE_DIRS:PATH=/opt/local/include/boost \

    -D Boost_LIBRARY_DIRS:PATH=/opt/local/lib \

    $EXTRA_ARGS \

    ${TRILINOS_HOME}


-- 
Thx

TK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://software.sandia.gov/pipermail/trilinos-users/attachments/20120405/aaa97f62/attachment.html 


More information about the Trilinos-Users mailing list