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

[haxe.org/manual] Getting started with Haxe/C# #30

Open
utterances-bot opened this issue Oct 5, 2019 · 4 comments
Open

[haxe.org/manual] Getting started with Haxe/C# #30

utterances-bot opened this issue Oct 5, 2019 · 4 comments

Comments

@utterances-bot
Copy link

Getting started with Haxe/C# - Haxe - The Cross-platform Toolkit

Haxe is an open source toolkit based on a modern, high level, strictly typed programming language.

https://haxe.org/manual/target-cs-getting-started.html

Copy link

Works like a charm!

Copy link

Thank you.

Copy link

I tried to install minimingw but the compiler says I don't have Visual Studio installed (which is true) but I cannot get the minimingw toolkit running.

Copy link

You can get it to work by adding the HXCPP-MINGW define to the compilation file

For example:
Lime/OpenFL/NME (Project.xml): <define name="HXCPP-MINGW" />
Haxe (HXML Build file): -D HXCPP-MINGW

I'm using HXCPP 4.3.2 at the moment and I got a compilation error on Thread.cpp, apparently when enabling MinGW compiler it also enables HXCPP_WINXP_COMPAT so you may want to disable this define

For example:
Lime/OpenFL/NME (Project.xml): <undefine name="HXCPP_WINXP_COMPAT" />
Haxe (HXML Build file): -D HXCPP_WINXP_COMPAT 0

Hope it helps!

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

5 participants