问题现象:
Configuring done.
but can’t generate xInt lib and dll… Please Help ~ thx
Erro is below:
CMake Error at third-party/libstudxml.build/CMakeLists.txt:52 (add_library):
** Cannot find source file:**
** C:/xlnt-master/third-party/libstudxml/libstudxml/parser.cxx**
** Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .h .hh .h++.hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .ispc**
CMake Error at third-party/libstudxml.build/CMakeLists.txt:52 (add_library):
** No SOURCES given to target: libstudxml**
原因:
github 下载xlnt时可能不包含第三方库 libstudxml
解决方案:
网上下载libstudxml的库放入third-party\libstudxml\中,重新生成即可GitHub - kamxgal/libstudxml: Mirror to https://www.codesynthesis.com/projects/libstudxml/ in version 1.1.0-b.10