The execinfo.h header file does not exist

12,539

This header is Linux specific. If the functionality is optional, you should #ifdef __linux__ the #include <execinfo.h> as well as any code chunks requiring backtrace or backtrace_symbols.

Share:
12,539
St.Antario
Author by

St.Antario

Updated on June 17, 2022

Comments

  • St.Antario
    St.Antario almost 2 years

    I'm using the latest cygwin 1.7.34(0.285/5/3) full version. The issue I came across is that there was no execinfo.h, so a compiler prints error messages about absence of the file. How can I fix that problem? Has someone already faced that issue?