[Cin] New BlendAlgebra plugin install fail on Termux.

Georgy Salnikov sge at nmr.nioch.nsc.ru
Thu Feb 27 03:57:28 CET 2025


On Wed, 26 Feb 2025, Phyllis Smith via Cin wrote:

> Seems to work just fine.  Found the following.  Will still wait to
> hear back from SGE before checking it into GIT.
>
> >>> For what exactly values.h is used? ;)

Actually, values.h is not used. I added this header so that the user when
writing blend program could use predefined constants like MAXINT, MAXFLOAT,
etc.

> /* This interface is obsolete.  New programs should use
>    <limits.h> and/or <float.h> instead of <values.h>.  */

If there are already systems without values.h, then we have to remove this
header. And the user must use actualized constants names (INT_MAX instead of
MAXINT as defined in limits.h, FLT_MAX instead of MAXFLOAT as defined in
float.h), should he need them.

limits.h was already in BlendAlgebraStart/BlendProgramStart, the addition of
float.h is in the Andrew's patch, everything OK.

Phyllis, please check into GIT with Andrew's patch applied.

Andrew, it is interesting, do the plugins also run under termux (and
dynamically load the functions), have you tried?
_______________________________________________________________________________

Georgy Salnikov
NMR Group
Novosibirsk Institute of Organic Chemistry
Lavrentjeva, 9, 630090 Novosibirsk, Russia
Phone   +7-383-3307864
Email   sge at nmr.nioch.nsc.ru
_______________________________________________________________________________






More information about the Cin mailing list