Home

Cam Menard

This Program was written to give a Linux user an Applet to access the data file the CARDFILE.EXE Windows 3.x applet creates: to edit, add, and delete cards. It is currently written in C, using the GTK widget set. Some modifications/completions required.


Project Admins:


Discussion

  • John Dougherty
    John Dougherty
    2013-03-12

    hey Cam -
    over at http://cardwin.sourceforge.net/
    you mention your command line is in the release notes.
    Could you also please provide the output of your

    pkg-config gtk+-2.0 --cflags --libs

     
  • Cam Menard
    Cam Menard
    2013-03-18

    I have about a week off shortly, and should have time to start updating the code so it'll provide a running executable. If I do, I'll post information on what was required.

    Here are the outputs for the configuration:

    Output:
    pkg-config gtk+-2.0 --cflags --libs
    -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0

    And for gtk3:
    pkg-config gtk+-3.0 --cflags --libs
    -pthread -I/usr/include/gtk-3.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/libpng12 -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0

     
  • Cam Menard
    Cam Menard
    2013-03-24

    John:

    After sevral hours of study (day 1 break) and modification, The command I used was:

    gcc -g cardwin.c pkg-config --cflags gtk+-2.0 -DGTK_ENABLE_BROKEN -o cardwin pkg-config --libs gtk+-2.0

    • Older functions (depreciated) were used from the 1.x release.

    • from what I've read so far, the 'link' section has to presented separately from the 'compiler section, and the compler needs an item to define it as broken. Several errors still shoe up so more info will come as I get it.

    -Cam.