cl.exe error D8003 (missing source filename) when building a Sqlite module

ⅰ亾dé卋堺 提交于 2019-12-24 15:16:51

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!