V
V
Vadim Ushakov2021-08-16 14:01:18
linux
Vadim Ushakov, 2021-08-16 14:01:18

The include file io.h is not found, why? Where to find?

==== Building licenses (release) ====
lib_globals.cpp
In file included from deps/boost/boost/python/detail/wrap_python.hpp:57:0,
                 from deps/boost/boost/python/detail/prefix.hpp:13,
                 from deps/boost/boost/python/args.hpp:8,
                 from deps/boost/boost/python.hpp:11,
                 from src/lib_globals.cpp:13:
deps/cpython/PC/pyconfig.h:59:16: fatal error: io.h: No such file or directory
 #include <io.h>


Does io.h here mean sys/io.h (i.e. system) or some other?*

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Falaleev, 2021-08-16
@suffix_ixbt

io.h is not system ! It is in the Borland C++ library

E
Evgeny Petryaev, 2021-08-16
@Gremlin92

#ifdef _WIN32
    #include <io.h>
#else
    #include <unistd.h>
    #include <string.h>
    #include <fcntl.h>
    #include <sys/stat.h>
#endif // _WIN32

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question