glow
glow copied to clipboard
Unable to build Glow on Windows
Hi,
I would like to build a Glow on my Windows x64 machine. For now, I’m working inside a virtual machine.
I went to https://github.com/pytorch/glow 1 and I followed docs/GlowWindowsBuildx86.md. I used the prebuild version of LLVM and I did other steps successfully, but I have a problem with building the Glow. There are missing pthread.h and failed tests HAVE_GNU_POSIX_REGEX and HAVE_POSIX_REGEX during the execution of CMake command and a lot of warnings and linker errors(multiple definitions of symbols, etc.) during the build step. Also, only four executable files are generated, but I suppose there should be a lot.
Can you please tell me are there some additional steps that should be done in order to compile Glow properly.
I installed the newest Windows SDK, CMake, Python, and Visual Studio Community 2019 with C/C++ Development Kit.
Thanks in advance.
P.S. On PyTorch forum, @jfix71 suggested I tag @mciprian13 and @ayermolo.
@milivoje96 At least here locally we haven't tested it with VS 2019, and are using VS2017. This might be a potential issue. When you say you are using prebuild version of llvm. Is that just executables? You also need the libraries. Those are built manually, on windows, as far as I am aware. Did you install folly using vcpkg?
are there any updates here??? i've run into the same problem as @milivoje96.... as for the pre-built version of llvm, it contains the include/ and lib/ directories as well as bin/.... and yes, folly was installed using vcpkg....