A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/compiler-explorer/compiler-explorer/issues/6596 below:

MinGW compilers can't find fmt headers · Issue #6596 · compiler-explorer/compiler-explorer · GitHub

Describe the bug

Attempting to #include any header from fmt when compiling with a MinGW compiler will fail with an error message similar to:

<source>:3:10: fatal error: 'fmt/format.h' file not found
#include <fmt/format.h>
         ^~~~~~~~~~~~~~
Steps to reproduce
  1. Select a MinGW compiler.
  2. Add the fmt library.
  3. Try to #include an fmt header, such as <fmt/format.h>.
  4. Observe that the compiler fails to find the header.
Expected behavior

Compiler finds all headers for installed libraries in the proper locations.

Reproduction link

https://godbolt.org/z/65dj5TdPh

Screenshots

No response

Operating System

No response

Browser version

No response


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4