-
-
Notifications
You must be signed in to change notification settings - Fork 37
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
sentry.lib missing debugging info, adds warnings to builds #527
Comments
I assume the above warnings could be related to how we build |
@tustanivsky I believe this is new for us in 0.15.1 and we were previously on 0.13 in case that helps! |
Hey @riot-pmaconi, when is this happening for you or how are you running into this? Are you using a source-built version of the engine? |
Hi @bitsandfoxes - this shows up in our build logs when compiling the engine from source. |
@Swatinem, @supervacuus could you help us out here: Is there something missing from the way we build |
There can be many reasons why this warning appears. Off the top of my head, the most apparent aspects: The logs show that the quotes are empty. They should contain a path to a The latter seems plausible since you set Nonetheless, it is possible to include debug information in a static library (which will increase in size), which the linker will later use to generate the You can create a set(CMAKE_C_FLAGS_RELWITHDEBINFO "/Z7 /O2 /Ob1 /DNDEBUG" CACHE STRING "C Flags for RelWithDebInfo" FORCE)
set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "/Z7 /O2 /Ob1 /DNDEBUG" CACHE STRING "CXX Flags for RelWithDebInfo" FORCE) Then apply it during the CMake configuration phase like this: cmake -B "build"
-DSENTRY_BACKEND=crashpad
-DSENTRY_SDK_NAME=sentry.native.unreal
-DSENTRY_BUILD_SHARED_LIBS=OFF
-C static_debug_info.cmake Can you reproduce the warnings locally to test against this change @tustanivsky and @bitsandfoxes? |
Environment
How do you use Sentry?
Sentry SaaS
Which version of the SDK?
0.15.1
How did you install the package? (Git-URL, Assetstore)
git
Which version of Unreal?
5.3
Is this happening in Unreal (editor) or on a player like Android, iOS, Windows?
This is happening during build instead of at runtime
Steps to Reproduce
Expected Result
Sentry does not introduce new warnings into the build
Actual Result
A significant number of linking warnings are generated
Any logs or screenshots
The text was updated successfully, but these errors were encountered: