dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #24709
Undefined symbols building libdolfin on MacOS/icc (VTKWriter encode_stream)
Hi there,
i'm having some issues building dolfin on a Darwin 10.8.0 x86_64 with Intel compilers 11.1.088.
Linking CXX shared library libdolfin.dylib fails because of:
Undefined symbols for architecture x86_64:
"__ZN6dolfin9VTKWriter13encode_streamIfEESsRKSt6vectorIT_SaIS3_EEb", referenced from:
__ZNK6dolfin7VTKFile16write_point_dataERKNS_15GenericFunctionERKNS_4MeshESs in VTKFile.cpp.o
ld: symbol(s) not found for architecture x86_64
make[2]: *** [dolfin/libdolfin.1.0.beta.dylib] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2
make: *** [all] Error 2
Failure with exit status: 2
Exit message: There was a problem building dolfin-1.0-beta.
dolfin::VTKWriter encode_stream's signature being
static std::string encode_stream(const std::vector<T>& data,
bool compress);
in dolfin/io/VTKWriter.h
Has anyone a suggestion to fix this issue?
Thanks in advance,
cheers
Andrés A. León Baldelli
a.leon.baldelli@xxxxxxxxx