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

target; 64 bit windows #18

Closed
ruby0x1 opened this issue Jul 30, 2014 · 13 comments
Closed

target; 64 bit windows #18

ruby0x1 opened this issue Jul 30, 2014 · 13 comments

Comments

@ruby0x1
Copy link
Member

ruby0x1 commented Jul 30, 2014

Blocked by lack of hxcpp 64 bit on Windows.

Please consider requesting this feature at:
https://github.com/HaxeFoundation/hxcpp

The more need/desire, the more likely.

@ruby0x1 ruby0x1 added this to the blocked milestone Jul 30, 2014
@JeriXNet
Copy link

I was able to built with hxcpp 64bit windows executables through mingw 2 days ago. Maybe lack of 64bit support on windows is a bit outdated?
//although, I don't know anythings about msvs and their tools

@ruby0x1
Copy link
Member Author

ruby0x1 commented Oct 10, 2014

Possibly? I saw issues on the hxcpp for some years now, with no changes. I will look into it, I recall seeing code that stopped 64 bit on msvc but I can't find it now. It will be easy enough to test later.

@JeriXNet
Copy link

again, I don't know about msvs, but with mingw-builds mingw installations (separate for targeting 32 and 64 bits) it was ok

@ruby0x1
Copy link
Member Author

ruby0x1 commented Oct 10, 2014

I just read that MSVC express doesn't support 64 bit builds. eugh.

I will remove any roads in the tools that warn of this, and "allow" windows to build against 64 bit, and have someone try build and test a 64 bit windows build on a dev box setup for that. That should be a good start, as I see there is some provision for that now in the hxcpp toolchain.

@marynate
Copy link
Contributor

Got following error on VC2013 64 bit windows build: ( same project runs fine for 32 bit build )

   Creating library LuxeApp.lib and object LuxeApp.exp
libsnow.lib(d452f45b_helpers.obj) : error LNK2019: unresolved external symbol __control87_2 referenced in function RestoreFPUMode
LuxeApp.exe : fatal error LNK1120: 1 unresolved externals

@ruby0x1 ruby0x1 added windows and removed blocked labels Oct 11, 2014
@ruby0x1
Copy link
Member Author

ruby0x1 commented Oct 11, 2014

799fc3a

@ruby0x1 ruby0x1 closed this as completed Oct 11, 2014
@ruby0x1
Copy link
Member Author

ruby0x1 commented Oct 11, 2014

It should be working now, if you update, you can build your windows project using --arch 64, I think (will confirm) it runs automatically at 64 if that's your arch

@ruby0x1
Copy link
Member Author

ruby0x1 commented Oct 11, 2014

and update flow, as it now builds the default to your os arch

@ashea-code
Copy link

My windows system still wants to default to 32 bit it seems, even though I am on a 64 bit OS and machine.
When I try to force it with --arch 64 it complains that the 64 bit versions of lib files (such as regexp.lib) cannot be found. Assuming that's an issue with hxcpp?

@marynate
Copy link
Contributor

You need to build hxcpp 64bit librarys:

neko run.n Build.xml -Dwindows -DHXCPP_M64 -Dstatic_link ./project/

run in the root folder of your hxcpp repo

@ruby0x1
Copy link
Member Author

ruby0x1 commented Oct 22, 2014

Yea, I originally defaulted it to 64 and then realized it won't "just work" and there are actually problems with visual c++ express edition not supporting x64 at all. In order to use it with express, you need an additional Platform SDK which required me to uninstall express, install the sdk, reinstall express, and in the end, hxcpp doesn't come with prebuilt x64 binaries so all in all, it's better if it's explicit for now.

@ashea-code
Copy link

I got it working, thanks!
I was hoping there would be a nice way to specify architecture via the flow file. Unless I'm missing something.

@ruby0x1
Copy link
Member Author

ruby0x1 commented Oct 22, 2014

There isn't arch from the flow file right now. Make an issue and I can find a nice way to make that an option.

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

No branches or pull requests

4 participants