rawtoaces icon indicating copy to clipboard operation
rawtoaces copied to clipboard

Get it running on Windows using WSL

Open utjduo opened this issue 4 years ago • 5 comments

I got rawtoaces running on windows flawlessly using wsl (windows subsystem for linux). I made two batch files, one to install everything and another to convert with by draging your raw files onto it. Until we can get an official windows version, maybe adding these batch files here would help windows users, at least the batch file that helps you convert the file. Or add a link to information on how to install a WSL distro and thus being able to install rawtoaces on windows.

I installed the Ubuntu distro and followed the exact steps as on the front page here except:

  • I also install build-essential as I couldn't build anything without it
  • I'm downloading aces_container from github.com/ampas/aces_container.git
  • I added the curl to download ceres-solver-1.14.0 from ceres's webpage

Thanks for this great software!

RawToAces.zip

utjduo avatar Aug 22 '19 11:08 utjduo

This saved me a lot of time! Thanks Jacob.

thompsonalt avatar Aug 05 '20 16:08 thompsonalt

Thanks for this Jacob! Would this work just as well with WSL 2?

JoeWise avatar Oct 14 '20 23:10 JoeWise

need to also install "git" and "curl"

Ramel avatar Oct 26 '20 21:10 Ramel

RawToAces.zip I compiled a version for Windows.

mengtaiqi888 avatar Jul 18 '21 15:07 mengtaiqi888

RawToAces.zip I compiled a version for Windows.

Finally! Thank u so much! Could u write how u did it? Because it requires so many dependencies and your build is very light, amazing job. Do you think is possible to create a static lib of ceres? In order to have a single executable. Thanks

UPDATE: I did it! With VS, and all static libs. In your version there is a problem with the path of "data" folder, I made some little changes in order to fix the problem on Windows. You can easily test using for example a CR2 image for a canon powershot s90, you will see. Also if you write --valid-illums or if you set the env var "set AMPAS_DATA_PATH='your data path' ", the problem persist. You have to add the "/" before "cmf..." and "training..." and don't use FILEPATH, but use _opt.envPaths[0], setting in define.h as path="data". The big problem for me was cmp_str, because stricmp has some problems and I replaced inside the if condition !(boost::iequals(maker, ...)) and !(boost::iequals(model, ...)). I will publish further details later or in a new repo

michelerenzullo avatar Sep 22 '21 00:09 michelerenzullo