New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nw js node-java build issues #5960
Comments
could you please provide a sample and steps to reproduce it? |
Hi, |
It works well on my ubuntu 16.04 with nwjs-sdk-v0.22.3 after I do
|
@rogerwang , I find another issue, this doesn't work for nwjs v0.23.2. When I do
|
I am getting this build issue in ubuntu14.04 |
@Christywl locate at file
|
@swhgoon thanks for your comment. and my module succesfuly builded |
So, I wrote a 1-liner to handle this issue for now. Just run this pior to
The file --- common.gypi.old 2017-06-23 20:07:53.288437686 -0300
+++ common.gypi 2017-06-23 20:09:26.616549237 -0300
@@ -52,9 +52,6 @@
['OS=="linux" and target_arch=="ia32"', {
'sysroot': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_jessie_i386-sysroot',
}],
- ['OS=="linux" and target_arch=="x64"', {
- 'sysroot': '<!(cd <(DEPTH) && pwd -P)/build/linux/debian_jessie_amd64-sysroot',
- }],
['OS== "mac"', {
'OBJ_DIR': '<(PRODUCT_DIR)/obj.target',
#'V8_BASE': '<(PRODUCT_DIR)/libv8_base.a',
@@ -401,8 +398,8 @@
'ldflags': [ '-mx32' ],
}],
[ 'target_arch=="x64"', {
- 'cflags': [ '-m64', '--sysroot=<(sysroot)' ],
- 'ldflags': [ '-m64', '--sysroot=<(sysroot)','<!(<(DEPTH)/build/linux/sysroot_ld_path.sh <(sysroot))' ],
+ 'cflags': [ '-m64' ],
+ 'ldflags': [ '-m64' ],
}],
[ 'target_arch=="ppc" and OS!="aix"', {
'cflags': [ '-m32' ],
Obviously this assumes you're using |
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for current problems.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for current problems.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
@Klemen1337, hello! You wrote TryGhost/node-sqlite3#852 (comment):
Can you write here a link to commit? |
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
This is an ongoing rework of toolchain selection for building Node.js. See nwjs/nw.js#5960 and nwjs/nw.js#5971 for why previous integration can lead to trouble.
hi, all, Is problem fixed? i can't install this npm install https://github.com/mapbox/node-sqlite3/tarball/master --build-from-source --runtime=node-webkit --target_arch=x64 --target=0.26.5 |
This is fixed in git and will be available in 0.26.6. |
Hi,
I am getting version issues I am using nw 0.22.3 and tried lower nw versions but I get above error. Node: 6.10.3, java: jdk 1.8.0 and jre 1.8.0
The module '/home/cronj-10/Sarvani/offline-sample-app-new/node_modules/java/build/Release/nodejavabridge_bindings.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 47. This version of Node.js requires
NODE_MODULE_VERSION 51.
I re-compiled with nw-gyp build --target=nw-version(0.22.3)
My node-java version 0.8.0.
What is issue in building? How to fix this?
I am using ubuntu14.04
The text was updated successfully, but these errors were encountered: