mingw/include/c++/cstdlib: stdlib.h: No such file or directory

前端 未结 2 1722
青春惊慌失措
青春惊慌失措 2020-12-18 03:08

I am trying to cross-compile OpenImageIO for 64-bit Windows on Fedora 26 using MinGW. After using yum to retrieve the mingw versions of the dependencies, I ran

2条回答
  •  我在风中等你
    2020-12-18 03:22

    I solved it, i can compile again.

    The solution (for me) is add to path the variable CPLUS_INCLUDE_PATH and set it to the MinGW c++ include directory, for me: C:\MinGW\lib\gcc\mingw32\6.3.0\include\c++.

    I hope it works for you too.

提交回复
热议问题