← Back to team overview

yade-dev team mailing list archive

Re: [IMPORANT] Migration to cmake

 

2012/7/4 Christian Jakob <jakob@xxxxxxxxxxxxxxxxxxx>:
> I successfully compiled yade (2012-07-04.git-cc040a1) with cmake. As Anton
> said cmake needs a new library (libxi-dev on debian squeeze). I edited the
> installation wiki [1] for debian. Please check if in ubuntu the needed
> library has the same name and update the wiki for ubuntu installation.
>
> [1] https://yade-dem.org/wiki/Installation_of_yade_on_debian_or_kubuntu

Oh, we should probably remove that page from wiki. We have it in docs:

https://yade-dem.org/doc/installation.html#prerequisities

>
> When I try to run executable from bin or bins folder I get this message:
>
>
> Traceback (most recent call last):
>   File
> "/home/me/YADE/YADEgit20120704-cmake/bins/yade-2012-07-04.git-cc040a1", line
> 22, in <module>
>     raise RuntimeError('Neither non-debug nor debug build found!
> ('+nonDebugLibDir+'/py/yade/__init__.py,
> '+debugLibDir+'/py/yade/__init__.py)')
> RuntimeError: Neither non-debug nor debug build found!
> (./lib/yade-2012-07-04.git-cc040a1/py/yade/__init__.py,
> ./lib/yade-2012-07-04.git-cc040a1/dbg/py/yade/__init__.py)
>
> What did I do wrong?

-DINSTALL_PREFIX should be an absoule path, not relative.

Cheers,

Anton


References