Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

sdk should include libs for arm/x86/x64 #155

Open
munyirik opened this issue Dec 8, 2016 · 0 comments
Open

sdk should include libs for arm/x86/x64 #155

munyirik opened this issue Dec 8, 2016 · 0 comments

Comments

@munyirik
Copy link

munyirik commented Dec 8, 2016

  • Version: 7.0.0-pre10
  • Platform: Windows 10
  • Subsystem: gyp

If I install node-chakracore on my PC and try to build a native addon targeting a different architecture I will get an error.

For example, I have node-chakracore x64 installed. If I run the command below -

npm install <native addon> --target_arch=arm --build-from-source

I'll get the following error:

Error LNK1112 module machine type 'x64' conflicts with target machine type 'ARM'

The sdk folder should look something like this:

sdk
└───release
│   └───arm
│       └─── node.lib
│       └─── chakracore.lib
│   └───x86
│    ...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant