glow
glow copied to clipboard
Can I build Glow on windows_10 ?
Due to the read.me , Glow can only be build on MacOs and Linuxs.
Supposedly it works to build on Windows; we’ve received PRs to make Glow build with MSVC. But none of the “core” team uses Windows (or even has Windows boxes readily available) so it’s kind of a self-supported thing.
cc: @ayermolo, who is the expert in this domain.
Right now Windows master branch is broken. Seems to be related to one of the checkins on 16th. Was going to take a look at it today, but yes in general it can be built. :) Keep meaning to add a doc for it. Just need to find time.
Short version if you are using VS 2017 you can clone: https://github.com/ayermolo/glowWindowsSupportLibraries.git
Example of cmake command: cmake ../glow -DCMAKE_GENERATOR_PLATFORM=x64 -DGLOW_WITH_OPENCL=0 -DCMAKE_PREFIX_PATH="C:\projects\llvm\llvmbuilddir64;C:\projects\glowWindowsSupportLibraries\tools\glogInstall;C:\projects\glowWindowsSupportLibraries\tools\libpngInstall;C:\projects\glowWindowsSupportLibraries\tools\protobufInstall" -Dgtest_force_shared_crt=TRUE -Dgtest_force_shared_crt=TRUE -DLINK_PROTOBUF_AS_DLL=ON
are there any updates on support for VS 2019???? there have been reported issues about a missing pthread.h file, which i'm encountering as well....