What C-compiler do I need to be able to use IGES toolbox ?

I have Windows 7 and try to use the IGES toolbox but don't know what C-compiler I should install?
Thank you

1 commentaire

DR
DR le 25 Juin 2019
I'm having the same size issue with IGEStoolbox. makeIGESmex.m status display show:
I get the following error message when running the 'example.igs' IGES files (141 KB filesize):
Error using nrbSrfRegularEvalIGES
Requested 12884901926x80 (3840.0GB) array exceeds maximum array size preference.
Running another IGS file (8,129 KB filesize) I get a similar error:
Requested 12884902800x1000 (48000.0GB) array exceeds maximum array size preference.
Any suggestions on the how to fix this problem?
I'm running MATLAB 2019a and using the Microsoft Visual C++ 2017 (C) compiler. I've tried installing the MinGW-w64 C/C++ compiler v 19.1.0 (Matlab Add-On Manager confirms it is available), deleting the mex files, and ran makeIGESmex.m again. MS Visual C++ 2017 overrides the MinGW compiler.

Connectez-vous pour commenter.

 Réponse acceptée

Sanjana Ramakrishnan
Sanjana Ramakrishnan le 18 Sep 2017
Modifié(e) : Walter Roberson le 18 Sep 2017
Based on the below file exchange link for IGES toolbox, it looks like you need C compiler to build mex files: https://www.mathworks.com/matlabcentral/fileexchange/13253-iges-toolbox
The following are the list of supported compilers in MATLAB: https://www.mathworks.com/support/compilers.html
You can use any of the supported C compiler mentioned in the above link.

8 commentaires

Hi Sanjana'
Isn't it must be Microsoft Windows SDK 7.1 ?
SDK 7.1 should work for that on Windows 7 for MATLAB R2011b to R2017a.
Faez Alkadi
Faez Alkadi le 18 Sep 2017
Modifié(e) : Faez Alkadi le 18 Sep 2017
That is true. but is it a MUST to have SDK 7.1 to work on IGES toolbox? or any other compiler would work?
Any compiler supported by your release should do. Well, unless you are using R2015b or earlier in 32 bit mode and you are using lcc as your compiler: lcc 32 bit can have problems in some cases.
Jan
Jan le 18 Sep 2017
Modifié(e) : Jan le 18 Sep 2017
@Faez: What exactly is your problem. You can try the SDK7.1 or another compiler as you like. You will see, if it is working. Perhaps you want to contact the author and ask, if he has experiences with a specific compiler.
Installing a compiler and trying to build the files will take less than an hour, perhaps 10 minutes only. But you wait for the answer in the forum for 6 days now.
@Jan: I have installed SDK 7.1 twice but i always get the next error:
Warning: Windows SDK 7.1 appears to be installed, but its compiler was not found. Install .NET Framework 4.0, and then rerun the SDK installation to add the "Visual C++ Compilers" component. See http://www.mathworks.com/support/solutions/en/data/1-IB1G3Q/ for more information.
> In makeIGESmex (line 41)
Jan
Jan le 19 Sep 2017
Modifié(e) : Jan le 19 Sep 2017
Thank you Jan. It works now

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Troubleshooting in MATLAB Compiler SDK dans Centre d'aide et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by