#fatal error: direct.h: No such file or directory

1 messages · Page 1 of 1 (latest)

maiden hedge
#

im trying to port my projects to windows. during compilation i get direct.h not found error.
it seamed mingw-w64-i686-headers-git had it so i installed it but i still ge the same error.

im using mingw32 to compile and im on arm64 windows 11(running on VM)

frozen crypt
#

Please provide the steps to reproduce the issue.

maiden hedge
#
  1. open msys2 mingw32
  2. pacman -S mingw-w64-i686-headers-git mingw-w64-i686-cmake make
  3. goto to build folder of the project
  4. cmake .. (also tried make with same error)
  5. ninja -j4
  6. fatal error: direct.h: No such file or directory
#

in compile definition i had to manually add -mwin32

frozen crypt
#

what project?

#

also, can it be reproduced with 64 bit environemnts?

maiden hedge
maiden hedge
#

i wasnt getting not found error when i was trying to compile on linux with mingw32