-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unable to compile on mac #10
Comments
Hey, I have been using the dialogs just last night / today with no issues, but I'll take a closer look at the error you've pasted and see if I can spot any issues. |
I can't seem to reproduce this issue (but I am testing on sierra). I'm testing on the same haxe version and same hxcpp version, and it was also working fine on haxe 3.2.1, so I'm having trouble pinpointing where the exact break down comes from. How did you reference the library in your project file, and how are you using it in code? |
Firstly, it works fine on Windows. There's nothing weird that I know of about the way I'm using it, I have it installed via the It's clearly not bringing in the linc_dialogs_mac.mm file into the build, but I haven't got the faintest clue why. It looks like the
Is that -Iinclude part the same as what you have? |
I forgot to answer your question, it was definitely working before my upgrade, but unfortunately I was forced to upgrade lime, openfl and hxcpp at once, so I don't know if it was any of those or the upgrade to haxe or something else. I'll see if I can figure out what screwed up the build. Please call me out if there's anything stupid that I might have forgotten to do. |
Hmm, well the way it works is relatively straight forward. adding I have one guess though - mid thought - maybe |
Hmm. I don't think lime is giving me My project.xml file in full is:
The hxml file that I'm looking at is bin/mac64/cpp/release/haxe/final.hxml -- hopefully that's the right one. (There are debug.hxml and release.hxml files in there, but they're only marginally different.) I've cleared all other builds to avoid confusing myself further. The way lime produced this file is:
|
I think the What really happens is a simple chain of events;
So the fact you're seeing some I can't see anything obvious, you should enable verbose flags for hxcpp, try a clean build, and watch for the linc_dialogs_mac.mm to check it's being roped into the build. If not you can try sticking |
It's an import
and lower down
It looks like linc_dialogs_mac.mm is not in the build, so I'm fiddling with adding
What does it mean that the |
that is strange, especially since it's working on windows and was working before. I honestly can't think of anything. Does the test case in the folder run? |
The test case does build ok ... it does seem to stall halfway when you run it (the second dialog for saving never appears), but it builds fine. |
Yea the running lacks a proper run loop in a console app so it gets weird. That it builds would be the test. Did you try an empty project that has no history and reference -> use it to see if it's maybe somehow cached state? |
I have an empty sample project set up at https://github.com/brokenbeta/linc_dialog_test/ It doesn't compile for me. Could you try it?
|
Compiler invocation:
Output:
I've recently upgraded haxe, hxcpp, lime, basically everything I have at the top of that list to most recent version. Somewhere along the way, linc_dialogs stopped compiling for me on mac. I haven't tried upgrading OSX to Sierra yet because that potentially affects other things for me, but if it's likely to work I'll do it.
The text was updated successfully, but these errors were encountered: