dmlc-core icon indicating copy to clipboard operation
dmlc-core copied to clipboard

Crosscompilation fails due to incorrect case

Open qjebbs opened this issue 4 years ago • 0 comments

Windows is case-insensitive, but when cross-compiling dmlc from Linux with the MinGW tools this causes problems, because the file is named shlwapi.h in lowercase.

include/dmlc/filesystem.h (L21)

#include <Shlwapi.h>
#pragma comment(lib, "Shlwapi.lib")

src/io/local_filesys.cc (L16)

#include <Windows.h>

same issue with this one: https://github.com/mattn/mruby-pcre-regexp/issues/7

qjebbs avatar Apr 09 '21 06:04 qjebbs