You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My project is dependent on ceres-solver, and the ceres-solver depends on glog and gflags.
my compiler is MSVC 14.x, and It works well without /fsanitize=address compile option. but when I turn on this (to turn on Address Sanitizer), it causes link errors like picture below:
I used to compile glog and gflags again with /fsanitize=address option added, but it doesn't work.
Anybody met similar problems?
The text was updated successfully, but these errors were encountered:
BH2WFR
changed the title
Problem with MSVC + ASAN
link error with MSVC turned on Address Sanitizer
Dec 17, 2024
You need to compile all the dependencies with ASan enabled hence the mismatch. You also seem to have enabled precompiled headers that specifically trigger the linker errors.
My project is dependent on ceres-solver, and the ceres-solver depends on glog and gflags.
my compiler is MSVC 14.x, and It works well without
/fsanitize=address
compile option. but when I turn on this (to turn on Address Sanitizer), it causes link errors like picture below:I used to compile glog and gflags again with
/fsanitize=address
option added, but it doesn't work.Anybody met similar problems?
The text was updated successfully, but these errors were encountered: