halide/atom

Change target machine type to X64?

Opened this issue · 1 comments

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!

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