-
Notifications
You must be signed in to change notification settings - Fork 8
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-gyp compillation #16
Comments
Hi, |
my module should work on client side thats why i use node-webkit and nw-gyp rather then node-gyp (node-webkit and node use diffrend ABI). The problem was in header files. If put #include <node.h> directly in sources but not in headers it compiles well with node-gyp and nw-gyp. It looks like some linker settings can be changed to achive same result but i dont know much about cpp linkers and dont have such solution. May be Ludovic can advise something^^? |
I also cant compile with nw-gyp ../src/common.h:13:48: warning: format specifies type 'unsigned long' but the argument has type 'LONG' (aka 'int') [-Wformat] getting some warnings... |
I would like to use the smartcard reader on windows and mac.. (error log above is from mac) |
for the record on OSX I get the same errors with node-gyp |
Ok compilation worked now. I had to make a few changes to the .cpp files (I will send them to the creator of this project) |
The program I am running now on OSX opens up and show's the name of my cardreader and than crashes... |
So I guess something is wrong with the C++ code at runtime now.. How could i debug the .cpp code? (I'm not really used to program in this language) |
commented some js code now, and It seems after creation var pcsc = pcsc(); the program crashed after a few seconds. |
@mn1aC did you pushed any branch I could look at? |
@mn1aC bump :) |
I have an error when trying to compile with nw-gyp rather then node-gyp
"CIL library ( CIL module *) : error LNK2005: "public: class v8::Local __thiscall ... ... alerady defined in nw.lib(nw.exe)
whats goin on? is it some headers included two times?
The text was updated successfully, but these errors were encountered: