Closed mrose17 closed 10 years ago
i tried to test it on my raspberry pi.
I had the following errors when running the node-gyp build command:
pi@spot-raspberrypi ~/node-server/test/node-nfc $ node-gyp build
gyp info it worked if it ends with ok
gyp info using node-gyp@0.13.1
gyp info using node@0.10.29 | linux | arm
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory /home/pi/node-server/test/node-nfc/build' CXX(target) Release/obj.target/nfc/src/nfc.o ../src/nfc.cc:15:3: error: expected primary-expression before ‘.’ token ../src/nfc.cc:16:3: error: expected primary-expression before ‘.’ token make: *** [Release/obj.target/nfc/src/nfc.o] Error 1 make: Leaving directory
/home/pi/node-server/test/node-nfc/build'
gyp ERR! build error
gyp ERR! stack Error: make
failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/node-gyp/lib/build.js:267:23)
gyp ERR! stack at ChildProcess.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:809:12)
gyp ERR! System Linux 3.10.25+
gyp ERR! command "node" "/usr/local/bin/node-gyp" "build"
gyp ERR! cwd /home/pi/node-server/test/node-nfc
gyp ERR! node -v v0.10.29
gyp ERR! node-gyp -v v0.13.1
gyp ERR! not ok
hmm i'll check the build error. I think it might have to do with the C++ version
thanks. I'm pretty sure, I have an easy fix when I am back online in an hour or so ...