yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #02573
Re: Build errors
> Hi, I have the following errors with the packages in build... The
> fresh installation was ok. I then copied the junk(beginner test)
> files from my old installation. It couldn't compile, then I deleted
> them. I got these errors.
>
> L libpackages.so
> /home/chiab/yadeNew/build-b1/packages3.os: In function
> `SimpleElasticRelationshipsWater::SimpleElasticRelationshipsWater()':
> packages3.cpp:(.text+0x0): multiple definition of
> `SimpleElasticRelationshipsWater::SimpleElasticRelationshipsWater()'
> /home/chiab/yadeNew/build-b1/packages2.os:packages2.cpp:(.text
> +0x1250): first defined here
I know about this, the env.Combine builder sometimes gets things wrong
(when you add/remove a file to compile via features), I don't know
why... You should remove the build dir (rm
-rf /home/chiab/yadeNew/build-b1) and recompile, it will be fine.
HTH, Vaclav
Follow ups
References