Skip to content
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

Error during compilation with node-gyp #20

Open
emanahov opened this issue Jan 31, 2016 · 0 comments
Open

Error during compilation with node-gyp #20

emanahov opened this issue Jan 31, 2016 · 0 comments

Comments

@emanahov
Copy link

Hello,

I am using the latest version of MacOS and I have updated Xcode.

I get the following errors after I try to compile as you've described first with node-gyp configure, then node-gyp build:

gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/node_pcsc/src/node-pcsc.o
In file included from ../src/node-pcsc.cc:17:
../src/pcsc-emitter.h:23:34: error: expected class name
class PCSCEmitter : public node::ObjectWrap {
^
../src/pcsc-emitter.h:35:45: error: no type named 'Arguments' in namespace 'v8';
did you mean 'v8::internal::Arguments'?
static v8::Handlev8::Value New( const v8::Arguments& args );
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/emanahov/.node-gyp/4.2.3/include/node/v8.h:139:7: note:
'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/node-pcsc.cc:17:
../src/pcsc-emitter.h:36:51: error: no type named 'Arguments' in namespace 'v8';
did you mean 'v8::internal::Arguments'?
static v8::Handlev8::Value scardRead( const v8::Arguments& args );
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/emanahov/.node-gyp/4.2.3/include/node/v8.h:139:7: note:
'v8::internal::Arguments' declared here
class Arguments;
^
In file included from ../src/node-pcsc.cc:17:
../src/pcsc-emitter.h:37:52: error: no type named 'Arguments' in namespace 'v8';
did you mean 'v8::internal::Arguments'?
static v8::Handlev8::Value getReaders( const v8::Arguments& args );
^~~~~~~~~~~~~
v8::internal::Arguments
/Users/emanahov/.node-gyp/4.2.3/include/node/v8.h:139:7: note:
'v8::internal::Arguments' declared here
class Arguments;
^
4 errors generated.
make: *** [Release/obj.target/node_pcsc/src/node-pcsc.o] Error 1
gyp ERR! build error

What could cause these errors?

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant