Closed Revlin closed 7 years ago
Low priority to @bchintx
@Revlin One thing I notice is that you've got a later release of Node installed, specifically 0.11.12. Currently, Brackets is built using 0.10.24. Can you please revisit the Pre-requisites section of the instructions and checkout 0.10.24? Then, re-run the configure then build steps.
... which brings up an interesting point about the Pre-requisites section: if you "run vcbuild release nosign
from the c:\node folder" before git checkout v0.10.24
as instructed, you end up with a Release build of whatever commit was checked out before you checked out v0.10.24. So in order to get a version 0.10.24 build of node I have to:
git clone https://github.com/joyent/node.git
cd node
git checkout v0.10.24 (or whichever version of Node currently used by Brackets)
using a DOS command prompt, run vcbuild release nosign
from the c:\node folder
... in that order. After figuring that out, I seem to be having major issues just building that version of node:
...
accessors.cc
allocation-site-scopes.cc
allocation-tracker.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\allocation-site-s
copes.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vc
xproj]
allocation.cc
async.c
api.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\allocation-tracke
r.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxpro
j]
arguments.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\arguments.cc': No
such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
assembler.cc
core.c
c:\node\deps\uv\src\uv-common.h(40): fatal error C1083: Cannot open include fil
e: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
dl.c
c:\node\deps\uv\src\uv-common.h(40): fatal error C1083: Cannot open include fil
e: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
error.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
fs-event.c
fs.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
getaddrinfo.c
ares_expand_string.c
ares_fds.c
ast.cc
ares_free_hostent.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
Traceback (most recent call last):
handle.c
File "..\..\tools\js2c.py", line 396, in <module>
main()
File "..\..\tools\js2c.py", line 393, in main
JS2C(source_files, [natives], { 'TYPE': type, 'COMPRESSION': compression
})
File "..\..\tools\js2c.py", line 325, in JS2C
lines = ReadFile(filename)
File "..\..\tools\js2c.py", line 63, in ReadFile
file = open(filename, "rt")
IOError: [Errno 2] No such file or directory: '..\\..\\src\\arraybuffer.js'
C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5):
error MSB6006: "cmd.exe" exited with code 1. [C:\node\deps\v8\tools\gyp\js2c.v
cxproj]
ares_free_string.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
loop-watcher.c
ares_getenv.c
ares_gethostbyaddr.c
ares_gethostbyname.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
pipe.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
poll.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
process-stdio.c
ares_getnameinfo.c
ares_getsock.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
process.c
ares_init.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
req.c
ares_library_init.c
ares_llist.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
ares_mkquery.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
signal.c
stream.c
ares_nowarn.c
ares_options.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
tcp.c
thread.c
ares_parse_a_reply.c
ares_parse_aaaa_reply.c
ares_parse_mx_reply.c
ares_parse_naptr_reply.c
ares_parse_ns_reply.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
ares_parse_ptr_reply.c
threadpool.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
timer.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
tty.c
atomicops_internals_x86_gcc.cc
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
udp.c
ares_parse_soa_reply.c
bignum-dtoa.cc
ares_parse_srv_reply.c
bignum.cc
bootstrapper.cc
ares_parse_txt_reply.c
builtins.cc
ares_platform.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
util.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
winapi.c
ares_process.c
ares_query.c
cached-powers.cc
checks.cc
ares_search.c
ares_send.c
code-stubs-hydrogen.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\code-stubs-hydrog
en.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxpr
oj]
code-stubs.cc
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
winsock.c
ares_strcasecmp.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
ares_strdup.c
ares_strerror.c
ares_timeout.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
codegen.cc
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
ares_version.c
ares_writev.c
c:\node\deps\uv\src\win\../uv-common.h(40): fatal error C1083: Cannot open incl
ude file: 'tree.h': No such file or directory [C:\node\deps\uv\libuv.vcxproj]
bitncmp.c
inet_net_pton.c
compilation-cache.cc
inet_ntop.c
windows_port.c
compiler.cc
contexts.cc
conversions.cc
counters.cc
cpu-profiler.cc
cpu.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\cpu.cc': No such
file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
data-flow.cc
date.cc
dateparser.cc
debug-agent.cc
debug.cc
defaults.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\defaults.cc': No
such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
deoptimizer.cc
disassembler.cc
diy-fp.cc
dtoa.cc
elements-kind.cc
elements.cc
execution.cc
externalize-string-extension.cc
gc-extension.cc
statistics-extension.cc
factory.cc
fast-dtoa.cc
fixed-dtoa.cc
flags.cc
frames.cc
full-codegen.cc
func-name-inferrer.cc
gdb-jit.cc
global-handles.cc
handles.cc
heap-profiler.cc
heap-snapshot-generator.cc
heap.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\heap-snapshot-gen
erator.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.v
cxproj]
hydrogen-bce.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-bce.cc':
No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
hydrogen-bch.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-bch.cc':
No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
hydrogen-canonicalize.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-canonica
lize.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcx
proj]
hydrogen-check-elimination.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-check-el
imination.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia3
2.vcxproj]
hydrogen-dce.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-dce.cc':
No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
hydrogen-dehoist.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-dehoist.
cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
hydrogen-environment-liveness.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-environm
ent-liveness.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.
ia32.vcxproj]
hydrogen-escape-analysis.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-escape-a
nalysis.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.
vcxproj]
hydrogen-gvn.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-gvn.cc':
No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
hydrogen-infer-representation.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-infer-re
presentation.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.
ia32.vcxproj]
hydrogen-infer-types.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-infer-ty
pes.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxp
roj]
hydrogen-instructions.cc
hydrogen-load-elimination.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-load-eli
mination.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32
.vcxproj]
hydrogen-mark-deoptimize.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-mark-deo
ptimize.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.
vcxproj]
hydrogen-mark-unreachable.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-mark-unr
eachable.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32
.vcxproj]
hydrogen-minus-zero.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-minus-ze
ro.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxpr
oj]
hydrogen-osr.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-osr.cc':
No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
hydrogen-range-analysis.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-range-an
alysis.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.v
cxproj]
hydrogen-redundant-phi.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-redundan
t-phi.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vc
xproj]
hydrogen-removable-simulates.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-removabl
e-simulates.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.i
a32.vcxproj]
hydrogen-representation-changes.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-represen
tation-changes.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_bas
e.ia32.vcxproj]
hydrogen-sce.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-sce.cc':
No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.vcxproj]
hydrogen-uint32-analysis.cc
c1xx : fatal error C1083: Cannot open source file: '..\..\src\hydrogen-uint32-a
nalysis.cc': No such file or directory [C:\node\deps\v8\tools\gyp\v8_base.ia32.
vcxproj]
hydrogen.cc
assembler-ia32.cc
builtins-ia32.cc
code-stubs-ia32.cc
codegen-ia32.cc
cpu-ia32.cc
debug-ia32.cc
deoptimizer-ia32.cc
disasm-ia32.cc
frames-ia32.cc
...
... compiling & linking continues, but I'm guessing I'm not supposed to see all those errors. hmmmm...
P.S. I was able to build node 0.11.12 without issue, so maybe all of the above comes back to something specific to 0.10.24
With 1.8 fsevents_win is not part of the build anymore. We are using now chokidar on Linux and macOS (which uses fsevent under the hood) and https://github.com/Microsoft/vscode-filewatcher-windows on Windows.
Following these instructions to build fsevents_win.node, all is good until the
node-gyp build
step, which reports:I'm not even sure where to begin...