Go-sfml `` is deprecated

Viewed 110

I set up sfml and csfml in my environment and then tried installing go-sfml, which started returning tons of deprecation warnings. I think I have the right sfml versions, so I don't know what is wrong or how to fix it.

I used winbuilds to set up gcc.

What I did:

go get -u gopkg.in/teh-cmc/go-sfml.v24/...

Returns multiple warnings like:

Graphics_wrap.c:6614:3: warning: 'sfShader_setCurrentTextureParameter' is deprecated (declared at c:\users\****\documents\winbuilds\x86_64-w64-mingw32\include\sfml\graphics\shader.h:646) [-Wdeprecated-declarations]
   sfShader_setCurrentTextureParameter(arg1,(char const *)arg2); 

It also fails to install/build (at least I think that is what it is saying):

C:\Program Files\Go\pkg\tool\windows_amd64\link.exe: running gcc failed: exit status 1
c:/users/****/documents/winbuilds/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld.exe: unrecognized option '--high-entropy-va'
c:/users/****/documents/winbuilds/bin/../lib64/gcc/x86_64-w64-mingw32/4.8.3/../../../../x86_64-w64-mingw32/bin/ld.exe: use the --help option for usage information
collect2.exe: error: ld returned 1 exit status```
1 Answers
Related