如何构建启用跟踪的 CGAL(特别是 CGAL_NEF_TRACEN)

发布于 11-06 03:30 字数 250 浏览 8 评论 0原文

我正在尝试调试 CGAL 库遇到的断言失败异常。 CGAL 在整个库中放置了很好的调试和跟踪语句,我可以使用它们来了解我的案例中发生的情况。然而,尽管付出了很多努力,我还是找不到正确的编译时标志来启用这些调试和跟踪消息。我对使用 CGAL_NEF_TRACEN 宏打印的跟踪消息特别感兴趣。我尝试使用 cmake 选项 -DCMAKE_BUILD_TYPE=Debug 进行编译,但无济于事。我对 cmake 没有太多经验。如果您知道如何执行此操作,请告诉我。

I am trying to debug an assertion failure exception I get with the CGAL library. CGAL has well placed debug and trace statements all over the library, which I can use to understand what's happening in my case. However despite many efforts I could not find the right compile time flags that will enables those debug and trace messages. I am especially interested in the trace messages printed with the CGAL_NEF_TRACEN macro. I have tried to compile with the cmake option -DCMAKE_BUILD_TYPE=Debug, but to no avail. I don't have much experience with cmake. Please let me know if you know how to do this.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

诗酒趁年少2024-11-13 03:30:28

Got the answer on cgal-discuss mailing list. Compile a debug version and set the global variable debugthread to 0.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文