MeshLib icon indicating copy to clipboard operation
MeshLib copied to clipboard

Debugging from/in another project

Open Doomerdinger opened this issue 1 year ago • 1 comments

I am encountering an issue where MR::dividePolylineWithPlane causes an infinite loop on an ARM and/or Mac (seems to work fine on x86 linux).

I want to debug the code, but I struggle to add MeshLib as a sub-project of my project to enable the debugging of meshlib code. I encounter many CMake issues. I tamped down the first few, but before I continue down this path I was wondering if this is a supported workflow and I am missing something easy to make it work.

Doomerdinger avatar Dec 09 '24 18:12 Doomerdinger

Hello, right now MeshLib doesn't support including as a subdirectory. You might copy-paste the CMakeLists.txt file contents to your config and edit paths to MeshLib directories. We'll create a minimal config file example for your case and notify you later.

oitel avatar Dec 10 '24 14:12 oitel