ggerganov / whisper.cpp

Port of OpenAI's Whisper model in C/C++
MIT License
35.38k stars 3.61k forks source link

Please Help! I Cannot Build Whisper.CPP Anymore Due to Error C3688 #2442

Open AeneasZhu opened 1 month ago

AeneasZhu commented 1 month ago

After I run the following command on my Windows Powershell

cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release

it finally pops up " Error C3688 invalid literal suffix" as I posted in other issues image

Please, anyone who could help fix this problem. Thank you in advance.

jechaviz commented 3 weeks ago

image

Rafa00127 commented 2 weeks ago

It‘s a small codepage problem, you can just simply add add_compile_options("$<$<CXX_COMPILER_ID:MSVC>:/utf-8>") at the begining of the CMakeList.txt in src folder.