andlabs / ui

Platform-native GUI library for Go.
Other
8.33k stars 651 forks source link

Build on Linux with problem #285

Closed vit1251 closed 6 years ago

vit1251 commented 6 years ago

Try to install UI module by go get and receive compileation problem could you please fix it

# go get -u github.com/andlabs/ui
/usr/bin/ld: /root/go/src/github.com/andlabs/ui/libui_linux_amd64.a(libui-combined.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: error: ld returned 1 exit status
Makefile:9: recipe for target 'depend' failed
make: *** [depend] Error 2
andlabs commented 6 years ago

Duplicate of #230