dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #21900
Re: CMAKE_BUILD_TYPE=Release vs Developer
-
To:
dolfin@xxxxxxxxxxxxxxxxxxx
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Thu, 10 Mar 2011 18:02:06 +0000
-
In-reply-to:
<AANLkTik+d4=d9b+C0wGT1s1_wz6=ju0ygN9QmnyvmwLt@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8
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