Skip to content

Compilation with ReleaseWithDebugInfo stucks on Xcode. - #469

Merged
michalpelka merged 3 commits into
mainfrom
mp/strip_debug_symbols_jacobians
Aug 1, 2026
Merged

Compilation with ReleaseWithDebugInfo stucks on Xcode.#469
michalpelka merged 3 commits into
mainfrom
mp/strip_debug_symbols_jacobians

Conversation

@michalpelka

Copy link
Copy Markdown
Contributor

We compile automatic jacoians (24 k chars headers) without debug symbols.

Michal and others added 3 commits July 30, 2026 22:54
We compile automatic jacoians (24 k chars headers) without debug symbols.
pair_wise_iterative_closest_point.cpp stayed in CORE_BASE_SOURCES while
pose_graph_loop_closure.cpp (which calls PairWiseICP::compute) moved to
CORE_MATH_SOURCES, splitting a symbol and its only definition across two
static libs with a link-order dependency in the wrong direction. This broke
linking for any executable that pulls in PoseGraphLoopClosure without
referencing PairWiseICP directly, e.g. multi_view_tls_registration_step_2.

pair_wise_iterative_closest_point.cpp also includes an auto-generated
Jacobian header, so it belongs in core_math anyway.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DiH2pr8ruiHu6k7Y2wSXS2
pair_wise_iterative_closest_point.cpp (moved into core_math in the previous
commit) calls get_rgd_index_3d(), which lived in hash_utils.cpp under
CORE_BASE_SOURCES -- reintroducing the same cross-archive circular
dependency, just in the opposite direction (core_math needing a symbol
from core/core_no_gui instead of the other way around). Nothing else in
CORE_BASE_SOURCES/CORE_GUI_SOURCES calls into core_math, so moving
hash_utils.cpp there too makes the dependency one-directional again
(core/core_no_gui -> core_math, never the reverse).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DiH2pr8ruiHu6k7Y2wSXS2
@michalpelka
michalpelka merged commit 7612b71 into main Aug 1, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant