Hi,
I'm struggling with compiling and debugging mapbox-gl-native in code::blocks, and I'm not getting the results I expected.
For some reason the only compiler that is able to compile the mapbox-gl-native is clang-cl (clang version 8.0.0 (tags/RELEASE_800/final)
Target: x86_64-pc-windows-msvc
Thread model: posix
InstalledDir: C:\PROGRA~1\LLVM\bin
)
That's fine for me, but I can't get it so I can debug (step through the code in code::blocks) the sources.
Created a simple hello-world to test this toolchain and tried various linkers (lld-link, mingw32-g++, x86_64-w64-mingw32-g++, and probably some visual studio ones).
The mingw ones are complaining about a corrupt .def file and quitting after that
The lld-link is only capable (as far as I could find out) to output .pdb as symbolfile, and gdb is not able to read pdb-files.
Also lldb doesn't seem to read in the pdb file (Unable to resolve breakpoint to any actual locations. when trying to set a breakpoint in lldb)
Can anyone shed any lights on this?