Skip to content

undefined reference error with gcc 5.1.0 #291

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

Closed
Michael-Dixey opened this issue Apr 27, 2018 · 2 comments
Closed

undefined reference error with gcc 5.1.0 #291

Michael-Dixey opened this issue Apr 27, 2018 · 2 comments

Comments

@Michael-Dixey
Copy link

I have installed gcc 5.1.0, but unfortunately am still receiving the common "undefined reference to TaskDialog" error that has been reported many times. I was under the impression any gcc version after 4 would be appropriate for this. Is there something simple I'm missing here? Any help would be appreciated, as I look forward to trying out your gui for Go.

C:\TDM-GCC-64>go get "github.com/andlabs/ui"

github.com/andlabs/ui

C:/Users/mdixey/go/src/github.com/andlabs/ui/libui_windows_amd64.a(stddialogs.cpp.obj): In function msgbox': E:/github.com/andlabs/libui/windows/stddialogs.cpp:113: undefined reference to __imp_TaskDialog'
collect2.exe: error: ld returned 1 exit status

gcc version info:
C:\TDM-GCC-64>gcc --version
gcc (tdm64-1) 5.1.0

@andlabs andlabs marked this as a duplicate of #281 Apr 27, 2018
@andlabs andlabs closed this as completed Apr 27, 2018
@andlabs
Copy link
Owner

andlabs commented Apr 27, 2018

Also try switching to MinGW-w64.

@andlabs andlabs marked this as not a duplicate of #281 Apr 27, 2018
@andlabs
Copy link
Owner

andlabs commented Apr 27, 2018

Duplicate of #279

@andlabs andlabs marked this as a duplicate of #279 Apr 27, 2018
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

2 participants