msnodesql 0.2.1 for node.js 0.10.x
2013-07-23 12:27
573 查看
msnodesql 0.2.1 需要修改源代码重新编译后才能在nodejs 0.10.x下正常使用,具体方式如下:
1.nodejs环境下使用:> npm -g install node-gyp 安装node-gyp。
2.下载node-sqlserver 源代码 git://github.com/WindowsAzure/node-sqlserver.git
3.执行配置 node-gyp configure
4.执行编译 node-gyp build
执行了上述4步以后将会出现一个坑爹的错误:
出错原因:https://github.com/WindowsAzure/node-sqlserver/issues/119
修改Operation.h 文件
将
int result = uv_queue_work(uv_default_loop(), &operation->work, OnBackground, OnForeground);
替换成:
int result = uv_queue_work(uv_default_loop(), &operation->work, OnBackground, (uv_after_work_cb)OnForeground);
重新编译即可通过。
如果出现无法解析的外部符号如下图:
要注意勾上链接附加依赖项的继承选项:
1.nodejs环境下使用:> npm -g install node-gyp 安装node-gyp。
2.下载node-sqlserver 源代码 git://github.com/WindowsAzure/node-sqlserver.git
3.执行配置 node-gyp configure
4.执行编译 node-gyp build
执行了上述4步以后将会出现一个坑爹的错误:
出错原因:https://github.com/WindowsAzure/node-sqlserver/issues/119
修改Operation.h 文件
将
int result = uv_queue_work(uv_default_loop(), &operation->work, OnBackground, OnForeground);
替换成:
int result = uv_queue_work(uv_default_loop(), &operation->work, OnBackground, (uv_after_work_cb)OnForeground);
重新编译即可通过。
如果出现无法解析的外部符号如下图:
要注意勾上链接附加依赖项的继承选项:
相关文章推荐
- 安装下载node.js通过msnodesql访问SQL Server
- node.js通过msnodesql访问SQL Server
- node.js 访问sql server的 node_modules “msnodesql"的安装编译方法
- [Node] Setup an Nginx Proxy for a Node.js App
- [NodeJS for Android]预编译好的二进制文件
- Node.js开发入门—notepad++ for Node.js
- spread extension for node.js
- 【Node.app】Node.js for iOS
- cyrus-and/chrome-remote-interface: Chrome Debugging Protocol interface for Node.js
- Vim Plugins For Node.js
- 使用Node.js+socket.io制作服务端,unity+socket.io for unity 制作客户端 ,验证位置同步Demo
- A Java proxy for MS SQL Server Reporting Services
- ExpressJS for NodeJS 开发(草稿)
- SQL SERVERR中未公开的存储过程sp_MSforeachtable
- (转) java 通过 jdbc 链接 ms sql server 中出现 "no suitable driver for ..."
- Java 开发者如何入门 Node.js 英文原文:Getting Started with Node.js for the Java Developer
- 代码规范 for node.js with 'npm-coding-style'
- MS SQL Server数据库修复利器—D-Recovery For MS SQL Server数据恢复软件
- Mycat1.6 release版本报错: can't find (root) parent sharding node for sql
- Node.js Tools 1.2 for Visual Studio 2015 released