Skip to content
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

SDL #10

Closed
illua1 opened this issue Oct 20, 2018 · 4 comments
Closed

SDL #10

illua1 opened this issue Oct 20, 2018 · 4 comments

Comments

@illua1
Copy link

illua1 commented Oct 20, 2018

Sorry, how does it require to install the SDL if I do not use the program for writing on c / c ++?

@tfriedel6
Copy link
Owner

Hi!
I'm not quite sure I understand what you mean. The canvas/sdlcanvas package uses github.com/veandco/go-sdl2/sdl which binds to the C SDL implementation, so you would have to check there for how the SDL library is installed. You can also use GLFW or something else though if you don't use the canvas/sdlcanvas package, like in some of the examples.
Hope that helps

@illua1
Copy link
Author

illua1 commented Oct 20, 2018

Yes, I just speak Russian and some translation may not be completely correct.
the fact is that I don’t understand how exactly the SDL needs to be established, so that the canvas would become working
https://cdn.discordapp.com/attachments/324825100216172544/503170957981122560/unknown.png

@tfriedel6
Copy link
Owner

No problem! Ok, it appears that the SDL package requires the SDL library to be installed on the system first. The requirements are listed here:
https://github.com/veandco/go-sdl2#requirements

Alternatively I have just pushed a canvas/glfwcanvas package that you can use instead, which should not require anything to be installed. I hope.

@illua1
Copy link
Author

illua1 commented Oct 20, 2018

yes, thanks, the option with msys2 helped

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