← Back to team overview

dolfin team mailing list archive

Re: CMAKE_BUILD_TYPE=Release vs Developer

 


On 10/03/11 17:58, Andre Massing wrote:
> 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.

I was cleaning this up recently. File a bug and I'll take a look soon.

> BTW I was wondering whether the mpi issue trilinos still exists or has
> this recently been fixed?
>

It's a PyTrilinos bug, so we can't fix it. It should be fixed in the
next Trilinos release.

Garth


> Cheers,
> Andre
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~dolfin
> Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dolfin
> More help   : https://help.launchpad.net/ListHelp



References