-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix C++ linking error on macOS / Windows due to missing libraries #8991
Conversation
@rerun-bot full-check |
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/13261539480 |
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/13261569569 |
8388748
to
ee9d6b4
Compare
ee9d6b4
to
5181d4d
Compare
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/13262277136 |
rerun_cpp/CMakeLists.txt
Outdated
elseif(UNIX) # if(LINUX) # CMake 3.25 | ||
target_link_libraries(rerun_c INTERFACE "-lm -ldl -pthread") | ||
elseif(WIN32) | ||
target_link_libraries(rerun_c INTERFACE ws2_32.dll Bcrypt.dll Userenv.dll ntdll.dll) | ||
target_link_options(rerun_c INTERFACE "/NODEFAULTLIB:MSVCRT") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is this needed, seems very fishy
cpp
linking error on macOS due to missing framework
s
@rerun-bot full-check |
Started a full build: https://github.com/rerun-io/rerun/actions/runs/13264430271 |
Related
What
It looks like we were missing some macOS
framework
s that are required for linkingtonic
when using native certificates.