You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only compiler officially supported by MATLAB in Windows is Visual C++, and it doesn't allow for the C99 standard. There are some minor incompatibilities in our code that can be easily fixed. However, two functions we employ, erfc and log1p, are not available in the Visual C++ standard libraries (they are only available in C99 implementations of math.h)
There are a few solutions I can think of
using the implementations of erfc and log1p provided by some other library (e.g. Boost), but that would add extra dependencies;
using some other compiler. I was able to generate 64bit binaries in Windows with TDM-GCC and Gnumex. The user would have to set 'em up, though.
providing 32/64bit binaries for Windows users.
Thanks to Marina Pulley for reporting the issue.
The text was updated successfully, but these errors were encountered:
I don't really like the idea of providing the binaries directly, and I think we might have some problems making sure those are updated consistently in the future (mostly just because we don't all have working Windows distros :)
Perhaps Option 1 would be better long term strategy while Option 2 should probably be included in the Readme files to make sure that Windows users know where to go to attempt to build the code until Option 1 is finished.
The only compiler officially supported by MATLAB in Windows is Visual C++, and it doesn't allow for the C99 standard. There are some minor incompatibilities in our code that can be easily fixed. However, two functions we employ, erfc and log1p, are not available in the Visual C++ standard libraries (they are only available in C99 implementations of math.h)
There are a few solutions I can think of
Thanks to Marina Pulley for reporting the issue.
The text was updated successfully, but these errors were encountered: