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

Win32 Build-Test CMAKE_HAVE_LIBC_PTHREAD" failed #101

Closed
john0909 opened this issue Oct 27, 2022 · 3 comments
Closed

Win32 Build-Test CMAKE_HAVE_LIBC_PTHREAD" failed #101

john0909 opened this issue Oct 27, 2022 · 3 comments
Labels
build Build related issues

Comments

@john0909
Copy link

image

@CHERTS
Copy link
Contributor

CHERTS commented Oct 27, 2022

it's okey, library pthreads no needed for Windows, in file ggml.c used native implementation threads and atomic functions

@CHERTS
Copy link
Contributor

CHERTS commented Oct 27, 2022

I used this build.cmd fiel for VS2022

@echo off

pushd %~dp0
set CURR_DIR=%CD%
popd

IF EXIST "%CURR_DIR%\build" (
  rd /q /s %CURR_DIR%\build >nul 2>&1
  mkdir %CURR_DIR%\build >nul 2>&1
) else (
  mkdir %CURR_DIR%\build >nul 2>&1
)

cd %CURR_DIR%\build
cmake -G "Visual Studio 17 2022" -A x64 -DCMAKE_BUILD_TYPE=Release -DWHISPER_SUPPORT_SDL2=ON -DSDL2_PATH=%CURR_DIR%\sdl2 -Wno-dev ..
cd %CURR_DIR%

@ggerganov ggerganov added the build Build related issues label Oct 27, 2022
@ggerganov
Copy link
Owner

I am not able to maintain the Windows build because I don't have the OS. I recommend trying out WSL if problems persist.
Will close the issue now in favor of #5

mattsta pushed a commit to mattsta/whisper.cpp that referenced this issue Apr 1, 2023
)

* Write each sentence as a separate line for the txt output

Write each sentence as a separate line for the txt output

* Update utils.py

Co-authored-by: EliEron <example@example.com>
Co-authored-by: Jong Wook Kim <jongwook@nyu.edu>
kultivator-consulting pushed a commit to KultivatorConsulting/whisper.cpp that referenced this issue Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Build related issues
Projects
None yet
Development

No branches or pull requests

3 participants