Open GODMA opened 3 years ago
install error,I wonder is rocketmq-client-cpp.dll wrong?
build/rocketmq.vcxproj's dependency ok~
<Link> <AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;DelayImp.lib;"C:\...\node.lib";D:\...\rocketmq-client-nodejs-master\deps\lib\rocketmq-client-cpp.lib</AdditionalDependencies> </Link>
producer.obj : error LNK2001: 无法解析的外部符号 SetMessageBody > [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerSendMsgTimeout [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerLogLevel [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SendMessageSync [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetMessageKeys [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerMaxMessageSize [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerLogFileNumAndSize [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 DestroyProducer [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerNameServerAddress [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 CreateProducer [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerCompressLevel [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 DestroyMessage [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetByteMessageBody [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 StartProducer [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 ShutdownProducer [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetMessageTags [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerInstanceName [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 CreateMessage [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerGroupName [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] producer.obj : error LNK2001: 无法解析的外部符号 SetProducerSessionCredentials [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] push_consumer.obj : error LNK2001: 无法解析的外部符号 SetPushConsumerNameServerAddress [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] push_consumer.obj : error LNK2001: 无法解析的外部符号 SetPushConsumerMessageBatchMaxSize [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] push_consumer.obj : error LNK2001: 无法解析的外部符号 SetPushConsumerSessionCredentials [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] push_consumer.obj : error LNK2001: 无法解析的外部符号 RegisterMessageCallback [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] push_consumer.obj : error LNK2001: 无法解析的外部符号 Subscribe [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] push_consumer.obj : error LNK2001: 无法解析的外部符号 GetMessageTags [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] push_consumer.obj : error LNK2001: 无法解析的外部符号 DestroyPushConsumer [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] push_consumer.obj : error LNK2001: 无法解析的外部符号 GetMessageId [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vcxproj] cketmq-client-nodejs-master\build\rocketmq.vcxproj] D:\worksplace\rocketmq-client-nodejs-master\build\Release\rocketmq.node : fatal error LNK1120: 38 个无法解析的外部命令 [D:\worksplace\rocketmq-client-nodejs-master\build\rocketmq.vq.vcxproj] gyp ERR! build error gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1 gyp ERR! stack at ChildProcess.onExit (C:\Users\Admin\AppData\Roaming\npm\node_modules\cnpm\node_modules\node-gyp\lib\build.js:262:23) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12) gyp ERR! System Windows_NT 10.0.19042
Steps to reproduce the behavior: -->cnpm install Expected behavior install success
What Happens?
install error,I wonder is rocketmq-client-cpp.dll wrong?
Minimum Showcase (Required)
node-gyp@7.1.2 node@10.18.0 | win32 | x64 python 2.7.15 npm 7.5.4
build/rocketmq.vcxproj's dependency ok~
How to Reproduce
Steps to reproduce the behavior: -->cnpm install Expected behavior install success
Context