make.m problem in win10 & MinGW64 compiler
See original GitHub issueI am on a windows 10 with matlab r2015b and MinGW64. When I run make.m I encountered with gcc: error: \-fexceptions: No such file or directory
. I solved it by changing CFLAGS
to COMPFLAGS
.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:78
- Comments:73 (6 by maintainers)
Top Results From Across the Web
failed to compile C code with MinGW on windows 10
I am using Matlab 2016b on window 10 platform. I have installed MinGW64 4.9.2 Compiler on my machine, which is supposed to support...
Read more >MINGW64 "make build" error: "bash: make: command not found"
Go to https://sourceforge.net/projects/mingw/postdownload and download it. After the installation is over, go and check if bin folder is present ...
Read more >Get Started with C++ and Mingw-w64 in Visual Studio Code
If you don't see the expected output or g++ or gdb is not a recognized command, make sure your PATH entry matches the...
Read more >Setting up MinGW-w64 - Eclipse
Install MinGW-w64 ... MinGW-w64 comprises development tools for compiling and debugging. Download the Mingw-w64 Installer from here and follow the steps in the ......
Read more >MinGW - Minimalist GNU for Windows download - SourceForge
Download MinGW - Minimalist GNU for Windows for free. A native Windows port of the GNU Compiler Collection (GCC) This project is in...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Just open the Make.m file and find all “CFLAGS”. Then replace them with “COMPFLAGS” and run the file. Hope it works for you.
I am on win10 x64 also and I also use r2018a and MinGW64. I replaced all the CFLAGS by COMPFLAGS. But it doesn’t work… Please save me!!!
It works now! I am toooooo stupid. I just restart the Matlab and then it works! Many thanks!!!