Find the answer to your Linux question:
Results 1 to 4 of 4
Hi guys, can anybody tell how can i make graphics in c? im using debian sarge tried with sdl but compiler says an error...
  1. #1
    Just Joined!
    Join Date
    May 2006
    Posts
    10

    Graphics programming in c

    Hi guys, can anybody tell how can i make graphics in c?


    im using debian sarge

    tried with sdl but compiler says an error

  2. #2
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401
    Post on Linux programming forum... you will have more chances...

    BTW, sdl library it's a good start. It's enought simple, and can work on many platforms. Don't mind the compiler error, it works.
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

  3. #3
    Just Joined!
    Join Date
    May 2006
    Posts
    10
    no it doesnt work. when i type g++ myprogie.cpp he says some error- undefinded reference to ...


    is it that i need to add something to my command?

  4. #4
    Linux User
    Join Date
    Aug 2005
    Location
    Italy
    Posts
    401

    It does.

    Apart you wrote in the wrong forum (see Linux programming and scripting section).

    Yes. You miss a lot. Probably you haven't read any GCC manual. In linuxforums you'll find any information you need, without opening a new thread (about it: read the forum rules).

    You miss the linked -l option when invoce GCC. You should investigate about GCC linking for using external libraries.
    When using Windows, have you ever told "Ehi... do your business?"
    Linux user #396597 (http://counter.li.org)

Posting Permissions

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