gcc: error: \-fexceptions: No such file or directory

134 views
Skip to first unread message

Ysaline Bossicard

unread,
May 5, 2021, 6:20:10 AM5/5/21
to COBRA Toolbox
Hello,

I'm trying to run a fastFVA on Matlab 2020b and CPLEX 12.10. I had encountered the following error:

Warning: The most recent cplexFVA binaries are only tested for CPLEX version 128. However, you have
installed version 1210. If you experience an error using fastFVA, you need to run: >>
generateMexFastFVA() in order to generate a new cplexFVA binary file that matches cplex version1210

When running the generateMexFastFVA, I get another error :

Error using generateMexFastFVA (line 93)
The CPLEX library C:\Program Files\ibm\ILOG\CPLEX_Studio1210\cplex\lib\x64_windows_vs2013\stat_mda does
not exist. Please install the CPLEX solver as explained here.


However, when running it I got another error:

Error using mex
gcc: error: \-fexceptions: No such file or directory

I found a page that gave a solution but I do not understand it so well: https://nl.mathworks.com/matlabcentral/answers/279171-using-mingw-compiler-and-open-mp

Any help would be very appreciated.

Kind regards,

Ysaline Bossicard
 

Ronan M.T. Fleming

unread,
May 5, 2021, 2:55:59 PM5/5/21
to COBRA Toolbox
Hi Ysaline,
the cplexFVA.c code needs to be updated because CPLEX changed the way
they refer to certain pointers. Please see older threads on this. We
need someone brave enough to tackle the c code and fix it. Hopefully
it is you.
Regards,
Ronan
> --
>
> ---
> You received this message because you are subscribed to the Google Groups "COBRA Toolbox" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to cobra-toolbo...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/cobra-toolbox/fc59039f-14ca-43e8-a049-d030fe623ed2n%40googlegroups.com.



--
--
Mr. Ronan MT Fleming B.V.M.S. Dip. Math. Ph.D.
----------------------------------------------------------------------------
Assistant Professor,
Division of Systems Biomedicine and Pharmacology,
Leiden Academic Centre for Drug Research,
Faculty of Science,
Leiden University.
https://www.universiteitleiden.nl/en/staffmembers/ronan-fleming
&
H2020 Project Coordinator,
Systems Medicine of Mitochondrial Parkinson’s Disease,
http://sysmedpd.eu
&
Senior Lecturer,
School of Medicine,
National University of Ireland, Galway.
----------------------------------------------------------------------------
Peer-reviewed publications: https://goo.gl/FZPG23
Mobile: +353 852 109 806
Skype: ronan.fleming
----------------------------------------------------------------------------
(This message is confidential and may contain privileged information.
It is intended for the named recipient only. If you receive it in
error please notify me and permanently delete the original message and
any copies.)
Reply all
Reply to author
Forward
0 new messages