-
Notifications
You must be signed in to change notification settings - Fork 344
build on windows error #746
Comments
Hello. We have switched to use vcpkg to manage and build our dependencies, so We also have not found the time to prioritize officially testing and maintaining Windows support (in this repo), however the updated cxx-common repo has some best-effort testing for some pinned versions of the tools (see the submodules for the tools in that repo). I think you'll have the most luck on windows by cloning cxx-common with the submodules
and following the build instructions that we run in CI along with this download of LLVM-11 and other dependencies https://github.com/trailofbits/cxx-common/releases/download/v0.1.2/vcpkg_windows-vs2019_llvm-11_amd64.7z . You'll want to use 7zip to unzip that and then I believe Build remill: https://github.com/trailofbits/cxx-common/blob/33f3e591ecb57c07128ef0b2984997a5de47f581/.github/workflows/vcpkg_ci_windows.yml#L166-L182 While you won't be using the most updated commits for each tool, if you can at least get those versions to build, then you can experiment with updating each tool. As a hint, I think the latest version of remill should work, but anvill should be commit |
I also just realized that the steps in the README are outdated. I will test the above directions locally and make a PR to update them. Apologies! |
Just curious, are you able to upload prebuilt binaries for testing on windows? There are many configuration, cmake, and dependency setup steps that I have a hard time understanding. |
I have built it on windows with vcpkg and llvm11. I followed instruction very loosely and I used Pro version MS Visual Studio. It was easier to configure everything, than if I had to do it from command line. However, after building and installing I couldn't get it to run, always getting:
I would use docker but it doesn't work for me on windows, on VM it just doesn't start, natively on Windows it hangs. I can share mcsema binaries if you want to give it a try: https://mega.nz/file/IGJgTJYL#7-cRDog6MbEPxANmzMmwYB5PbVE2QgCkd_53GHxXSco |
我也希望能够直接提供windows打包好的程序,不同版本切换需要不断下载,我的环境还要配合其他项目用,如果能直接提供windows下的二进制包太感谢了 |
Hello, I've been trying to build this Mcsema project for the past few days, and I am struggling with step 5. This is the error I get with CMake:
What do I put into CMakeLists.txt?
Also, I would greatly appreciate it if mcsema prebuilt binaries for windows were uploaded to this repository.
Thank you in advance.
The text was updated successfully, but these errors were encountered: