Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with macro definition snprintf #1

Open
WatermelonControl opened this issue Dec 10, 2020 · 0 comments
Open

Issues with macro definition snprintf #1

WatermelonControl opened this issue Dec 10, 2020 · 0 comments

Comments

@WatermelonControl
Copy link

Hi, I tried to execute the make.m in interfaces/simulink with Matlab and Microsoft VSC 2017 as Compiler. That results in a
$ fatal error C1189: #error: Macro definition of snprintf conflicts with Standard Library function declaration

I tried to resolve this issue by removing -Dsfprintf from the CFLAGS, but that only resulted in simulink crashing everytime i execute the QProblem example model.
Afterwards I tried the MinGW Compiler afterwards, but that caused even more conflicts.

Does anyone have an idea have to resolve this conflict? I would be really grateful for any idea.
Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant