You are not logged in.
Pages: 1
Hello. Quick question. I need graphics.h in C. I heard that SDL has its implementation. I have it installed, however <graphics.h> isn't there. I have also browsed sdl package and there is not a file named graphics or anything like it.
Offline
These packages include a "graphics.h"
$ pkgfile graphics.h
extra/allegro4
extra/octave
extra/wxgtk
extra/wxgtk2.8
community/freerdp
However, I'm pretty sure this is an X-Y question as it is highly unlikely that any of these are what you are looking for.
What are you actually trying to do? What errors are you getting?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I get an error that graphics.h is not found. I just want basic 2d stuff, like drawing circles, lines etc.
Offline
I get an error that graphics.h is not found.
That's not at all useful. What command led to that error? What was the *exact* error message? What are you trying to compile when you encounter that error?
What do you want to draw circles and lines on? Image files? Web pages? X Windows?
As is, this is not a programming issue. Moving to Newbie Corner. Please read the following:
http://catb.org/~esr/faqs/smart-questions.html
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Pages: 1