Site Tools


projects:nwjs_from_source

nwjs from source

debugging

cd /home/onny/chroot/onny/build/nwjs/src/nwjs/src
export PATH="/home/onny/chroot/onny/build/nwjs/src/depot_tools:$PATH"
export PATH="/home/onny/chroot/onny/build/nwjs/src/path:$PATH"
export GYP_DEFINES="target_arch=x64"
gn gen out/nw --args='is_debug=false is_component_ffmpeg=true target_cpu="x64"'
GYP_CHROMIUM_NO_ACTION=0 ./build/gyp_chromium -I third_party/node-nw/common.gypi third_party/node-nw/node.gyp
cd /home/onny/chroot/onny/build/nwjs/src/nwjs/src/build/linux
cc -MMD -MF obj/third_party/node-nw/deps/zlib/zlib.inflate.o.d -DZ_HAVE_UNISTD_H -DHAVE_HIDDEN -I../../third_party/node-nw/deps/zlib -pthread -Wall -Wextra -Wno-unused-parameter -m64 --sysroot=/home/onny/chroot/onny/build/nwjs/src/nwjs/src/build/linux/debian_jessie_amd64-sysroot -fPIC -O3 -fno-omit-frame-pointer   -c ../../third_party/node-nw/deps/zlib/inflate.c -o obj/third_party/node-nw/deps/zlib/zlib.inflate.o

finding the missing include files

find /home/onny/chroot/onny/build/nwjs/src/nwjs/src/build/linux/debian_jessie_amd64-sysroot -iname cdefs.h
/home/onny/chroot/onny/build/nwjs/src/nwjs/src/build/linux/debian_jessie_amd64-sysroot/usr/include/x86_64-linux-gnu/sys/cdefs.h
projects/nwjs_from_source.txt · Last modified: 2021/10/31 10:42 by 127.0.0.1