Comment 2 for bug 513913

Revision history for this message
Garth Wells (garth-wells) wrote : Re: [Bug 513913] [NEW] cpp demos fail after 'scons install'

Johan Hake wrote:
> On Thursday 28 January 2010 10:28:32 Garth Wells wrote:
>> Public bug reported:
>>
>> The cpp demos fail (link issues) after 'scons install'. Appears to be a
>> linking issue.
>
> I assume you try to run the demos after you have compiled them from the root
> of tritetmesh using enableDemos=1?
>

I just did 'scons' (not 'scons install' as reported) from the root dir
of tritetmesh and the demos were built. I didn't use 'enableDemos=1' and
it's not in the options cache. When I run a demo I get

./demo: symbol lookup error:
/home/garth/code/fenics/dolfin/dolfin-all/local/lib/libdolfin.so.0:
undefined symbol: _Z26KSPMonitorTrueResidualNormP6_p_KSPidPv

If I do 'scons' in

  tritetmesh/demo/trimesh/areafunction/cpp

then the demo runs fine.

Garth

> They run nicely for me.
>
>> When using the SConstruct files is
>>
>> https://code.launchpad.net/~garth-wells/tritetmesh/misc/+merge/18226
>>
>> the demos run.
>
> I have now added a similar to the dev branch
>
> Johan
>