1.2 KiB
1.2 KiB
| post_title | author | layout | published | post_date | tags | |
|---|---|---|---|---|---|---|
| Today I Learned #3: Solving Comeonin problems on Windows! | dreat | post | true | 2017-09-27 07:00:52 |
|
Hello there!
I did some Elixir tutorial back in the day and there was a need for Comeonin lib. It's used for hashing passwords, so you store them securely. I had enormous problems with mix deps.compile because of it.
Here's what you do if you stumble with deps error
- The long way:
- Open cmd
- Go to Program Files (x86)\Microsoft Visual Studio 14.0\VC
- Type vcvarsall.bat amd64
- !important! using THE SAME cmd window go to you project
- Compile - you have to redo all the steps everytime :(
- Easy way:
- Use Pbkdf2 algorithm. It needs no C compiler :D
PS: What's funny for some there's no need for being in the same console/repeating those steps, but I wasn't that lucky :(