问题
I downloaded and unziped https://sqlite.org/2016/sqlite-src-3110100.zip. Then when trying to build as a DLL the extension spellfix
(it works on Linux though) with:
call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat"
cd sqlite-src-3110100
cl /I"src\" ext\misc\spellfix.c /link
I get:
cl : Command line error D8003 : missing source filename
Why?
回答1:
You should try:
cl /I <path to sqlite amalgation> <path-to-spellfix.c> /link /DLL /OUT:spellfix.dll
来源:https://stackoverflow.com/questions/49813006/cl-exe-error-d8003-missing-source-filename-when-building-a-sqlite-module