Skip to content

Go Get Problems #196

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
cbehopkins opened this issue Sep 28, 2016 · 5 comments
Closed

Go Get Problems #196

cbehopkins opened this issue Sep 28, 2016 · 5 comments

Comments

@cbehopkins
Copy link

I suspect I am on the incorrect version of GCC? Either that or it's not happy with having my git repository on a drive that isn't c?

 go get github.com/andlabs/ui
# github.com/andlabs/ui
P:/git/src/github.com/andlabs/ui/libui_windows_amd64.a(alloc.cpp.obj): In function `uiAlloc':
E:/github.com/andlabs/libui/windows/alloc.cpp:34: undefined reference to `operator new(unsigned long long)'
E:/github.com/andlabs/libui/windows/alloc.cpp:34:(.text+0x237): relocation truncated to fit: R_X86_64_PC32 against undefined symbol `operator new(unsigned long long)'

There's a lot more error messages than that but they're all very similar

@andlabs
Copy link
Owner

andlabs commented Oct 21, 2016

What is your gcc? Is it a 32-bit or a 64-bit gcc?

@Goblinlordx
Copy link

Same issue:
Target: x86_64-pc-cygwin
Version: gcc version 5.4.0 (GCC)

@comaldave
Copy link

I seem to have a similar problem.

gcc.exe (tdm64-1) 5.1.0

    > go get github.com/andlabs/ui
    # github.com/andlabs/ui
    C:/Users/skinn/local/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

@andlabs
Copy link
Owner

andlabs commented Feb 9, 2017

@comaldave your problem is an old MinGW. Get MinGW-w64 5.

@andlabs
Copy link
Owner

andlabs commented Mar 26, 2018

Merged with #281 and #279 (respectively).

@andlabs andlabs closed this as completed Mar 26, 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

4 participants