Is it even possible to build Google Crashpad into DLLs instead of static libraries? I have a cross-platform application I'm trying to integrate the crashpad to, however the build system of the crashpad is limited to its defaults, disallowing one to change a toolchain without tons of pain, thus I have to build it with MSVC and only static libs (the build configuration is unable to build DLLs correctly despite some modifications of BUILD.gn files with crashpad_loadable_module). My application is built using MinGW for Windows, so it is not an option to use .lib-files generated by MSVC, therefore I need to either build it to DLL or build with MinGW. I gave up trying to build it with MinGW as there thousands of errors and missing header files. And since I can't build it to DLL (there are errors during build some test tools or something) I realized that I can try to combine required .lib files into DLL with MSVC and afterwards to use it with MinGW, but seems like it is also not a solution as MSVC refuses to build statics libs into the dynamic one. Could you please advice me some ways to solve the problem? thanks in advance
Compiling Google Crashpad as a DLL on Windows
127 Views Asked by G-Virus At
1
There are 1 best solutions below
Related Questions in VISUAL-C++
- Visual Studio C++, breakpoints not stopping debugging DLL (GODOT GDExtention)
- MSVC Compiler Template Sizeof...() not working
- Visual Studio C++ Access to path is denied
- How can I use CsvHelper to parse a string into a list of tokens?
- Unable to add request headers via CHttpFile - C++/MFC
- Is there a worked example of using CStrBufT with a CString?
- wxMediaCtrl causes access read violation when loading
- Why do I get weird class method redefinition errors when I compile with Visual C++ 2022?
- How to make VCPKG copies dependencies pdb files in output directory
- Difference between INT_MIN , INT8_MIN , INT16_MIN. For MAX too
- 'pip install mariadb' states that it cannot find include file 'mysql.h' on my Windows 10 dekstop
- Windows Custom Credential Provider is not displaying tile on logon for all users in a pc
- Why does MSVC never return struct in RAX for member-functions?
- Configure target system
- UI Interface Crashes and Hanging Issues in MFC Application
Related Questions in DLL
- How to find a sequence of bytes on the target program from my injected dll?
- .lib not generated when building DLL project using template class
- The file "spng.dll" is not founded in my Visual Studio's project and i get an error
- Handling Memory Allocation and Pointers in Electron between Node.js and C++ DLL
- Multi level project reference using dll
- Wix MSI Project Harvesting Error Message 'dll is not running' on Build
- Windows Custom Credential Provider is not displaying tile on logon for all users in a pc
- How can I verbosely track the whole process of calling a function?
- Is dll static var shared between threads that load the same dll?
- JNR-FFI - Callback Pointer crash
- How can I patch a function call to a Windows DLL (e.g. kernel32 LoadLibrary)? Is this even possible?
- PyInstaller with PyQt5 Generates "DLL load failed" Error for QtPrintSupport
- What happens if I link two different libraries providing the same symbols in Visual Studio?
- how to test .dll on Linux
- PHP FFI - How to free memory created by FFI::new("void*[2]", false, true)
Related Questions in MINGW-W64
- How do I print _Decimal32, _Decimal64, and _Decimal128 in C? (Also, what is a Printf hook and how do I add one?)
- How do I enable experimental printf functions in MinGW w64?
- How to install CMAKE on MSYS2 or MINGW64? (all servers return 404)
- How to obtain mingw-w64 version 9.3.0 or older for MSYS2?
- libunwind cannot resolve symbol names
- Strawberry Perl using a separate winlibs distro
- Does _memimporter still exist in py2exe?
- How can I move my MSYS2 folder to another folder (both in the D driver) if possible?
- can't find linker script when cross compiling for win32 from linux
- Cannot use Debugger in Codeblocks for AVR-Project
- Troubleshooting MSYS64 Installation Issues
- Mingw console application opens a separate console window even when starting from Windows Console
- Mingw64 and Python 3.12.2 conflict in VS code
- ERROR_MOD_NOT_FOUND and __thread in DLLs
- Not possible to run subset of targets in parallel with Gnu Make 4.3 (MinGW-w64 port)
Related Questions in CRASHPAD
- Where can I find the report that crashpad generate?
- Integrating Crashpad
- Compiling Google Crashpad as a DLL on Windows
- Crashpad not generating a crash report after qml is executed
- Crashpad how to set the dump level in windows? I want to adjust to Full dump。
- libcrashpad_handler.so: library "libc++_shared.so" not found: needed by main executable
- Crash a thread in a Win32 application
- Debugging Chrome Crashpad crash report from Mac
- Integrating Crashpad with Qt on Linux
- No Module error from minidump_stackwalk in Breakpad
- How to get crashed process id from a minidump file
- How do I fix a crashpad compilation error (for windows)
- Integrating Crashpad with a Windows Qt application
- Integrating Crashpad with MacOS Qt application
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I found a fork of crashpad that is using CMake as a build system and has a patch for MinGW. After a couple of tweaks I have successfully built it as static libraries and now it generates dump-files very well. Not us but the crashpad devs should care of such things