[MINC-users] Retrieve MINC library version from C code

Matthijs van Eede matthijs.vaneede at sickkids.ca
Mon Jun 20 11:23:16 EDT 2016


That works, thanks Bert!

Matthijs
________________________________________
From: minc-users-bounces at bic.mni.mcgill.ca [minc-users-bounces at bic.mni.mcgill.ca] on behalf of Robert D. Vincent [robert.d.vincent at mcgill.ca]
Sent: Monday, June 20, 2016 11:00 AM
To: MINC users mailing list
Subject: Re: [MINC-users] Retrieve MINC library version from C code

Hi,

See miget_version(), which unfortunately just returns a string.

    -bert

On Mon, Jun 20, 2016 at 10:17 AM, Matthijs van Eede <
matthijs.vaneede at sickkids.ca> wrote:

> Hi All,
>
> When libminc is installed using cmake, a version is set using
> version_major, version_minor and version_patch. And running something like:
>
> mincresample -version
>
> will return the version of the MINC library used. Is that information
> available through the library itself? I've looked around, but couldn't find
> it. Is there a library function call that returns this information
> (something along the lines of MINCget_libversion(&major, &minor, &patch))?
>
> Thanks,
> Matthijs
>
> ________________________________
>
> This e-mail may contain confidential, personal and/or health
> information(information which may be subject to legal restrictions on use,
> retention and/or disclosure) for the sole use of the intended recipient.
> Any review or distribution by anyone other than the person for whom it was
> originally intended is strictly prohibited. If you have received this
> e-mail in error, please contact the sender and delete all copies.
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
_______________________________________________
MINC-users at bic.mni.mcgill.ca
http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users

________________________________

This e-mail may contain confidential, personal and/or health information(information which may be subject to legal restrictions on use, retention and/or disclosure) for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received this e-mail in error, please contact the sender and delete all copies.


More information about the MINC-users mailing list