Re: [Yade-dev] Yade does not start, linker problem?

2013-07-02 Thread Anton Gladky
2013/7/2 Christian Jakob :
> oops, sorry for that. Was this [1] the source of the problems?

Probably yes.

> [1]
> https://github.com/yade/trunk/commit/392ca149828a08b441e19427cc0250b016dd2981
>
> Why do I have no problems on debian?

I had also no problems on Debian. Maybe the compiler does not include the
header, if it is useless... It is just a guess.

Anyway, good, that we have solved the problem.

Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-07-02 Thread Christian Jakob

Zitat von Anton Gladky :


Hi all,

Klaus, if you have not yet reinstalled the system, please check
the latest 34ba150-commit, it should fix your problem. It was a bug,
which became visible after 1e52860.

Christian has used functions from libplugins (e.g. pkg/* -directory), but
Clumps are in libcore, which are not linked against libplugins, but  
libplugins

were linked against libcore...


oops, sorry for that. Was this [1] the source of the problems?

[1]  
https://github.com/yade/trunk/commit/392ca149828a08b441e19427cc0250b016dd2981


Why do I have no problems on debian?



So, to escape any other confusions and cross- and over-linkage I merged
libplugins, libsupport and libcore into libyade, It should fix all issues.

Thanks all for contribution.

Anton


2013/7/1 Jan Stránský :

Hi guys, did you find the solution? I did a fresh installation from the
scratch ending with exactly the same error as Klaus..
Thanks
Jan


2013/6/27 Anton Gladky 


2013/6/27 Klaus Thoeni :
> I am actually considering to re-install kubuntu. Any recommendations on
> what
> version I should use (12.04 or 13.04)?

From my point of view there are not so much changes in "scientific
packages"
between these versions, because Debian was frozen in this period.

Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp





___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-07-01 Thread Anton Gladky
2013/7/2 Klaus Thoeni :
> Why didn't anyone else have this problem? How can we avoid such problems in
> the future?

Yade-daily packages failed to build last several days.

The initial idea of splitting modules in different binaries was good. But
it is difficult to keep core modules "pristine" and not to use functions
from pkg/ or lib/. So I think this merge should fix the problems.

Cheers,

Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-07-01 Thread Klaus Thoeni
Hi Anton

thank you very much, it's working now. Just in time ;-)

Why didn't anyone else have this problem? How can we avoid such problems in 
the future? 

Thanks again
Klaus

On Monday 01 July 2013 21:09:14 Anton Gladky wrote:
> Hi all,
> 
> Klaus, if you have not yet reinstalled the system, please check
> the latest 34ba150-commit, it should fix your problem. It was a bug,
> which became visible after 1e52860.
> 
> Christian has used functions from libplugins (e.g. pkg/* -directory), but
> Clumps are in libcore, which are not linked against libplugins, but
> libplugins were linked against libcore...
> 
> So, to escape any other confusions and cross- and over-linkage I merged
> libplugins, libsupport and libcore into libyade, It should fix all issues.
> 
> Thanks all for contribution.
> 
> Anton
> 
> 2013/7/1 Jan Stránský :
> > Hi guys, did you find the solution? I did a fresh installation from the
> > scratch ending with exactly the same error as Klaus..
> > Thanks
> > Jan
> > 
> > 
> > 2013/6/27 Anton Gladky 
> > 
> >> 2013/6/27 Klaus Thoeni :
> >> > I am actually considering to re-install kubuntu. Any recommendations on
> >> > what
> >> > version I should use (12.04 or 13.04)?
> >> 
> >> From my point of view there are not so much changes in "scientific
> >> packages"
> >> between these versions, because Debian was frozen in this period.
> >> 
> >> Anton
> >> 
> >> ___
> >> Mailing list: https://launchpad.net/~yade-dev
> >> Post to : yade-dev@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~yade-dev
> >> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-07-01 Thread Anton Gladky
Hi all,

Klaus, if you have not yet reinstalled the system, please check
the latest 34ba150-commit, it should fix your problem. It was a bug,
which became visible after 1e52860.

Christian has used functions from libplugins (e.g. pkg/* -directory), but
Clumps are in libcore, which are not linked against libplugins, but libplugins
were linked against libcore...

So, to escape any other confusions and cross- and over-linkage I merged
libplugins, libsupport and libcore into libyade, It should fix all issues.

Thanks all for contribution.

Anton


2013/7/1 Jan Stránský :
> Hi guys, did you find the solution? I did a fresh installation from the
> scratch ending with exactly the same error as Klaus..
> Thanks
> Jan
>
>
> 2013/6/27 Anton Gladky 
>>
>> 2013/6/27 Klaus Thoeni :
>> > I am actually considering to re-install kubuntu. Any recommendations on
>> > what
>> > version I should use (12.04 or 13.04)?
>>
>> From my point of view there are not so much changes in "scientific
>> packages"
>> between these versions, because Debian was frozen in this period.
>>
>> Anton
>>
>> ___
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to : yade-dev@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help   : https://help.launchpad.net/ListHelp
>
>

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-27 Thread Anton Gladky
2013/6/27 Klaus Thoeni :
> I am actually considering to re-install kubuntu. Any recommendations on what
> version I should use (12.04 or 13.04)?

>From my point of view there are not so much changes in "scientific packages"
between these versions, because Debian was frozen in this period.

Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-27 Thread Klaus Thoeni
I tried to install and build in another directory. I even created a new user 
to see if it is related to my local settings. But I still have the same issue.

I am actually considering to re-install kubuntu. Any recommendations on what 
version I should use (12.04 or 13.04)? 

Thanks
Klaus

On Wednesday 26 June 2013 21:26:03 Anton Gladky wrote:
> Hmm, difficult to say, what is going on. Did you try to install
> and build in some other directory?
> 
> Anton
> 
> 2013/6/26 Klaus Thoeni :
> > Files are attached attached. ldd gives a similar error.
> > 
> > On Wednesday 26 June 2013 08:25:26 Anton Gladky wrote:
> >> ldd -d
> >> /home/thoeni/YADE-git/master/install/lib/x86_64-linux-gnu/yade-2013-06-21
> >> .g
> >> it-1e52860/libcore.so

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-26 Thread Anton Gladky
Hmm, difficult to say, what is going on. Did you try to install
and build in some other directory?

Anton


2013/6/26 Klaus Thoeni :
> Files are attached attached. ldd gives a similar error.
>
> On Wednesday 26 June 2013 08:25:26 Anton Gladky wrote:
>> ldd -d
>> /home/thoeni/YADE-git/master/install/lib/x86_64-linux-gnu/yade-2013-06-21.g
>> it-1e52860/libcore.so

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Anton Gladky
Please, attach CMaceCache.txt and output from

ldd -d 
/home/thoeni/YADE-git/master/install/lib/x86_64-linux-gnu/yade-2013-06-21.git-1e52860/libcore.so

Anton


2013/6/26 Klaus Thoeni :
> No, I don't set it manually. I am just guessing because I encountered this
> problem after I tried to compile yade's documentation and after installing
> GenGeo by compiling the sources, and both are somehow using PYTHONPATH.
>
> Well I am not sure what's going on. It seams that the pyc files are created
> when launching yade the first time, so it is not related to that since yade is
> not starting.
>
> Any other guess?
>
>
> On Tuesday 25 June 2013 13:55:41 Anton Gladky wrote:
>> 2013/6/25 Klaus Thoeni :
>> >Has it something to to with PYTHONPATH or so?
>>
>> Do you set it explicitly? It can cause problems.
>>
>> Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Klaus Thoeni
No, I don't set it manually. I am just guessing because I encountered this 
problem after I tried to compile yade's documentation and after installing 
GenGeo by compiling the sources, and both are somehow using PYTHONPATH.

Well I am not sure what's going on. It seams that the pyc files are created 
when launching yade the first time, so it is not related to that since yade is 
not starting.

Any other guess? 


On Tuesday 25 June 2013 13:55:41 Anton Gladky wrote:
> 2013/6/25 Klaus Thoeni :
> >Has it something to to with PYTHONPATH or so?
> 
> Do you set it explicitly? It can cause problems.
> 
> Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Anton Gladky
2013/6/25 Klaus Thoeni :
>Has it something to to with PYTHONPATH or so?

Do you set it explicitly? It can cause problems.

Anton

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Klaus Thoeni
No, I am executing the right file. 

However, some new hint. When comparing the local directory install/lib/x86_64-
linux-gnu/yade-2013-06-15.git-e88d195/py to another working one I can see that 
in my directory all pyc-files are missing. I guess this is the problem. But why 
are they missing? Has it something to to with PYTHONPATH or so? 

On Tuesday 25 June 2013 12:51:57 you wrote:
> Yes, if you delete everything and cmake - make from scratch, it is stronger
> than make clean :-) but I have no idea in your case.. Try also to delete
> the yade executable, is it possible that you are executing different file?
> Jan
> 
> 
> 2013/6/25 Klaus Thoeni 
> 
> > Hi Jan
> > 
> > I usually delete everything in my build directory before compiling a new
> > version. I guess that should do the job as well, or not?
> > 
> > Thanks
> > Klaus
> > 
> > On Tuesday 25 June 2013 08:54:19 you wrote:
> > > Hi Klaus,
> > > I met the same problem some time ago.. After what time did you do the
> > > update? sometimes "make clean" is needed if there are some significant
> > > changes.
> > > HTH
> > > Jan
> > > 
> > > 
> > > 
> > > 
> > > 2013/6/25 Klaus Thoeni 
> > > 
> > > > Hi guys
> > > > 
> > > > I just updated one of my machines and compiled yade. Everything went
> > > > smoothly
> > > > but when I try to run yade I get the following:
> > > > 
> > > > thoeni@thoeni:~/YADE-git/master/build$ yade
> > > > Welcome to Yade 2013-06-21.git-1e52860
> > > > 
> > > > Traceback (most recent call last):
> > > >   File
> > > > 
> > > > "/home/thoeni/YADE-git/master/install/bin/yade-2013-06-21.git-1e52860"
> > > > ,
> > > > line 115, in 
> > > > 
> > > > import yade
> > > >   
> > > >   File "/home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> > > > 
> > > > gnu/yade-2013-06-21.git-1e52860/py/yade/__init__.py", line 65, in
> > 
> > 
> > 
> > > > import boot
> > > > 
> > > > ImportError: /home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> > > > gnu/yade-2013-06-21.git-1e52860/libcore.so: undefined symbol:
> > > > _ZTVN4yade6SphereE
> > > > 
> > > > To me it seems like a liking error but I was not able to fix it. I am
> > > > running
> > > > kubuntu 12.04 with gcc 4.6.3 and cmake 2.8.9. I have another machine
> > 
> > with
> > 
> > > > the
> > > > same operating system but cmake 2.8.7 and it is working. Any
> > 
> > suggestions?
> > 
> > > > BTW, is anyone running yade on ubuntu 12.10 or 13.04? Do you recommend
> > 
> > to
> > 
> > > > upgrade?
> > > > 
> > > > Thnaks
> > > > Klaus
> > > > 
> > > > 
> > > > ___
> > > > Mailing list: https://launchpad.net/~yade-dev
> > > > Post to : yade-dev@lists.launchpad.net
> > > > Unsubscribe : https://launchpad.net/~yade-dev
> > > > More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Klaus Thoeni
Hi Jan

I usually delete everything in my build directory before compiling a new 
version. I guess that should do the job as well, or not?

Thanks
Klaus

On Tuesday 25 June 2013 08:54:19 you wrote:
> Hi Klaus,
> I met the same problem some time ago.. After what time did you do the
> update? sometimes "make clean" is needed if there are some significant
> changes.
> HTH
> Jan
> 
> 
> 
> 
> 2013/6/25 Klaus Thoeni 
> 
> > Hi guys
> > 
> > I just updated one of my machines and compiled yade. Everything went
> > smoothly
> > but when I try to run yade I get the following:
> > 
> > thoeni@thoeni:~/YADE-git/master/build$ yade
> > Welcome to Yade 2013-06-21.git-1e52860
> > 
> > Traceback (most recent call last):
> >   File
> > 
> > "/home/thoeni/YADE-git/master/install/bin/yade-2013-06-21.git-1e52860",
> > line 115, in 
> > 
> > import yade
> >   
> >   File "/home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> > 
> > gnu/yade-2013-06-21.git-1e52860/py/yade/__init__.py", line 65, in 
> > 
> > import boot
> > 
> > ImportError: /home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> > gnu/yade-2013-06-21.git-1e52860/libcore.so: undefined symbol:
> > _ZTVN4yade6SphereE
> > 
> > To me it seems like a liking error but I was not able to fix it. I am
> > running
> > kubuntu 12.04 with gcc 4.6.3 and cmake 2.8.9. I have another machine with
> > the
> > same operating system but cmake 2.8.7 and it is working. Any suggestions?
> > 
> > BTW, is anyone running yade on ubuntu 12.10 or 13.04? Do you recommend to
> > upgrade?
> > 
> > Thnaks
> > Klaus
> > 
> > 
> > ___
> > Mailing list: https://launchpad.net/~yade-dev
> > Post to : yade-dev@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~yade-dev
> > More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Christian Jakob

I am using cmake 2.8.9-1 at debian wheezy. But i never had this kind of error.

christian

Zitat von Klaus Thoeni :


No, I am not using yade from packages. I am only running my own compiled
version. Could it be a problem with the cmake version? Is anyone using cmake
2.8.9? What else could it be?

On Tuesday 25 June 2013 11:43:17 Anton Gladky wrote:

Do you have installed yade from packages on that machine? It can so happen,
that the shared libraries are taken from the packaged Yade version, but
you try to use the compiled one.


Anton

2013/6/25 Klaus Thoeni :
> I actually did re-run cmake. I even deleted everything in my build
> directory to be sure. So I guess this is not the problem. Any other
> ideas?
>
> On Tuesday 25 June 2013 10:48:33 Bruno Chareyre wrote:
>> Did you re-run cmake?
>> When new cpp files are added (and it was the case recently) it is
>> necessary.
>>
>> B
>>
>> On 25/06/13 08:49, Klaus Thoeni wrote:
>> > Hi guys
>> >
>> > I just updated one of my machines and compiled yade. Everything went
>> > smoothly but when I try to run yade I get the following:
>> >
>> > thoeni@thoeni:~/YADE-git/master/build$ yade
>> > Welcome to Yade 2013-06-21.git-1e52860
>> >
>> > Traceback (most recent call last):
>> >   File
>> >   "/home/thoeni/YADE-git/master/install/bin/yade-2013-06-21.git-1e52860
>> >   ",>
>> >
>> > line 115, in 
>> >
>> > import yade
>> >
>> >   File "/home/thoeni/YADE-git/master/install/lib/x86_64-linux-
>> >
>> > gnu/yade-2013-06-21.git-1e52860/py/yade/__init__.py", line 65, in
>> > 
>> >
>> > import boot
>> >
>> > ImportError: /home/thoeni/YADE-git/master/install/lib/x86_64-linux-
>> > gnu/yade-2013-06-21.git-1e52860/libcore.so: undefined symbol:
>> > _ZTVN4yade6SphereE
>> >
>> > To me it seems like a liking error but I was not able to fix it. I am
>> > running kubuntu 12.04 with gcc 4.6.3 and cmake 2.8.9. I have another
>> > machine with the same operating system but cmake 2.8.7 and it is
>> > working.
>> > Any suggestions?
>> >
>> > BTW, is anyone running yade on ubuntu 12.10 or 13.04? Do you recommend
>> > to
>> > upgrade?
>> >
>> > Thnaks
>> > Klaus
>> >
>> >
>> > ___
>> > Mailing list: https://launchpad.net/~yade-dev
>> > Post to : yade-dev@lists.launchpad.net
>> > Unsubscribe : https://launchpad.net/~yade-dev
>> > More help   : https://help.launchpad.net/ListHelp
>>
>> --
>> ___
>> Bruno Chareyre
>> Associate Professor
>> ENSE³ - Grenoble INP
>> Lab. 3SR
>> BP 53
>> 38041 Grenoble cedex 9
>> Tél : +33 4 56 52 86 21
>> Fax : +33 4 76 82 70 43
>> 
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to : yade-dev@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help   : https://help.launchpad.net/ListHelp
>
> ___
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp

--
Dr. Klaus Thoeni - Centre for Geotechnical and Materials Modelling
Civil, Surveying and Environmental Engineering - Engineering Building EA
The University of Newcastle, Callaghan, NSW 2308, Australia
web: http://www.newcastle.edu.au/research-centre/cgmm
phone: +61 (0)2 4921 5735

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp






___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Klaus Thoeni
No, I am not using yade from packages. I am only running my own compiled 
version. Could it be a problem with the cmake version? Is anyone using cmake 
2.8.9? What else could it be?

On Tuesday 25 June 2013 11:43:17 Anton Gladky wrote:
> Do you have installed yade from packages on that machine? It can so happen,
> that the shared libraries are taken from the packaged Yade version, but
> you try to use the compiled one.
> 
> 
> Anton
> 
> 2013/6/25 Klaus Thoeni :
> > I actually did re-run cmake. I even deleted everything in my build
> > directory to be sure. So I guess this is not the problem. Any other
> > ideas?
> > 
> > On Tuesday 25 June 2013 10:48:33 Bruno Chareyre wrote:
> >> Did you re-run cmake?
> >> When new cpp files are added (and it was the case recently) it is
> >> necessary.
> >> 
> >> B
> >> 
> >> On 25/06/13 08:49, Klaus Thoeni wrote:
> >> > Hi guys
> >> > 
> >> > I just updated one of my machines and compiled yade. Everything went
> >> > smoothly but when I try to run yade I get the following:
> >> > 
> >> > thoeni@thoeni:~/YADE-git/master/build$ yade
> >> > Welcome to Yade 2013-06-21.git-1e52860
> >> > 
> >> > Traceback (most recent call last):
> >> >   File
> >> >   "/home/thoeni/YADE-git/master/install/bin/yade-2013-06-21.git-1e52860
> >> >   ",>
> >> > 
> >> > line 115, in 
> >> > 
> >> > import yade
> >> >   
> >> >   File "/home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> >> > 
> >> > gnu/yade-2013-06-21.git-1e52860/py/yade/__init__.py", line 65, in
> >> > 
> >> > 
> >> > import boot
> >> > 
> >> > ImportError: /home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> >> > gnu/yade-2013-06-21.git-1e52860/libcore.so: undefined symbol:
> >> > _ZTVN4yade6SphereE
> >> > 
> >> > To me it seems like a liking error but I was not able to fix it. I am
> >> > running kubuntu 12.04 with gcc 4.6.3 and cmake 2.8.9. I have another
> >> > machine with the same operating system but cmake 2.8.7 and it is
> >> > working.
> >> > Any suggestions?
> >> > 
> >> > BTW, is anyone running yade on ubuntu 12.10 or 13.04? Do you recommend
> >> > to
> >> > upgrade?
> >> > 
> >> > Thnaks
> >> > Klaus
> >> > 
> >> > 
> >> > ___
> >> > Mailing list: https://launchpad.net/~yade-dev
> >> > Post to : yade-dev@lists.launchpad.net
> >> > Unsubscribe : https://launchpad.net/~yade-dev
> >> > More help   : https://help.launchpad.net/ListHelp
> >> 
> >> --
> >> ___
> >> Bruno Chareyre
> >> Associate Professor
> >> ENSE³ - Grenoble INP
> >> Lab. 3SR
> >> BP 53
> >> 38041 Grenoble cedex 9
> >> Tél : +33 4 56 52 86 21
> >> Fax : +33 4 76 82 70 43
> >> 
> >> 
> >> 
> >> ___
> >> Mailing list: https://launchpad.net/~yade-dev
> >> Post to : yade-dev@lists.launchpad.net
> >> Unsubscribe : https://launchpad.net/~yade-dev
> >> More help   : https://help.launchpad.net/ListHelp
> > 
> > ___
> > Mailing list: https://launchpad.net/~yade-dev
> > Post to : yade-dev@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~yade-dev
> > More help   : https://help.launchpad.net/ListHelp
> 
> ___
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
-- 
Dr. Klaus Thoeni - Centre for Geotechnical and Materials Modelling
Civil, Surveying and Environmental Engineering - Engineering Building EA
The University of Newcastle, Callaghan, NSW 2308, Australia
web: http://www.newcastle.edu.au/research-centre/cgmm
phone: +61 (0)2 4921 5735

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Anton Gladky
Do you have installed yade from packages on that machine? It can so happen,
that the shared libraries are taken from the packaged Yade version, but
you try to use the compiled one.


Anton


2013/6/25 Klaus Thoeni :
> I actually did re-run cmake. I even deleted everything in my build directory
> to be sure. So I guess this is not the problem. Any other ideas?
>
>
> On Tuesday 25 June 2013 10:48:33 Bruno Chareyre wrote:
>> Did you re-run cmake?
>> When new cpp files are added (and it was the case recently) it is necessary.
>>
>> B
>>
>> On 25/06/13 08:49, Klaus Thoeni wrote:
>> > Hi guys
>> >
>> > I just updated one of my machines and compiled yade. Everything went
>> > smoothly but when I try to run yade I get the following:
>> >
>> > thoeni@thoeni:~/YADE-git/master/build$ yade
>> > Welcome to Yade 2013-06-21.git-1e52860
>> >
>> > Traceback (most recent call last):
>> >   File
>> >   "/home/thoeni/YADE-git/master/install/bin/yade-2013-06-21.git-1e52860",>
>> > line 115, in 
>> >
>> > import yade
>> >
>> >   File "/home/thoeni/YADE-git/master/install/lib/x86_64-linux-
>> >
>> > gnu/yade-2013-06-21.git-1e52860/py/yade/__init__.py", line 65, in 
>> >
>> > import boot
>> >
>> > ImportError: /home/thoeni/YADE-git/master/install/lib/x86_64-linux-
>> > gnu/yade-2013-06-21.git-1e52860/libcore.so: undefined symbol:
>> > _ZTVN4yade6SphereE
>> >
>> > To me it seems like a liking error but I was not able to fix it. I am
>> > running kubuntu 12.04 with gcc 4.6.3 and cmake 2.8.9. I have another
>> > machine with the same operating system but cmake 2.8.7 and it is working.
>> > Any suggestions?
>> >
>> > BTW, is anyone running yade on ubuntu 12.10 or 13.04? Do you recommend to
>> > upgrade?
>> >
>> > Thnaks
>> > Klaus
>> >
>> >
>> > ___
>> > Mailing list: https://launchpad.net/~yade-dev
>> > Post to : yade-dev@lists.launchpad.net
>> > Unsubscribe : https://launchpad.net/~yade-dev
>> > More help   : https://help.launchpad.net/ListHelp
>>
>> --
>> ___
>> Bruno Chareyre
>> Associate Professor
>> ENSE³ - Grenoble INP
>> Lab. 3SR
>> BP 53
>> 38041 Grenoble cedex 9
>> Tél : +33 4 56 52 86 21
>> Fax : +33 4 76 82 70 43
>> 
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to : yade-dev@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help   : https://help.launchpad.net/ListHelp
>
> ___
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Klaus Thoeni
I actually did re-run cmake. I even deleted everything in my build directory 
to be sure. So I guess this is not the problem. Any other ideas?


On Tuesday 25 June 2013 10:48:33 Bruno Chareyre wrote:
> Did you re-run cmake?
> When new cpp files are added (and it was the case recently) it is necessary.
> 
> B
> 
> On 25/06/13 08:49, Klaus Thoeni wrote:
> > Hi guys
> > 
> > I just updated one of my machines and compiled yade. Everything went
> > smoothly but when I try to run yade I get the following:
> > 
> > thoeni@thoeni:~/YADE-git/master/build$ yade
> > Welcome to Yade 2013-06-21.git-1e52860
> > 
> > Traceback (most recent call last):
> >   File
> >   "/home/thoeni/YADE-git/master/install/bin/yade-2013-06-21.git-1e52860",> 
> > line 115, in 
> > 
> > import yade
> >   
> >   File "/home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> > 
> > gnu/yade-2013-06-21.git-1e52860/py/yade/__init__.py", line 65, in 
> > 
> > import boot
> > 
> > ImportError: /home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> > gnu/yade-2013-06-21.git-1e52860/libcore.so: undefined symbol:
> > _ZTVN4yade6SphereE
> > 
> > To me it seems like a liking error but I was not able to fix it. I am
> > running kubuntu 12.04 with gcc 4.6.3 and cmake 2.8.9. I have another
> > machine with the same operating system but cmake 2.8.7 and it is working.
> > Any suggestions?
> > 
> > BTW, is anyone running yade on ubuntu 12.10 or 13.04? Do you recommend to
> > upgrade?
> > 
> > Thnaks
> > Klaus
> > 
> > 
> > ___
> > Mailing list: https://launchpad.net/~yade-dev
> > Post to : yade-dev@lists.launchpad.net
> > Unsubscribe : https://launchpad.net/~yade-dev
> > More help   : https://help.launchpad.net/ListHelp
> 
> --
> ___
> Bruno Chareyre
> Associate Professor
> ENSE³ - Grenoble INP
> Lab. 3SR
> BP 53
> 38041 Grenoble cedex 9
> Tél : +33 4 56 52 86 21
> Fax : +33 4 76 82 70 43
> 
> 
> 
> ___
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Anton Gladky
Bruno is right. Just:

touch ${SRCDIR}/CMakeLists.txt

and compile again.

Anton


2013/6/25 Bruno Chareyre :
> Did you re-run cmake?
> When new cpp files are added (and it was the case recently) it is necessary.
>
> B
>
> On 25/06/13 08:49, Klaus Thoeni wrote:
>> Hi guys
>>
>> I just updated one of my machines and compiled yade. Everything went smoothly
>> but when I try to run yade I get the following:
>>
>> thoeni@thoeni:~/YADE-git/master/build$ yade
>> Welcome to Yade 2013-06-21.git-1e52860
>> Traceback (most recent call last):
>>   File 
>> "/home/thoeni/YADE-git/master/install/bin/yade-2013-06-21.git-1e52860",
>> line 115, in 
>> import yade
>>   File "/home/thoeni/YADE-git/master/install/lib/x86_64-linux-
>> gnu/yade-2013-06-21.git-1e52860/py/yade/__init__.py", line 65, in 
>> import boot
>> ImportError: /home/thoeni/YADE-git/master/install/lib/x86_64-linux-
>> gnu/yade-2013-06-21.git-1e52860/libcore.so: undefined symbol:
>> _ZTVN4yade6SphereE
>>
>> To me it seems like a liking error but I was not able to fix it. I am running
>> kubuntu 12.04 with gcc 4.6.3 and cmake 2.8.9. I have another machine with the
>> same operating system but cmake 2.8.7 and it is working. Any suggestions?
>>
>> BTW, is anyone running yade on ubuntu 12.10 or 13.04? Do you recommend to
>> upgrade?
>>
>> Thnaks
>> Klaus
>>
>>
>> ___
>> Mailing list: https://launchpad.net/~yade-dev
>> Post to : yade-dev@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~yade-dev
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>
>
> --
> ___
> Bruno Chareyre
> Associate Professor
> ENSE³ - Grenoble INP
> Lab. 3SR
> BP 53
> 38041 Grenoble cedex 9
> Tél : +33 4 56 52 86 21
> Fax : +33 4 76 82 70 43
> 
>
>
> ___
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp

___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp


Re: [Yade-dev] Yade does not start, linker problem?

2013-06-25 Thread Bruno Chareyre
Did you re-run cmake?
When new cpp files are added (and it was the case recently) it is necessary.

B

On 25/06/13 08:49, Klaus Thoeni wrote:
> Hi guys
>
> I just updated one of my machines and compiled yade. Everything went smoothly 
> but when I try to run yade I get the following:
>
> thoeni@thoeni:~/YADE-git/master/build$ yade
> Welcome to Yade 2013-06-21.git-1e52860
> Traceback (most recent call last):
>   File 
> "/home/thoeni/YADE-git/master/install/bin/yade-2013-06-21.git-1e52860", 
> line 115, in 
> import yade
>   File "/home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> gnu/yade-2013-06-21.git-1e52860/py/yade/__init__.py", line 65, in 
> import boot
> ImportError: /home/thoeni/YADE-git/master/install/lib/x86_64-linux-
> gnu/yade-2013-06-21.git-1e52860/libcore.so: undefined symbol: 
> _ZTVN4yade6SphereE
>
> To me it seems like a liking error but I was not able to fix it. I am running 
> kubuntu 12.04 with gcc 4.6.3 and cmake 2.8.9. I have another machine with the 
> same operating system but cmake 2.8.7 and it is working. Any suggestions?
>
> BTW, is anyone running yade on ubuntu 12.10 or 13.04? Do you recommend to 
> upgrade?
>
> Thnaks
> Klaus
>
>
> ___
> Mailing list: https://launchpad.net/~yade-dev
> Post to : yade-dev@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp
>
>
>


-- 
___
Bruno Chareyre
Associate Professor
ENSE³ - Grenoble INP
Lab. 3SR
BP 53
38041 Grenoble cedex 9
Tél : +33 4 56 52 86 21
Fax : +33 4 76 82 70 43



___
Mailing list: https://launchpad.net/~yade-dev
Post to : yade-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yade-dev
More help   : https://help.launchpad.net/ListHelp