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

Update instructions for Windows #61

Open
sondreb opened this issue Dec 7, 2014 · 1 comment
Open

Update instructions for Windows #61

sondreb opened this issue Dec 7, 2014 · 1 comment

Comments

@sondreb
Copy link

sondreb commented Dec 7, 2014

The node-gyp relies on older (2010?) C++ compiler to work, few developers have this installed any longer so the installation will fail unless alternative compiler is specified.

Append --msvs_version=2013 to the install command (npm install) to use Visual Studio 2013, or replace with 2012.

npm install telldus --msvs_version=2013

Also add a link to the C++ redist that is required to compile this, with a comment to get the 32-bit version: http://www.microsoft.com/en-us/download/details.aspx?id=40784

Though I'm getting errors still that I really can't find a solution too...

LINK : fatal error LNK1181: cannot open input file 'TelldusCore.lib'

I even tried adding the Telldus-dev path to my PATH environment variables.

@Hexagon
Copy link
Owner

Hexagon commented Dec 7, 2014

Cool, i'll update the readme before next version.

Have a look at the library-dirs in binding.gyp, you need to have a matching path there. Because of unknown reasons it doesn't help to add this path in env variablables, so i have tried to pre-enumerate all possible locations.

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

2 participants