Find the answer to your Linux question:
Results 1 to 2 of 2
Hi all, I wish to create a program, along with GUI using C++, but as this is goign to be the only program used on a PC I do not ...
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    5

    command line graphics

    Hi all,

    I wish to create a program, along with GUI using C++, but as this is goign to be the only program used on a PC I do not want to have to install lots of other programs (firefox, etc.). Also I do not want to have to install X.org along with gnome or another desktop environment as these seem surplus to my requirements. I was wondering if there was any way to display graphics from the command line without the usual hefty install (not to mention starting time). Ideally my program will bypass system login so all one needs to do is turn on the PC, which after booting loads my program. I remember seeing a library for graphics on the command line someplace, but cannot recall the details?

    If needed, I would be willing to install X as long as I could bypas the desktop environment.

    thnaks,
    Ben

    PS. I don't like the look of X programs (xcode, etc.) so SDL or OpenGL would be preferable. I will be using an old GeForce card, so compatibility is not too much of an issue.

  2. #2
    Linux Engineer RobinVossen's Avatar
    Join Date
    Aug 2007
    Location
    The Netherlands
    Posts
    1,422
    Two ways
    Framebuffer and Ncurses.

    If its a Embedded device you might want to just make a PHP Frontend.

    Cheers,
    Robin
    New Users, please read this..
    Google first, then ask..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...