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

Cannot compile native add on with 6.0.8 on x64 architecture #20198

Closed
3 tasks done
mastergberry opened this issue Sep 11, 2019 · 3 comments
Closed
3 tasks done

Cannot compile native add on with 6.0.8 on x64 architecture #20198

mastergberry opened this issue Sep 11, 2019 · 3 comments

Comments

@mastergberry
Copy link

Preflight Checklist

  • I have read the Contributing Guidelines for this project.
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for an issue that matches the one I want to file, without success.

Issue Details

  • Electron Version:
    • 6.0.8
  • Operating System:
    • Windows 10 (Build 18362)
  • Last Known Working Electron version:
    • 6.0.2

Expected Behavior

For the node-gyp to properly compile my native add on.

Actual Behavior

Getting a compiler error:

node.lib(node.exe) : fatal error LNK1112: module machine type 'ARM64' conflicts with target machine type 'x64' (this file comes from https://atom.io/download/electron)

To Reproduce

Run node-gyp for a native add on...

node-gyp build --target=6.0.8 --arch=x64 --dist-url=https://atom.io/download/electron

Screenshots

Additional Information

This is only happening on x64, ia32 is still working as intended.

@mastergberry
Copy link
Author

I believe this relates to #20113

I also was able to downgrade to 6.0.7 and not have any issues compiling my native add-on...so most likely this pull request above.

@malept
Copy link
Member

malept commented Sep 11, 2019

I believe this is a duplicate of #20185.

@jkleinsc
Copy link
Contributor

Closing as duplicate of #20185

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

3 participants