Hi again,

> I get the following error message:
> ...
>   Something has changed the FPU control settings.
> ...
> Any idea how I can avoid this?

In file 'ecl/src/gc-unstable/mach_dep.c' the FPU control word is changed with 'fldcw'.  But this seems to apply only in the case of Linux.  I have the problem with Windows...  I could not find any other place where the FPU control settings are changed.  Am I missing something?

Thanks,

Dietrich



On Thu, Apr 18, 2013 at 8:43 PM, Dietrich Bollmann <dietrich@formgames.org> wrote:
>
> Hi,
>
> I would like to integrate ECL into the 3D modelling software
> "Rhinoceros" (http://en.wikipedia.org/wiki/Rhino3D).
>
> I started with the following minimal code executed from a Rhino plugin:
>
>   char *argv[] = {"Rhinoceros", NULL};
>   int argc = sizeof(argv) / sizeof(char*) - 1;
>   cl_boot(argc, argv);
>   cl_shutdown();
>
> But when loading the plugin I get the following error message:
>
>   Rhinoceros 5.0 RHINO ERROR
>   File name: rhino3MathErrorHandling.cpp
>   Line number: 256
>   Function name: RhMathErrorCheck
>   Something has changed the FPU control settings.
>   See debugger output window for details.
>
> Any idea how I can avoid this?
>
> Thanks,
>
> Dietrich
>