-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Description
Hi
i'm trying to compile on my main dev machine with the following setup:
- Windows 10
- VS2015
- Erlang 18.2.1 (installed in C:\erl7.2.1)
- Elixir 1.2.0
When I launch mix do deps.get, compile
from the VS2015 dev console at the root of my Elixir/Phoenix project I get the following:
== Compilation error on file lib/comeonin/bcrypt.ex ==
** (MatchError) no match of right hand side value: {:error, :on_load_failure}
(stdlib) erl_eval.erl:669: :erl_eval.do_apply/6
could not compile dependency :comeonin, "mix compile" failed. You can recompile this dependency with "mix deps.compile comeonin", update it with "mix deps.update comeonin" or clean it with "mix deps.clean comeonin"
17:36:11.214 [error] Process #PID<0.239.0> raised an exception
** (MatchError) no match of right hand side value: {:error, {:load_failed, 'Failed to load NIF library d:/test/_build/dev/lib/comeonin/priv/bcrypt_nif: \'Unspecified error\''}}
lib/comeonin/bcrypt.ex:46: Comeonin.Bcrypt.init/0
(kernel) code_server.erl:1674: anonymous fn/1 in :code_server.handle_on_load/4
17:36:11.223 [warn] The on_load function for module Elixir.Comeonin.Bcrypt returned {{:badmatch,
{:error,
{:load_failed,
'Failed to load NIF library d:/test/_build/dev/lib/comeonin/priv/bcrypt_nif: \'Unspecified error\''}}},
[{Comeonin.Bcrypt, :init, 0, [file: 'lib/comeonin/bcrypt.ex', line: 46]},
{:code_server, :"-handle_on_load/4-fun-0-", 1,
[file: 'code_server.erl', line: 1674]}]}
I've found similar error messages in previous, closed issues but I'm still unable to solve my problem with the suggestions given in these threads.
Michele
Metadata
Metadata
Assignees
Labels
No labels