durs / node-activex

Node.JS Implementaion of ActiveXObject
MIT License
329 stars 62 forks source link

../src/stdafx.h:5:10: fatal error: SDKDDKVer.h: No such file or directory #66

Closed dxkirt3 closed 4 years ago

dxkirt3 commented 4 years ago

When I tried to push my app to Heroku, I encountered this error related to winax installation.

remote: -----> Installing dependencies
remote:        Prebuild detected (node_modules already exists)
remote:        Rebuilding any native modules
remote:
remote:        > winax@1.14.0 install /tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax
remote:        > node-gyp rebuild
remote:
remote:        make: Entering directory '/tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax/build'
remote:          CXX(target) Release/obj.target/node_activex/src/main.o
remote:        In file included from ../src/main.cpp:7:0:
remote:        ../src/stdafx.h:5:10: fatal error: SDKDDKVer.h: No such file or directory
remote:         #include <SDKDDKVer.h>
remote:                  ^~~~~~~~~~~~~
remote:        compilation terminated.
remote:        node_activex.target.mk:111: recipe for target 'Release/obj.target/node_activex/src/main.o' failed
remote:        make: *** [Release/obj.target/node_activex/src/main.o] Error 1
remote:        make: Leaving directory '/tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax/build'
durs commented 4 years ago

winax support only windows platforms, used windows api directly

ср, 25 мар. 2020 г. в 18:38, dxkirt3 notifications@github.com:

When I tried to push my app to Heroku, I encountered this error related to winax installation.

remote: -----> Installing dependencies remote: Prebuild detected (node_modules already exists) remote: Rebuilding any native modules remote: remote: > winax@1.14.0 install /tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax remote: > node-gyp rebuild remote: remote: make: Entering directory '/tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax/build' remote: CXX(target) Release/obj.target/node_activex/src/main.o remote: In file included from ../src/main.cpp:7:0: remote: ../src/stdafx.h:5:10: fatal error: SDKDDKVer.h: No such file or directory remote: #include remote: ^~~~~ remote: compilation terminated. remote: node_activex.target.mk:111: recipe for target 'Release/obj.target/node_activex/src/main.o' failed remote: make: *** [Release/obj.target/node_activex/src/main.o] Error 1 remote: make: Leaving directory '/tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax/build'

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/durs/node-activex/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMMNLMJBSQSM3EUT2OVYDRJIQQFANCNFSM4LTRL7LA .

dxkirt3 commented 4 years ago

winax support only windows platforms, used windows api directly ср, 25 мар. 2020 г. в 18:38, dxkirt3 notifications@github.com: When I tried to push my app to Heroku, I encountered this error related to winax installation. remote: -----> Installing dependencies remote: Prebuild detected (node_modules already exists) remote: Rebuilding any native modules remote: remote: > @. install /tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax remote: > node-gyp rebuild remote: remote: make: Entering directory '/tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax/build' remote: CXX(target) Release/obj.target/node_activex/src/main.o remote: In file included from ../src/main.cpp:7:0: remote: ../src/stdafx.h:5:10: fatal error: SDKDDKVer.h: No such file or directory remote: #include remote: ^~~~~ remote: compilation terminated. remote: node_activex.target.mk:111: recipe for target 'Release/obj.target/node_activex/src/main.o' failed remote: make: [Release/obj.target/node_activex/src/main.o] Error 1 remote: make: Leaving directory '/tmp/build_bd8a01da071b59dbfb725f26f3d2e453/node_modules/winax/build' — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#66>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMMNLMJBSQSM3EUT2OVYDRJIQQFANCNFSM4LTRL7LA .

Thanks durs!