JuliaPOMDP / SARSOP.jl

Julia package that wraps the SARSOP software for solving POMDPs/MDPs
Other
14 stars 7 forks source link

Building on Windows #4

Closed jeroen closed 8 years ago

jeroen commented 8 years ago

I can build the sarsop binaries on Mac and Linux, but not on Windows. From build.js it looks like this is supported? Has anyone been successful at compiling this with mingw-w64?

mykelk commented 8 years ago

I built the binaries using MSVC and posted them. I haven't tried mingw-w64. I tried it with cygwin a while ago, and I seem to recall that the MSVC version was a bit faster.

jeroen commented 8 years ago

Where did you post them? I would be interested in a copy :)

jeroen commented 8 years ago

Ah right they are here: http://web.stanford.edu/group/sisl/resources/appl-0.96-win-x64.zip. You don't happen to have a x32 builds by any chance?

mykelk commented 8 years ago

Yep, just posted them here. Feel free to modify the build script to detect 32 bit and file a PR.

jeroen commented 8 years ago

Hmmm the win32 executables don't run on my machine due to a missing missing MSVCP140.dll and VCRUNTIME140.dll. The x64 executables depend on MSVCP120.dll and MSVCR120.dll which for whatever reason is present on my machine.

Would it be possible to build the 32 and 64 bit executables against the same VC runtime?

screenshot
mykelk commented 8 years ago

I tried a static compile so you don't need those dependencies. Try redownloading and let me know if it works!

jeroen commented 8 years ago

Fantastic, this works. Do the 64bit executables have runtime dependencies? I think VS2013 runtime is installed on my system, so I can't check if it would work on a vanilla windows box.

mykelk commented 8 years ago

Just posted the 64 bit version without runtime dependencies.