question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

make.m problem in win10 & MinGW64 compiler

See original GitHub issue

I 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:open
  • Created 8 years ago
  • Reactions:78
  • Comments:73 (6 by maintainers)

github_iconTop GitHub Comments

3reactions
aalimzcommented, Jan 16, 2018

Just open the Make.m file and find all “CFLAGS”. Then replace them with “COMPFLAGS” and run the file. Hope it works for you.

1reaction
MonaSu9562commented, Jul 25, 2018

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!!!

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found