miguelszerman

miguelszerman

NMAKE: fatal error U1052: file 'Makefile.win' not found ( VIX, Image )

I’m trying to install Image library in Windows 10. So far:

  1. I added {:image, "~> 0.14.0"} to mix.exs.
  2. I installed libvips by downloading and extracting 'vips-dev-w64-web-8.13.3’ into my Program Files folder. Then I added vips.exe to the environmental variable PATH.
  3. I added make.exe to PATH from the Visual Studio Code.

When I try to compile my mix project with mix deps.compile I have the following error:

==> vix

Microsoft (R) Program Maintenance Utility Version 14.29.30145.0
Copyright (C) Microsoft Corporation. All rights reserved.

NMAKE : fatal error U1052: file ‘Makefile.win’ not found
Stop.
could not compile dependency :vix, “mix compile” failed. Errors may have been logged above. You can recompile this dependency with “mix deps.compile vix”, update it with “mix deps.update vix” or clean it with “mix deps.clean vix”

I suspect I might be missing one of the steps under vix, the library Image is built upon, installation requirements. I’m not sure what is meant neither by ‘pkg-config’ nor ‘libvips with development headers’.

Marked As Solved

akash-akya

akash-akya

Unfortunately, Windows is not supported at this moment. I will try to find time and look into this. You can track it here Add support for Windows · Issue #79 · akash-akya/vix · GitHub

Not sure if this helps, you should be able to use it in WSL, if you have that option.

Where Next?

Popular in Questions Top

senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
marius95
Hello everyone, I try to use an Javascript Event Handler in my root.html.leex file. Therefore I created a function in the app.js file: ...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
Tee
can someone please explain to me how Enum.reduce works with maps
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New
minhajuddin
I have seen a lot of code which picks the first element from a list using Enum.at(0) instead of List.first. Is there a reason why people ...
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
vegabook
I’m brand new to Phoenix and I have stripped one of the demo applications to the bone. I just want to get an svg up on the screen. Here i...
New

Other popular topics Top

malloryerik
Hi, this is for people who, like me, have had some friction using .html.heex templates in VSCode. The solution seems to be, in a hyphena...
New
senggen
Erlang/OTP 25 [erts-13.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] 15:22:35.803 [error] gen_event {lager_file_backend...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
lessless
I believe there are people here who are dealing with CSV files import on the daily basis, and since Excel is a really popular tool there ...
New
electic
Hi, I am new to Elixir. I am trying to use the DateTime component to insert a date into MySQL however the there seems to be no way to fo...
New
SoCreat
i’m a new one to elixir which editor can i use vs code? or atom? Thanks! :smiley:
New
aalberti333
As the title describes, I’m trying to run Enum.map() over a list of key/value pairs, where the value is a map. My data looks like this: ...
New
axelson
This post is a wiki (feel free to hit the edit button near the bottom right of this post to add your own changes!) This post collects co...
239 48342 226
New
PeterCarter
There are pre-rolled solutions for other frameworks that do work. However, Phoenix does not seem to have these. Have people had good expe...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement