← Back to team overview

dolfin team mailing list archive

CMAKE_BUILD_TYPE=Release vs Developer

 

Hi!

I just encounter the following strange error: When I run cmake.local with
containing the line
CMAKE_BUILD_TYPE=Developer
everything works fine, but changing it to
CMAKE_BUILD_TYPE=Release
now breaks after the recent DOLFIN updates and I get an linking error:

Undefined symbols:
  "std::basic_string<char, std::char_traits<char>, std::allocator<char> >
dolfin::VTKWriter::encode_stream<float>(std::vector<float,
std::allocator<float> > const&, bool)", referenced from:
      dolfin::VTKFile::write_point_data(dolfin::GenericFunction const&,
dolfin::Mesh const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> >) const in VTKFile.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [dolfin/libdolfin.0.9.10.dylib] Error 1
make[1]: *** [dolfin/CMakeFiles/dolfin.dir/all] Error 2

Has anybody else experienced such a behavior? I am on snow leopard with the
most recent updates from all fenics projects.
BTW I was wondering whether the mpi issue trilinos still exists or has this
recently been fixed?

Cheers,
Andre

Follow ups