Closed emretapci closed 6 years ago
hi @emretapci.
I met same issue with windows. And I made pull request #219 to fix it.
@ekarak Can you review it?
Thanks.
I think the better solution is to remove openzwave/
prefixes in openzwave.hpp file #include
directives.
#include "Manager.h"
#include "openzwave/Driver.h"
#include "openzwave/Node.h"
#include "openzwave/Notification.h"
#include "openzwave/Options.h"
#include "openzwave/value_classes/Value.h"
@emretapci You are right. I see binding.gyp again. On Linux and Mac, binding.gyp add "**/include/openzwave/" to include path.
I delete my pull request.
Is anyone able to continue here? A version buildable on windows would be awesome!!
ok I've just pushed a new branch ( bugfix/issue#222-inclusion-paths ) that removes the paths from the #include stanzas, I'm now trying to build it on Appveyor. Apologies for the delay, I have no Windows dev environment.
Version 1.4.3 just released. This includes the fix in #222 and adds Appveyor CI support for Windows builds.
The script in binding.gyp file assigns ...\AppData\Local\OpenZWave to variable OZW_HOME and include directory is therefore ...\AppData\Local\OpenZWave\include.
But in node-openzwave-shared\src\openzwave.hpp file, openzwave include references are like
#include "openzwave/Manager.h"
. So,node-gyp rebuild
cannot find the include files.