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

Add MinGW support #31

Merged
merged 1 commit into from
Oct 9, 2022
Merged

Add MinGW support #31

merged 1 commit into from
Oct 9, 2022

Conversation

lkwq007
Copy link
Contributor

@lkwq007 lkwq007 commented Oct 9, 2022

Hi, I just tried building with mingw-w64 and it works quite well. #5

@@ -4,6 +4,7 @@

#include <algorithm>
#include <cassert>
#define _USE_MATH_DEFINES
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For error: 'M_PI' was not declared in this scope

@@ -1,6 +1,11 @@
#include "ggml.h"

#if defined(_MSC_VER) || defined(__MINGW32__)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ggml.c:3:10: fatal error: alloca.h: No such file or directory

@ggerganov ggerganov merged commit 7edaa7d into ggerganov:master Oct 9, 2022
anandijain pushed a commit to anandijain/whisper.cpp that referenced this pull request Apr 28, 2023
jacobwu-b pushed a commit to jacobwu-b/Transcriptify-by-whisper.cpp that referenced this pull request Oct 24, 2023
kultivator-consulting pushed a commit to KultivatorConsulting/whisper.cpp that referenced this pull request Feb 12, 2024
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

Successfully merging this pull request may close these issues.

None yet

2 participants