scially / Cesium3DTilesConverter

Convert OSGB,Shp,GDAL To Cesium 3DTiles
GNU Lesser General Public License v2.1
389 stars 90 forks source link

使用xmake编译的时候, gdal 3.5.1这个包编译失败 #12

Open YeYongFen opened 2 years ago

YeYongFen commented 2 years ago

image

image 打开日志看,

LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib”

但是这个 sqlite3.lib文件 的 确是存在的

`

LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\iso8211\8211view.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\dted\dted_test.vcxproj.metaproj”(Rebuild 目标) (153) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\dted\dted_test.vcxproj”(Rebuild 目标) (308) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\dted\dted_test.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\bsb\bsb2raw.vcxproj.metaproj”(Rebuild 目标) (149) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\bsb\bsb2raw.vcxproj”(Rebuild 目标) (311) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\bsb\bsb2raw.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\envisat\dumpgeo.vcxproj.metaproj”(Rebuild 目标) (154) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\envisat\dumpgeo.vcxproj”(Rebuild 目标) (306) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\envisat\dumpgeo.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\ceos\ceostest.vcxproj.metaproj”(Rebuild 目标) (150) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\ceos\ceostest.vcxproj”(Rebuild 目标) (312) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\ceos\ceostest.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\dgn\dgndump.vcxproj.metaproj”(Rebuild 目标) (151) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\dgn\dgndump.vcxproj”(Rebuild 目标) (310) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\dgn\dgndump.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\dgn\dgnwritetest.vcxproj.metaproj”(Rebuild 目标) (152) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\dgn\dgnwritetest.vcxproj”(Rebuild 目标) (309) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\dgn\dgnwritetest.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\iso8211\8211dump.vcxproj.metaproj”(Rebuild 目标) (146) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\iso8211\8211dump.vcxproj”(Rebuild 目标) (314) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\iso8211\8211dump.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\envisat\envisat_dump.vcxproj.metaproj”(Rebuild 目标) (155) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\envisat\envisat_dump.vcxproj”(Rebuild 目标) (303) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\frmts\envisat\envisat_dump.vcxproj]

   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\gdal.sln”(Rebuild 目标) (1) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\s57\s57dump.vcxproj.metaproj”(Rebuild 目标) (159) ->
   “C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\s57\s57dump.vcxproj”(Rebuild 目标) (305) ->
     LINK : fatal error LNK1181: 无法打开输入文件“C:\Users\runneradmin\AppData\Local\.xmake\packages\s\sqlite3\3.39.0+200\5c303184aefa42949c3588eda1b81e7e\lib\sqlite3.lib” [C:\Users\JS_User\AppData\Local\.xmake\cache\packages\2210\g\gdal\3.5.1\source\build_905da6ea\ogr\ogrsf_frmts\s57\s57dump.vcxproj]

`

scially commented 2 years ago

问过xmake作者,是xmake的bug,已经修复,升级下xmake试试