On Wed, Jan 26, 2011 at 3:19 PM, Anton Gladky <email address hidden> wrote:
> Ok, thanks for suggestion, I will try and let you know.
>
> Anton
>
>
>
>
> 2011/1/26 Václav Šmilauer <email address hidden>:
>> I was compiling with 4.5 on maverick, and never had problems. I think
>> the problem can be that yade-support is not linked with boost libs at
>> all (...?). You can try to go to lib/SConscript:18, and change
>>
>> LIBS=['dl','m']+[]
>>
>> to
>>
>> LIBS=['dl','m']+[l for l in env['LIBS'] if l!='yade-support']
>>
>> (yade-support is in env['LIBS'] so that core and all plugins link with
>> it automatically, but yade-support cannot obviously link with itself, so
>> it muse be filtered away, keeping the rest of env['LIBS'] (which
>> contains all boost libs as well).
>>
>> I don't have a big machine so cannot try myself, sorry.
>>
>> HTH, v.
>>
>> --
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>> https://bugs.launchpad.net/bugs/707966
>>
>> Title:
>> Yade does not start on Natty 11.04
>>
>> Status in Yet Another Dynamic Engine:
>> New
>>
>> Bug description:
>> Compiles normally, but during start:
>>
>> 0.60 release:
>> =================================================
>> ./../build/bin/yade-cleanComp
>> Welcome to Yade 0.60
>> Traceback (most recent call last):
>> File "./../build/bin/yade-cleanComp", line 105, in <module>
>> import yade
>> File "/home/gladk/dem/yade/060/build/lib/yade-cleanComp/py/yade/__init__.py", line 58, in <module>
>> import boot
>> ImportError: /home/gladk/dem/yade/060/build/lib/yade-cleanComp/py/yade/../../lib/../lib/libyade-support.so: undefined symbol: _ZN5boost11basic_regexIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE9do_assignEPKcS7_j
>> =================================================
>> Latest trunk:
>> =================================================
>> Welcome to Yade bzr2679
>> Traceback (most recent call last):
>> File "./../build/bin/yade-cleanComp", line 115, in <module>
>> import yade
>> File "/home/gladk/dem/yade/cleanComp/build/lib/yade-cleanComp/py/yade/__init__.py", line 58, in <module>
>> import boot
>> ImportError: /home/gladk/dem/yade/cleanComp/build/lib/yade-cleanComp/py/yade/../../lib/../lib/libyade-support.so: undefined symbol: _ZN5boost11basic_regexIcNS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE9do_assignEPKcS7_j
>> =================================================
>>
>> To unsubscribe from this bug, go to:
>> https://bugs.launchpad.net/yade/+bug/707966/+subscribe
>>
>
It is better now, the previous error gone. But there are some
problems with libplugins:
Welcome to Yade bzr2680 dem/yade/ cleanComp/ yade/core/ Omega.cpp: 204 loadPlugins: dem/yade/ cleanComp/ build/lib/ yade-cleanComp/ plugins/ libplugins. so: :QGLViewer: :drawArrow( Eigen:: Matrix< double, Matrix< double, 3, 1, 2, 3, 1> const&, dem/yade/ cleanComp/ yade/core/ Omega.cpp: 204 loadPlugins: dem/yade/ cleanComp/ build/lib/ yade-cleanComp/ plugins/ libplugins. so: dem/yade/ cleanComp/ build/lib/ yade-cleanComp/ plugins/ libplugins. so: Viewer9drawArro wERKN5Eigen6Mat rixIdLi3ELi1ELi 2ELi3ELi1EEES5_ fi dem/yade/ cleanComp/ yade/core/ Omega.cpp: 204 loadPlugins:
301 FATAL yade.Omega
/home/gladk/
/home/gladk/
undefined symbol `GLUtils:
3, 1, 2, 3, 1> const&, Eigen::
float, int)'
301 FATAL yade.Omega
/home/gladk/
/home/gladk/
/home/gladk/
undefined symbol:
_ZN7GLUtils9QGL
301 FATAL yade.Omega
/home/gladk/
Bailing out.
Aborted (core dumped)
Could you not suggest where to fix it?
Thanks
Anton
On Wed, Jan 26, 2011 at 3:19 PM, Anton Gladky <email address hidden> wrote: /bugs.launchpad .net/bugs/ 707966 ======= ======= ======= ======= ======= ======= bin/yade- cleanComp bin/yade- cleanComp" , line 105, in <module> gladk/dem/ yade/060/ build/lib/ yade-cleanComp/ py/yade/ __init_ _.py", line 58, in <module> dem/yade/ 060/build/ lib/yade- cleanComp/ py/yade/ ../../lib/ ../lib/ libyade- support. so: undefined symbol: _ZN5boost11basi c_regexIcNS_ 12regex_ traitsIcNS_ 16cpp_regex_ traitsIcEEEEE9d o_assignEPKcS7_ j ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= bin/yade- cleanComp" , line 115, in <module> gladk/dem/ yade/cleanComp/ build/lib/ yade-cleanComp/ py/yade/ __init_ _.py", line 58, in <module> dem/yade/ cleanComp/ build/lib/ yade-cleanComp/ py/yade/ ../../lib/ ../lib/ libyade- support. so: undefined symbol: _ZN5boost11basi c_regexIcNS_ 12regex_ traitsIcNS_ 16cpp_regex_ traitsIcEEEEE9d o_assignEPKcS7_ j ======= ======= ======= ======= ======= ======= /bugs.launchpad .net/yade/ +bug/707966/ +subscribe
> Ok, thanks for suggestion, I will try and let you know.
>
> Anton
>
>
>
>
> 2011/1/26 Václav Šmilauer <email address hidden>:
>> I was compiling with 4.5 on maverick, and never had problems. I think
>> the problem can be that yade-support is not linked with boost libs at
>> all (...?). You can try to go to lib/SConscript:18, and change
>>
>> LIBS=['dl','m']+[]
>>
>> to
>>
>> LIBS=['dl','m']+[l for l in env['LIBS'] if l!='yade-support']
>>
>> (yade-support is in env['LIBS'] so that core and all plugins link with
>> it automatically, but yade-support cannot obviously link with itself, so
>> it muse be filtered away, keeping the rest of env['LIBS'] (which
>> contains all boost libs as well).
>>
>> I don't have a big machine so cannot try myself, sorry.
>>
>> HTH, v.
>>
>> --
>> You received this bug notification because you are a direct subscriber
>> of the bug.
>> https:/
>>
>> Title:
>> Yade does not start on Natty 11.04
>>
>> Status in Yet Another Dynamic Engine:
>> New
>>
>> Bug description:
>> Compiles normally, but during start:
>>
>> 0.60 release:
>> =======
>> ./../build/
>> Welcome to Yade 0.60
>> Traceback (most recent call last):
>> File "./../build/
>> import yade
>> File "/home/
>> import boot
>> ImportError: /home/gladk/
>> =======
>> Latest trunk:
>> =======
>> Welcome to Yade bzr2679
>> Traceback (most recent call last):
>> File "./../build/
>> import yade
>> File "/home/
>> import boot
>> ImportError: /home/gladk/
>> =======
>>
>> To unsubscribe from this bug, go to:
>> https:/
>>
>