- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
我正在尝试编译/更新node-sqlanywhere,但我不断收到错误。这是我尝试安装时的详细结果
$ npm install sqlanywhere --verbose
npm info it worked if it ends with ok
npm verb cli [ 'c:\\Program Files\\nodejs\\node.exe',
npm verb cli 'c:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli 'install',
npm verb cli 'sqlanywhere',
npm verb cli '--verbose' ]
npm info using npm@2.11.2
npm info using node@v0.12.5
npm verb install initial load of c:\ProgAlgo\Node\mobileapp\package.json
npm WARN package.json mobileapp@1.0.0 No repository field.
npm WARN package.json mobileapp@1.0.0 No README data
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\async\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\bignumber.js\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\body-parser\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\colors\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\connect\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\cookie-parser\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\deferred\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\express\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\express-session\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\gcm\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\minify.js\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\moment\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\npm-debug.log\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\on-file-change\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\point-in-polygon\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\qs\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\readable-stream\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\restify\package.json
npm verb installManyTop reading scoped package data from c:\ProgAlgo\Node\mobile
app\node_modules\ws\package.json
npm info package.json deferred@0.7.2 No license field.
npm info package.json gcm@1.0.1 No license field.
npm info package.json moment@2.10.3 No license field.
npm info package.json restify@3.0.3 No license field.
npm verb readDependencies loading dependencies from c:\ProgAlgo\Node\mobileapp\p
ackage.json
npm verb cache add spec sqlanywhere@^1.0.3
npm verb addNamed ">=1.0.3 <2.0.0" is a valid semver range for sqlanywhere
npm verb addNameRange registry:https://registry.npmjs.org/sqlanywhere not in fli
ght; fetching
npm verb request uri https://registry.npmjs.org/sqlanywhere
npm verb request no auth needed
npm info attempt registry request try #1 at 2:48:55 PM
npm verb request id 3faa3e77db0a05cc
npm verb etag "4DTDIBB7TGQ3L37QR6XV0K58D"
npm http request GET https://registry.npmjs.org/sqlanywhere
npm http 304 https://registry.npmjs.org/sqlanywhere
npm verb etag https://registry.npmjs.org/sqlanywhere from cache
npm verb get saving sqlanywhere to C:\Users\didgy\AppData\Roaming\npm-cache\regi
stry.npmjs.org\sqlanywhere\.cache.json
npm verb addNamed "1.0.3" is a plain semver version for sqlanywhere
npm verb afterAdd C:\Users\didgy\AppData\Roaming\npm-cache\sqlanywhere\1.0.3\pac
kage\package.json not in flight; writing
npm verb afterAdd C:\Users\didgy\AppData\Roaming\npm-cache\sqlanywhere\1.0.3\pac
kage\package.json written
npm info install sqlanywhere@1.0.3 into c:\ProgAlgo\Node\mobileapp
npm info installOne sqlanywhere@1.0.3
npm verb installOne of sqlanywhere to c:\ProgAlgo\Node\mobileapp not in flight;
installing
npm verb lock using C:\Users\didgy\AppData\Roaming\npm-cache\_locks\sqlanywhere-
e7c967517ca70ed4.lock for c:\ProgAlgo\Node\mobileapp\node_modules\sqlanywhere
npm verb unbuild node_modules\sqlanywhere
npm verb gentlyRm don't care about contents; nuking c:\ProgAlgo\Node\mobileapp\n
ode_modules\sqlanywhere
npm verb tar unpack C:\Users\didgy\AppData\Roaming\npm-cache\sqlanywhere\1.0.3\p
ackage.tgz
npm verb tar unpacking to c:\ProgAlgo\Node\mobileapp\node_modules\sqlanywhere
npm verb gentlyRm don't care about contents; nuking c:\ProgAlgo\Node\mobileapp\n
ode_modules\sqlanywhere
npm verb write writing to c:\ProgAlgo\Node\mobileapp\node_modules\sqlanywhere\pa
ckage.json
npm info preinstall sqlanywhere@1.0.3
npm verb readDependencies loading dependencies from c:\ProgAlgo\Node\mobileapp\n
ode_modules\sqlanywhere\package.json
npm verb readDependencies loading dependencies from c:\ProgAlgo\Node\mobileapp\n
ode_modules\sqlanywhere\package.json
npm verb about to build c:\ProgAlgo\Node\mobileapp\node_modules\sqlanywhere
npm info build c:\ProgAlgo\Node\mobileapp\node_modules\sqlanywhere
npm info linkStuff sqlanywhere@1.0.3
npm verb linkBins sqlanywhere@1.0.3
npm verb linkMans sqlanywhere@1.0.3
npm verb rebuildBundles sqlanywhere@1.0.3
npm info install sqlanywhere@1.0.3
> sqlanywhere@1.0.3 install c:\ProgAlgo\Node\mobileapp\node_modules\sqlanywhere
> node build.js
Looking for binaries...
Trying to build binaries
Error when executing node-gyp configure
npm verb unsafe-perm in lifecycle true
npm info sqlanywhere@1.0.3 Failed to exec install script
npm verb unlock done using C:\Users\didgy\AppData\Roaming\npm-cache\_locks\sqlan
ywhere-e7c967517ca70ed4.lock for c:\ProgAlgo\Node\mobileapp\node_modules\sqlanyw
here
npm verb stack Error: sqlanywhere@1.0.3 install: `node build.js`
npm verb stack Exit status 4294967295
npm verb stack at EventEmitter.<anonymous> (c:\Program Files\nodejs\node_mod
ules\npm\lib\utils\lifecycle.js:213:16)
npm verb stack at EventEmitter.emit (events.js:110:17)
npm verb stack at ChildProcess.<anonymous> (c:\Program Files\nodejs\node_mod
ules\npm\lib\utils\spawn.js:24:14)
npm verb stack at ChildProcess.emit (events.js:110:17)
npm verb stack at maybeClose (child_process.js:1015:16)
npm verb stack at Process.ChildProcess._handle.onexit (child_process.js:1087
:5)
npm verb pkgid sqlanywhere@1.0.3
npm verb cwd c:\ProgAlgo\Node\mobileapp
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "c:\\Program Files\\nodejs\\node.exe" "c:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "install" "sqlanywhere" "--verbose"
npm ERR! node v0.12.5
npm ERR! npm v2.11.2
npm ERR! code ELIFECYCLE
npm ERR! sqlanywhere@1.0.3 install: `node build.js`
npm ERR! Exit status 4294967295
npm ERR!
npm ERR! Failed at the sqlanywhere@1.0.3 install script 'node build.js'.
npm ERR! This is most likely a problem with the sqlanywhere package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node build.js
npm ERR! You can get their info via:
npm ERR! npm owner ls sqlanywhere
npm ERR! There is likely additional logging output above.
npm verb exit [ 1, true ]
npm verb unbuild node_modules\sqlanywhere
npm info preuninstall sqlanywhere@1.0.3
npm info uninstall sqlanywhere@1.0.3
npm verb unbuild rmStuff sqlanywhere@1.0.3 from c:\ProgAlgo\Node\mobileapp\node_
modules
npm info postuninstall sqlanywhere@1.0.3
npm verb gentlyRm don't care about contents; nuking c:\ProgAlgo\Node\mobileapp\n
ode_modules\sqlanywhere
npm ERR! Please include the following file with any support request:
npm ERR! c:\ProgAlgo\Node\mobileapp\npm-debug.log
我尝试下载源代码然后编译它,但出现更多错误
node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@2.0.1
gyp info using node@0.12.5 | win32 | x64
gyp info spawn C:\Program Files (x86)\MSBuild\12.0\bin\msbuild.exe
gyp info spawn args [ 'build/binding.sln',
gyp info spawn args '/clp:Verbosity=minimal',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64' ]
Building the projects in this solution one at a time. To enable parallel build,
please add the "/m" switch.
sqlanywhere.cpp
utils.cpp
sacapidll.cpp
c:\node-sqlanywhere-master\src\h\connection.h(135): error C2039: 'ObjectWrap' :
is not a member of 'node' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build
\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(135): error C2504: 'ObjectWrap' :
base class undefined (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqla
nywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(140): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(140): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(145): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(145): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(135): error C2039: 'ObjectWrap' :
is not a member of 'node' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master
\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(135): error C2504: 'ObjectWrap' :
base class undefined (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\buil
d\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(140): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(140): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(152): error C2061: syntax error :
identifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(145): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(154): error C2061: syntax error :
identifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(145): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(156): error C2061: syntax error :
identifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(158): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(158): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(152): error C2061: syntax error :
identifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(235): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(154): error C2061: syntax error :
identifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(235): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(156): error C2061: syntax error :
identifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(268): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(158): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(268): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(158): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(271): error C2061: syntax error :
identifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(235): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(328): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(235): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(328): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(268): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(366): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(268): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(366): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(271): error C2061: syntax error :
identifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(369): error C2061: syntax error :
identifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(328): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(371): error C2061: syntax error :
identifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(328): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(414): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(366): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(414): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(366): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(416): error C2061: syntax error :
identifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(369): error C2061: syntax error :
identifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(457): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(371): error C2061: syntax error :
identifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(457): error C2143: syntax error :
missing ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(414): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(459): error C2061: syntax error :
identifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(414): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(469): error C2146: syntax error :
missing ';' before identifier 'conn_mutex' (..\src\utils.cpp) [c:\node-sqlanyw
here-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(416): error C2061: syntax error :
identifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(469): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\utils.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(457): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(457): error C2143: syntax error :
missing ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(459): error C2061: syntax error :
identifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\bu
ild\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(469): error C2146: syntax error :
missing ';' before identifier 'conn_mutex' (..\src\sqlanywhere.cpp) [c:\node-s
qlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(14): error C2039: 'ObjectWrap' : is not
a member of 'node' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlany
where.vcxproj]
c:\node-sqlanywhere-master\src\h\connection.h(469): error C4430: missing type s
pecifier - int assumed. Note: C++ does not support default-int (..\src\sqlanywh
ere.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(14): error C2504: 'ObjectWrap' : base c
lass undefined (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanywhere
.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(19): error C4430: missing type specifie
r - int assumed. Note: C++ does not support default-int (..\src\utils.cpp) [c:\
node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(19): error C2143: syntax error : missin
g ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanywhe
re.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(29): error C4430: missing type specifie
r - int assumed. Note: C++ does not support default-int (..\src\utils.cpp) [c:\
node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(29): error C2143: syntax error : missin
g ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanywhe
re.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(75): error C4430: missing type specifie
r - int assumed. Note: C++ does not support default-int (..\src\utils.cpp) [c:\
node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(14): error C2039: 'ObjectWrap' : is not
a member of 'node' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\build\
sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(75): error C2143: syntax error : missin
g ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanywhe
re.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(14): error C2504: 'ObjectWrap' : base c
lass undefined (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\build\sqlan
ywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(111): error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int (..\src\utils.cpp) [c:
\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(19): error C4430: missing type specifie
r - int assumed. Note: C++ does not support default-int (..\src\sqlanywhere.cpp
) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(111): error C2143: syntax error : missi
ng ',' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanywh
ere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(19): error C2143: syntax error : missin
g ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\build\sql
anywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(114): error C2061: syntax error : ident
ifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanywh
ere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(29): error C4430: missing type specifie
r - int assumed. Note: C++ does not support default-int (..\src\sqlanywhere.cpp
) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(116): error C2061: syntax error : ident
ifier 'uv_work_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanywh
ere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(29): error C2143: syntax error : missin
g ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\build\sql
anywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\utils.h(33): error C2146: syntax error : missi
ng ';' before identifier 'api_mutex' (..\src\utils.cpp) [c:\node-sqlanywhere-ma
ster\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(75): error C4430: missing type specifie
r - int assumed. Note: C++ does not support default-int (..\src\sqlanywhere.cpp
) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\utils.h(33): error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int (..\src\utils.cpp) [c:
\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(75): error C2143: syntax error : missin
g ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\build\sql
anywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(111): error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int (..\src\sqlanywhere.cp
p) [c:\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\utils.h(54): error C2061: syntax error : ident
ifier 'uv_mutex_t' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanyw
here.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(111): error C2143: syntax error : missi
ng ',' before '&' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\utils.h(65): error C2143: syntax error : missi
ng ';' before '&' (..\src\utils.cpp) [c:\node-sqlanywhere-master\build\sqlanywh
ere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(114): error C2061: syntax error : ident
ifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\utils.h(65): error C4430: missing type specifi
er - int assumed. Note: C++ does not support default-int (..\src\utils.cpp) [c:
\node-sqlanywhere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\stmt.h(116): error C2061: syntax error : ident
ifier 'uv_work_t' (..\src\sqlanywhere.cpp) [c:\node-sqlanywhere-master\build\sq
lanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\utils.h(33): error C2146: syntax error : missi
ng ';' before identifier 'api_mutex' (..\src\sqlanywhere.cpp) [c:\node-sqlanywh
ere-master\build\sqlanywhere.vcxproj]
c:\node-sqlanywhere-master\src\h\utils.h(54): error C2065: 'mtx' :
...
查看node-gyp站点,我检查了是否安装了所有依赖项。我运行的是 Windows 7 x64。 Python 2.7.3 已安装,并且我创建了 PYTHON 环境变量。我安装了 Visual Studio 2013 Ultimate,还安装了“Windows SDK 7.1 的编译器更新”。我已经没有主意了...
感谢您的帮助!
最佳答案
SQL Anywhere Node.js 驱动程序当前仅支持 Node 0.10。我们正在努力添加对 0.12 版本的支持,但我无法估计何时可用。
更新:SQL Anywhere node.js 驱动程序现在支持版本 0.10、0.12、4.x、5.x 和 6.x。
免责声明:我在 SAP 从事 SQL Anywhere 工程工作。
关于Node.js sqlanywhere 编译/更新错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31080445/
是否有任何库或框架旨在促进从另一种成熟的编程语言中构建项目? 在 C++、java 等编程语言中指定逻辑、集合和复杂规则非常容易,但在 Makefile 中完成这些事情似乎是一场艰苦的战斗。我还没有深
我有这段代码可以用 clang 编译得很好(即使使用 -Weverything),但是 gcc 会发出错误。 #include #include #include using namespace
我有以下 block 头文件 BKE_mesh.h: /* Connectivity data */ typedef struct IndexNode { struct IndexNode *
我在我的一个项目中遇到了一个奇怪的问题。我的代码库依赖于一个外部库,其中包含一个名为 Dataset 的类. Dataset类私有(private)继承自 std::vector (其中 Sample
当使用 gcc、g++ 或 make 在终端中编译一个小型 C 或 C++ 项目时,我收到以下错误: /tmp/ccG1caGi.o: In function `main': main.c:(.tex
我正在尝试从 CVS 为 Windows 上的 Emacs 23.1.50 编译 CEDET,但在“第 6 步:打开 EDE...”时出现错误:“defvar:作为变量的符号值是无效的:cedet-m
我正在(重新)学习编程,我从 C 开始。我的 IDE(如果我可以这么说)是 Windows7 上的 cygwin(32 位)和 Visual-Studio 2010。我总是编译我用 gcc (cygw
我喜欢在模板类中使用本地类来执行类似“static if”的构造。但是我遇到了 gcc 4.8 不想编译我的代码的问题。但是 4.7 可以。 这个例子: #include #include #in
我有一个项目,必须仅使用 java 1.4 进行编译。但我计划使用mockito 编写一些单元测试。我想要一种在 pom 中指定的方法,以便 src/main/java 使用 jdk 1.4 编译,但
我想了解 PHP 编译过程是如何工作的。 假设我有一个名为funcs.php 的文件并且这个文件有三个函数,如果我include 或require 它,所有的在文件加载期间编译三个函数?或者源代码会被
编译工具链 我们写程序的时候用的都是集成开发环境 (IDE: Integrated Development Environment),集成开发环境可以极大地方便我们程序员编写程序,但是配置起来
当我编写一些 Scala 代码时,在尝试编译代码时收到一条奇怪的错误消息。我将代码分解为一个更简单的代码(从语义的角度来看这完全没有意义,但仍然显示了错误)。 scala> :paste // Ent
我正在编译一个 SCSS 文件,它似乎删除了我的评论。我可以使用什么命令来保留所有评论? >SASS input.scss output.css 我在 SCSS 中看到两种类型的注释。 // Comm
这是我的代码: #include typedef struct { const char *description; float value; int age; } swag
当您编译 grails war 时,我知道 .groovy 代码被编译为字节码类文件,但我不明白容器(例如 tomcat)如何在请求 GSP 时知道如何编译它们。容器了解 GSP 吗?安装在服务器上的
我正在努力将多个文件编译成一个通用程序。我收到一个错误: undefined reference to 'pi' 这是我的代码和 Makefile 的框架。我做错了什么?谢谢! 文件:calcPi.c
我尝试使用 LD_PRELOAD 来 Hook sprintf function ,所以我将打印到缓冲区的结果: #define _GNU_SOURCE #include #include int
我正在寻找最简单的方法来自动将 CoffeeScript 重新编译为 JS。 阅读documentation但仍然很难得到我想要的东西。 我需要它来监视文件夹 src/ 中的任何 *.coffee 文
我想使用定制waveformjs 。我发现this on SO但是,我不知道如何编译/安装波形来开始。我从 GitHub 克隆它并进行了更改,但是我不知道如何将其转换为 .js 文件。 最佳答案 为了
很难说出这里问的是什么。这个问题是含糊的、模糊的、不完整的、过于宽泛的或修辞性的,无法以目前的形式得到合理的回答。如需帮助澄清此问题以便重新打开它,visit the help center 。 已关
我是一名优秀的程序员,十分优秀!