qode icon indicating copy to clipboard operation
qode copied to clipboard

windows10 build failed

Open duansheng opened this issue 4 years ago • 2 comments

[2916/2916] LINK_EMBED qode.exe
FAILED: qode.exe qode.exe.pdb
D:\softwares\python2.7.18\python.exe gyp-win-tool link-with-manifests environment.x64 True qode.exe "D:\softwares\python2.7.18\python.exe gyp-win-tool link-wrapper environment.x64 False link.exe /nologo /OUT:qode.exe @qode.exe.rsp" 1 mt.exe rc.exe "qode.qode.exe.intermediate.manifest" qode.qode.exe.generated.manifest ..\..\..\src\qode.exe.manifest
  正在创建库 qode.lib 和对象 qode.exp
v8_base_without_compiler.lib(v8_base_without_compiler.isolate.obj) : error LNK2001: 无法解析的外部符号 v8_Default_embedded_blob_
v8_base_without_compiler.lib(v8_base_without_compiler.isolate.obj) : error LNK2001: 无法解析的外部符号 v8_Default_embedded_blob_size_
qode.exe : fatal error LNK1120: 2 个无法解析的外部命令
Traceback (most recent call last):
  File "gyp-win-tool", line 386, in <module>
    sys.exit(main(sys.argv[1:]))
  File "gyp-win-tool", line 33, in main
    exit_code = executor.Dispatch(args)
  File "gyp-win-tool", line 76, in Dispatch
    return getattr(self, method)(*args[1:])
  File "gyp-win-tool", line 208, in ExecLinkWithManifests
    subprocess.check_call(ldcmd + add_to_ld)
  File "D:\softwares\python2.7.18\lib\subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'D:\softwares\python2.7.18\python.exe gyp-win-tool link-wrapper environment.x64 False link.exe /nologo /OUT:qode.exe @qode.exe.rsp qode.exe.manifest.res' returned non-zero exit status 1120
ninja: build stopped: subcommand failed.
node:child_process:903
    throw err;
    ^

Error: Command failed: ninja -j8 -C out/Release qode
    at checkExecSyncError (node:child_process:826:11)
    at Object.execSync (node:child_process:900:15)
    at execSync (D:\code\qode\build.js:14:35)
    at Object.<anonymous> (D:\code\qode\build.js:59:1)
    at Module._compile (node:internal/modules/cjs/loader:1095:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1124:10)
    at Module.load (node:internal/modules/cjs/loader:975:32)
    at Function.Module._load (node:internal/modules/cjs/loader:816:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12)
    at node:internal/main/run_main_module:17:47 {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 8276,
  stdout: null,
  stderr: null
}

build error raises when I'm building qode, it seems that v8_Default_embedded_blob_ and v8_Default_embedded_blob_size_ are missing. I'm using vs2017, can anybody give me some advice on this problem? I appreciate it very much!

duansheng avatar Jul 15 '21 14:07 duansheng

Hey @duansheng

you can try checking out v2.1.0 tag and doing the build. the latest version has some issues with windows.

a7ul avatar Jul 15 '21 16:07 a7ul

@a7ul Thanks a lot! I tried, but it did not work.The same error reported.

duansheng avatar Jul 17 '21 01:07 duansheng