-
Notifications
You must be signed in to change notification settings - Fork 468
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
using "backward" in Windows OS #320
Comments
Note that For MS Windows see for reference https://github.com/bombela/backward-cpp/blob/master/BackwardConfig.cmake#L204 and https://github.com/bombela/backward-cpp/blob/master/backward.hpp#L361. By default it should just work.
|
Did I understand correctly that the link #L204 to generate my project via cmake? |
Yes it should just work. The header has pragmas to link with the right
libraries on msvc.
…On Sat, Dec 2, 2023, 07:06 paul3 ***@***.***> wrote:
Did I understand correctly that the link #L204 to generate my project via
Cmake?
If I don't use cmake and just attach the file .hpp, then should everything
work?
—
Reply to this email directly, view it on GitHub
<#320 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AABUZDDHJSTSA3WIJHMOVZLYHLAPVAVCNFSM6AAAAABADBORBGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGA2TKMZQGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Thank you very much for the quick response! You've helped me a lot. |
Hello. I have a small issue with connecting the header library "backward".
I have successfully connected "backward under Linux. I also connected the elfutils library. I built it using the make utility. I'm getting a trace.
I would really like to use "backward" to output stack traces under Windows OS as well.
At the moment, I have added a file.hpp as src. Before the main function, I wrote the following code:
I am building and compiling in the "Debug" mode. But when the program starts, the trace is not displayed.
Can you help me with connecting this header library to the Visual Studio environment in Windows?
Which connection algorithm should I reproduce?
The text was updated successfully, but these errors were encountered: