Skip to content

Build failures #46

@lordbah

Description

@lordbah

Has anyone built this recently?

buildall.bat emits

gypError building httpsys.node release for node.js x86 v0.6.20
A subdirectory or file C:\Users\userid\AppData\Local\GitHub\httpsys\tools\\..\lib\native\win32\ia32\0.8.22 already exists.

for each supported node version. This might be harmless. At the end it says neither 'ok' nor 'not ok'.

But in any case it refuses to run with node v7.6.0.

builddev.bat emits this error

C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.CppCommon.targets(347,5): error MSB6006: "CL.exe" exited with code -1073741515. [C:\Users\userid\AppData\Local\GitHub\httpsys\build\httpsys.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack     at ChildProcess.onExit (C:\Users\userid\AppData\Roaming\npm\node_modules\node-gyp\lib\build.js:285:23)
gyp ERR! stack     at emitTwo (events.js:106:13)
gyp ERR! stack     at ChildProcess.emit (events.js:192:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\userid\\AppData\\Roaming\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "build" "--msvs_version=2012" "-debug"
gyp ERR! cwd C:\Users\userid\AppData\Local\GitHub\httpsys
gyp ERR! node -v v7.6.0
gyp ERR! node-gyp -v v3.6.0
gyp ERR! not ok

I don't actually have VS 2012, I have 2015, so I changed builddev.bat to say that, and it failed just the same way.

I opened httpsys.vcxproj in VS 2015 and tried to build there. The errors found that way:

1>c:\users\userid\appdata\local\github\httpsys\src\httpsys.h(115): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\users\userid\appdata\local\github\httpsys\src\httpsys.h(115): error C2143: syntax error: missing ',' before '&'

on Handle httpsys_init(const Arguments& args);
It doesn't seem to know the Arguments class. I can find a declaration for it in v8.h but no definition of it.

1>..\src\httpsys.cc(204): error C2248: 'v8::HandleScope::HandleScope': cannot access protected member declared in class 'v8::HandleScope'
1>  c:\users\userid\.node-gyp\7.6.0\include\node\v8.h(908): note: see declaration of 'v8::HandleScope::HandleScope'
1>  c:\users\userid\.node-gyp\7.6.0\include\node\v8.h(887): note: see declaration of 'v8::HandleScope'
1>..\src\httpsys.cc(209): error C2819: type 'v8::Persistent<v8::Function,v8::NonCopyablePersistentTraits<T>>' does not have an overloaded member 'operator ->'
1>          with
1>          [
1>              T=v8::Function
1>          ]

and similar. I won't list them all (more than 100).

Maybe since this was developed node has changed too much, or maybe my system is missing something I need to build, or maybe something else. Any ideas on how I can make this work?

Win7 x64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions