-
Notifications
You must be signed in to change notification settings - Fork 647
Master issue for MinGW-w64 TaskDialog() linker failures #279
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
Comments
Repository owner
locked and limited conversation to collaborators
Mar 26, 2018
This was referenced Mar 26, 2018
Closed
Closed
Closed
Repository owner
unlocked this conversation
Mar 26, 2018
I don't speak whatever language that is (sorry), but if I were to guess it's because you're missing the manifest file. |
Thank you! The problem is solved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Apparently MinGW-w64 v4 and lower do not include TaskDialog(). Because Go currently requires gcc or compatible (e.g. clang) to build with cgo, we'll need to address this, especially since MinGW-w64 is separate from the original MinGW, and especially since some people might have installed MinGW or MinGW-w64 as part of a larger package (such as an IDE like Code::Blocks). Some people have also confused the version of MinGW-w64 with the version of gcc, which also doesn't help things.
I originally thought I fixed this in MinGW-w64 4, but apparently that only got propagated to MSYS2, not MinGW-w64 binary releases. I don't know what the current scenario is, but I will definitely need to get solid version numbers that I can test against...
I could alternatively switch to
TaskDialogIndirect()
, which IIRC (I could be wrong about this; I forget now) does not have this issue, but that might (does not have to, but would be nice if it was) be contingent on reworking dialogs, which I have to make an issue about, but the general gist of my dilemma can be read here. I also forget ifTaskDialogIndirect()
behaves differently fromTaskDialog()
with regards to the limit on the amount of text in the dialog and the line wrapping rules therein.(There's also dynamically loading
TaskDialog()
, which is a bit overkill, but eh.)There are a lot of people using TDM-GCC instead of MinGW-w64. I need to investigate whether that one can be used for post-Windows 2000 code at all, otherwise I have to start explicitly looking for TDM specifically to give a special error message in that case (in addition to a non-MinGW-w64 MinGW error message).
I might convert this into a tracking issue later.
The text was updated successfully, but these errors were encountered: