-
-
Notifications
You must be signed in to change notification settings - Fork 169
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
Problem building Crashpad with MSVC16 in 32bit mode #182
Comments
I would very much appreciate that. I only learned CMake a few week ago for this project, and I’m sure I can still learn a lot about it. master now has a broader set of tests, also building the crashpad backend on 32bit VS2017, and 64bit VS2019. We can extend the list further if needed, for example cross-compiling 32bit from a 64bit VS2019 toolchain like you are trying to do here. |
@tru can you try this again with the latest |
I will close this for now, please re-open if you are still having problems |
It's not clear how to build the 32bit crashpad backend with VS2019. The result binaries are 64bit anyway even building with VS2019 x86 Native Tools environment. |
Use Something like,
|
Hello,
I was trying to build this project under visual studio 2019 in 32-bit mode. It failed because problematic flags where passed to the assembler:
This can be fixed in your crashpad cmakefile.txt by adding a generator expression that only applies the flags to the C++ files:
$<$<COMPILE_LANGUAGE:CXX>/wx>
for example. Also it should not usetarget_compile_definitions
but rathertarget_compile_options
for those things.I solved it by removing the
/WX
flag for now and that made it build.Thanks for adding a CMake based build system for crashpad - I was already working on that for our applications but now that you have added it I might shift and help you with patches if I have the time.
The text was updated successfully, but these errors were encountered: