mozilla / DeepSpeech

DeepSpeech is an open source embedded (offline, on-device) speech-to-text engine which can run in real time on devices ranging from a Raspberry Pi 4 to high power GPU servers.
Mozilla Public License 2.0
25.43k stars 3.98k forks source link

LINK : fatal error LNK1561: entry point must be defined #3788

Open shadow-wxh opened 9 months ago

shadow-wxh commented 9 months ago

This is the output from windows10 command prompt

F:\My_Projects\DeepSpeech\native_client>F:\cygwin\bin\make deepspeech 'F:\VS2019\VC\Tools\MSVC\14.29.30133\bin\Hostx64\x64\'cl.exe /cygdrive/f/My_Projects/DeepSpeech/tensorflow\bazel-bin\native_client\libdeepspeech.so.if.lib deepspeech.cc -o deepspeech Microsoft (R) C/C++ Optimizing Compiler Version 19.29.30152 for x64 Copyright (C) Microsoft Corporation. All rights reserved.

cl : Command line warning D9035 : option 'o' has been deprecated and will be removed in a future release cl : Command line warning D9002 : ignoring unknown option '/cygdrive/f/My_Projects/DeepSpeech/tensorflow\bazel-bin\native_client\libdeepspeech.so.if.lib' deepspeech.cc

.................. .................. ..................

F:\My_Projects\DeepSpeech\native_client\ctcdecode\third_party\openfst-1.6.9-win\src\include\fst/lookahead-matcher.h(620): warning C4305: 'initializing': truncation from 'unsigned int' to 'bool' Microsoft (R) Incremental Linker Version 14.29.30152.0 Copyright (C) Microsoft Corporation. All rights reserved.

/out:deepspeech.exe /out:deepspeech.exe deepspeech.obj Creating library deepspeech.lib and object deepspeech.exp LINK : fatal error LNK1561: entry point must be defined make: *** [: deepspeech] Error 2