Search code examples
c++eclipsedebuggingeclipse-marslibxl

Eclipse debugging error with 64 bits libXL


When trying to debug this Eclipse CDT Project compiled with Mingw-w64 (build-info.txt) and clicked Debug as Local C/C++ Application, the following error is shown:

Debug as Local C/C++ Ap

Reinstalling Mingw-w64 didn't fix the problem. A sample Hello World C++ Project compiles and debugs as expected but for any reason this Project doesn't. Maybe it has to do with the fact that it utilizes the libxl-3.6.2.0 dll from bin64 folder to read an excel file.


Eclipse configuration:

Eclipse Mars.1 (4.5.1)

  • C/C++ Development Tools 8.8.0.201509131935
  • C/C++ GDB Hardware Debugging 8.8.0.201509131935
  • C/C++ Library API Documentation Hover Help 4.1.0.201509161915

Solution

  • Debugging became possible just adding the 64 bits dll inside LibXl folder bin64 to the Debug folder (where the generated executable was created). This solution insight came from @smurff1975's comment in the following thread.