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

Change target machine type to X64? #4

Open
amhood opened this issue Nov 23, 2018 · 1 comment
Open

Change target machine type to X64? #4

amhood opened this issue Nov 23, 2018 · 1 comment

Comments

@amhood
Copy link

amhood commented Nov 23, 2018

Hello,

I just came across your work and saw the demo on youtube, which is amazing!

I wanted to try it out myself on windows. I only got 64 bit Atom and Halide, I got the link error message saying that "(halide.dll) module machine type (x64) conflicts with target machine type (x86)"

Could you give me a pointer as how to modify the build settings?

Thanks a lot!

@dan-tull
Copy link
Contributor

Thanks. It was fun to build, sorry I haven't kept on maintenance lately.

I didn't even realize there was a 64-bit build of Atom for Windows. I suspect at the time I last looked at this there wasn't one, so I used 32-bit Halide so it'd match the Atom architecture.

Where does that error appear? Is it when attempting to build the plugin itself or after the plugin loads and it is attempting to build a halide fragment into a dll to render the result?

winenv.coffee and make.bat (in examples) seem to be main spots where x86 (vs x64) is currently hard coded:
https://github.com/halide/atom/search?q=x86&unscoped_q=x86

I don't have a Windows dev environment handy at the moment to experiment with repointing these to make the plugin friendly to 64-bit builds, but hopefully that helps.

DT

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

2 participants