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

Robert D. Vincent robert.d.vincent at mcgill.ca
Mon Jun 20 11:00:06 EDT 2016


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
>


More information about the MINC-users mailing list