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

C++ Addons stops working after compiling nw to exe #3582

Closed
Acanguven opened this issue Jun 14, 2015 · 4 comments
Closed

C++ Addons stops working after compiling nw to exe #3582

Acanguven opened this issue Jun 14, 2015 · 4 comments
Labels

Comments

@Acanguven
Copy link

Hello,

I am working on a project that needs a native c++ addon. Everything works perfect when I nw /app But after I compile the application to exe using copy /b nw.exe+main.nw app.exe c++ addon stops working.

I used nw-gyp to build my addon.

I hope you can help me.

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@yuchuan1
Copy link

I believe this is related to #199

@githubuserxj
Copy link

@yuchuan1
how to rebuild nw with ninja,like "ninja -C out/Release xxx -j8",you will get xxx.exe and xxx.lib.
thanks.

@edwin1329
Copy link

Named after compiling your .exe with nw.exe, the addons need this name to function well.

@Christywl
Copy link
Contributor

Is this issue still reproduced on the latest nwjs build?

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

No branches or pull requests

5 participants