[gecode-users] Version of gecode
Mauricio Toro
mauriciotorob at gmail.com
Thu Apr 3 18:02:04 CEST 2008
Is there other way without pkg-config?
pkg-config can be installed in mac os X,
but it is not installed by default. Then
it would be required to install pkg-config
before running the installer of Gecol.
Thanks
2008/4/3, Guido Tack <tack at ps.uni-sb.de>:
> Mauricio Toro wrote:
>
>
> > How can I know which version of Gecode I have installed?
> > Right know I am checking if the library filenames end up with 10, 9 10.0
> > but it is kind of messy.
> >
>
> You can use pkg-config. E.g.,
>
> pkg-config --modversion gecode
>
> will print the version to stdout (provided that Gecode is installed
> somewhere on the PKG_CONFIG_PATH). You can also use pkg-config to check
> that a certain version is available, e.g.
>
> pkg-config --exact-version=2.1.1 gecode
>
> will succeed if the version is found and fail otherwise. See the
> pkg-config man page for more options.
>
> Cheers,
> Guido
>
>
--
Mauricio Toro Bermudez
Estudiante de Ingeniería de Sistemas
Pontificia Universidad Javeriana, Colombia
Stagiare à l'Ircam
1, place Igor-Stravinsky 75004 Paris,
France de 2008 à 2009
More information about the gecode-users
mailing list