Hexagon / node-telldus

Node bindings for telldus-core
Other
34 stars 10 forks source link

Update instructions for Windows #61

Open sondreb opened 9 years ago

sondreb commented 9 years ago

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 commented 9 years ago

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.