64 位 libXL 的 Eclipse 调试错误

Eclipse debugging error with 64 bits libXL

尝试调试此 Eclipse CDT Project compiled with Mingw-w64 (build-info.txt) 并单击 Debug as Local C/C++ Application 时,显示以下错误:

重新安装 Mingw-w64 未能解决问题。示例 Hello World C++ 项目 可以按预期进行编译和调试,但出于任何原因,此项目没有。也许这与它利用 bin64 文件夹中的 libxl-3.6.2.0 dll 来读取 excel 文件有关。


Eclipse 配置:

Eclipse Mars.1 (4.5.1)

只需将 LibXl 文件夹 bin64 中的 64 位 dll 添加到 Debug 文件夹(生成的可执行文件的创建位置),即可进行调试。此解决方案见解来自 @smurff1975's comment in the following thread