Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get it running on Windows using WSL #116

Open
utjduo opened this issue Aug 22, 2019 · 5 comments
Open

Get it running on Windows using WSL #116

utjduo opened this issue Aug 22, 2019 · 5 comments

Comments

@utjduo
Copy link

utjduo commented Aug 22, 2019

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

@thompsonalt
Copy link

This saved me a lot of time! Thanks Jacob.

@JoeWise
Copy link

JoeWise commented Oct 14, 2020

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

@Ramel
Copy link

Ramel commented Oct 26, 2020

need to also install "git" and "curl"

@mengtaiqi888
Copy link

RawToAces.zip
I compiled a version for Windows.

@michelerenzullo
Copy link

michelerenzullo commented Sep 22, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants