Thread: Seek modern graphics library for C

  1. #1
    Registered User
    Join Date
    Apr 2022
    Posts
    8

    Seek modern graphics library for C

    Hello I'm new to the group and this is my first post.

    My recent C programming experience has primarily been with Power C for the Commodore 64 (K&R Style), Microsoft Quick C 2.5 and Open Watcom for MS-DOS. I have never programmed in C++ but I have made IOS Apps using Objective-C and Xcode a number of years back with the aid of Cocos2D.

    I'm interested in developing on modern Windows and possibly Linux. I downloaded Code::Blocks with MinGW 64 bit and have that all setup. My problem at this point is where do I go from here to be able to display Menus, draw primitives, print using fonts and utilize sound. I'm not writing games, so speed isn't critical, ease of use is preferable.

    I attempted to get Allegro 5.2 working with GCC-6.3.0-1 but all I get is an undefined reference error which probably means the same thing as an unresolved external if I'm guessing correctly. I don't think my Allegro library download is probably the correct version for my MinGW package. I also noticed that the Allegro library's last release was March 7th, 2021 which seems a bit old to me. Maybe they aren't keeping it updated much these days and I need a new direction to try.

    Any information would be appreciated. Thanks!

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well it might be an idea to say
    - which allegro you installed Allegro - Download - Latest version
    - what the actual error message(s) were
    - what your example test code looks like
    - what you typed to compile and link the code.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. looking for appropriate graphics library
    By new_in_c++ in forum Game Programming
    Replies: 3
    Last Post: 06-07-2011, 05:02 PM
  2. 2D Graphics Library
    By Evilpopcorn in forum C++ Programming
    Replies: 12
    Last Post: 08-13-2009, 01:00 AM
  3. modern mathplot library in c
    By stabu in forum C Programming
    Replies: 4
    Last Post: 05-26-2009, 04:11 PM
  4. Graphics Library
    By Emotions in forum Game Programming
    Replies: 4
    Last Post: 12-23-2004, 06:08 AM
  5. CMU Graphics Library
    By SneakyFungus in forum C++ Programming
    Replies: 0
    Last Post: 12-28-2001, 03:04 PM

Tags for this Thread