1.3 KiB
1.3 KiB
| ID | post_title | author | post_excerpt | layout | permalink | published | post_date |
|---|---|---|---|---|---|---|---|
| 168 | Today I Learned #3: Solving Comeonin problems on Windows! | dreat | post | http://dreat.info/2017/09/27/today-i-learned-3-solving-comeonin-problems-on-windows/ | 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 :(