CrazyEngineers
  • Running C Graphics Programs In Linux

    ms_cs

    Member

    Updated: Oct 26, 2024
    Views: 1.2K
    I use Gcc in generally for running c programs, Just 5 minutes before I attempted to run the program that includes the graphics.h header file.But I get the error as, "cannot find file graphics.h", How to run program using gcc...or is there any other compiler available to run c programs with graphics options
    0
    Replies
Howdy guest!
Dear guest, you must be logged-in to participate on CrazyEngineers. We would love to have you as a member of our community. Consider creating an account or login.
Replies
  • Vivek788

    MemberMar 21, 2009

    u can't use that header for doing graphics programming in linux..use svgalib library and use it for programming..have a user a/c that has sudo power or root power,or you won't be able to execute your programs. Its fairly simple to use..and few documentation available online..enough for learning the basics though...
    Are you sure? This action cannot be undone.
    Cancel
  • MaRo

    MemberMar 22, 2009

    EDIT: Google has some solutions & tutorials for it, may be some libraries needed.
    Are you sure? This action cannot be undone.
    Cancel
  • ms_cs

    MemberMar 22, 2009

    Ok..I will try that...
    Are you sure? This action cannot be undone.
    Cancel
  • vnvnvn2000

    MemberMar 25, 2009

    Borland' C/C++ compiler's a little different eg graphics.h etc is not a defacto thus not present in g++.Now many books for eg Cpp for Dummies etc cites examples been compiled on using gcc either in Windows OS or Linux.In windows some minimalist gnu...mingw32 etc should be installed.
    Are you sure? This action cannot be undone.
    Cancel
Home Channels Search Login Register