I am attempting to build the CarpetHDF5 VisIt Plugin on a Mac
10.9.4 using version 2.8.0 of VisIt. I get the following error.
Any ideas?
bash-3.2$
./install
Running:
xmledit2.8.0 CarpetHDF5.xml
Running:
xml2cmake2.8.0 CarpetHDF5.xml
-----------------------------------------------------------------
Parsed document of type Plugin
-----------------------------------------------------------------
Plugin:
CarpetHDF5 ("Carpet AMR/curvilinear HDF5 output generated by
the Cactus Computational Toolkit", type=database) -- version
2.1
Attribute: ()
--
The C compiler identification is AppleClang 5.1.0.5030040
--
The CXX compiler identification is AppleClang 5.1.0.5030040
--
Check for working C compiler: /usr/bin/cc
--
Check for working C compiler: /usr/bin/cc -- works
--
Detecting C compiler ABI info
--
Detecting C compiler ABI info - done
--
Check for working CXX compiler: /usr/bin/c++
--
Check for working CXX compiler: /usr/bin/c++ -- works
--
Detecting CXX compiler ABI info
--
Detecting CXX compiler ABI info - done
--
Configuring done
CMake
Warning (dev):
Policy CMP0042 is not set: MACOSX_RPATH is enabled by
default. Run "cmake
--help-policy CMP0042" for policy details. Use the
cmake_policy command to
set the policy and suppress this warning.
MACOSX_RPATH is not specified for the following targets:
ECarpetHDF5Database_par
ECarpetHDF5Database_ser
ICarpetHDF5Database
MCarpetHDF5Database
This
warning is for project developers. Use -Wno-dev to suppress
it.
--
Generating done
--
Build files have been written to:
/Users/garrison/Downloads/CarpetHDF5
Scanning dependencies of target ECarpetHDF5Database_par
[ 6%] Building CXX
object
CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5EnginePluginInfo.C.o
[ 12%] Building CXX
object
CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5PluginInfo.C.o
[ 18%] Building CXX
object
CMakeFiles/ECarpetHDF5Database_par.dir/CarpetHDF5CommonPluginInfo.C.o
[ 25%] Building CXX
object
CMakeFiles/ECarpetHDF5Database_par.dir/avtCarpetHDF5FileFormat.C.o
[ 31%] Building CXX
object CMakeFiles/ECarpetHDF5Database_par.dir/H5Index.C.o
Linking CXX shared library
/Users/garrison/.visit/2.8.0/darwin-x86_64/plugins/databases/libECarpetHDF5Database_par.dylib
Undefined
symbols for architecture x86_64:
"avtFileFormat::AddMeshToMetaData(avtDatabaseMetaData*,
std::__1::basic_string<char,
std::__1::char_traits<char>,
std::__1::allocator<char> >, avtMeshType, double
const*, int, int, int, int, int const*)", referenced from:
avtCarpetHDF5FileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*,
int) in avtCarpetHDF5FileFormat.C.o
"avtScalarMetaData::avtScalarMetaData(std::__1::basic_string<char,
std::__1::char_traits<char>,
std::__1::allocator<char> >,
std::__1::basic_string<char,
std::__1::char_traits<char>,
std::__1::allocator<char> >, avtCentering)",
referenced from:
avtCarpetHDF5FileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*,
int) in avtCarpetHDF5FileFormat.C.o
"avtVectorMetaData::avtVectorMetaData(std::__1::basic_string<char,
std::__1::char_traits<char>,
std::__1::allocator<char> >,
std::__1::basic_string<char,
std::__1::char_traits<char>,
std::__1::allocator<char> >, avtCentering, int)",
referenced from:
avtCarpetHDF5FileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*,
int) in avtCarpetHDF5FileFormat.C.o
"avtDatabaseMetaData::AddGroupInformation(int, int,
std::__1::vector<int, std::__1::allocator<int>
>&)", referenced from:
avtCarpetHDF5FileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*,
int) in avtCarpetHDF5FileFormat.C.o
"avtDatabaseMetaData::SetTimes(std::__1::vector<double,
std::__1::allocator<double> > const&)",
referenced from:
avtCarpetHDF5FileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*,
int) in avtCarpetHDF5FileFormat.C.o
"avtDatabaseMetaData::SetCycles(std::__1::vector<int,
std::__1::allocator<int> > const&)", referenced
from:
avtCarpetHDF5FileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*,
int) in avtCarpetHDF5FileFormat.C.o
"avtDatabaseMetaData::GetMesh(std::__1::basic_string<char,
std::__1::char_traits<char>,
std::__1::allocator<char> > const&) const",
referenced from:
avtCarpetHDF5FileFormat::PopulateDatabaseMetaData(avtDatabaseMetaData*,
int) in avtCarpetHDF5FileFormat.C.o
ld:
symbol(s) not found for architecture x86_64
clang:
error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]:
***
[/Users/garrison/.visit/2.8.0/darwin-x86_64/plugins/databases/libECarpetHDF5Database_par.dylib]
Error 1
make[1]:
*** [CMakeFiles/ECarpetHDF5Database_par.dir/all] Error 2
make:
*** [all] Error 2
bash-3.2$
--
David Garrison, Ph.D.
Associate Professor and Chair of Physics
University of Houston-Clear Lake
Bayou 3531
Houston, TX 77058
Tel: 281-283-3796
Fax: 281-283-3709
"If we knew what it was we were doing, it
would not be called research, would it?" —
Albert Einstein.