|
From: | Patrick |
Subject: | Re: [open-cobol-list] Does OpenCOBOL support the GIMP ToolKit, GTK+? |
Date: | Sun, 27 Jan 2013 18:06:44 -0500 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 |
Hi Paride I will send you a package offlist. I worked through this already.Basically you can just take the output of pkg-config and paste it in rather then calling it. Just delete the pthread, you won't need it for simple examples.
There isn't a full binding written but I don't think it will be hard to build one as you develop your application. I don't know enough about cobol to do this myself yet but hopefully soon.
On 13-01-27 01:21 PM, Paride Desimone wrote:
Hi, I try to compile examples in section 5.53 from the OpenCOBOL FAQ. I try this on Debian Squeeze, with libgtk2.0, libgtk2.0-dev, gtk2.0, pkg-config from squeeze-backports. when i try to compile, cobc -c `pkg-config --cflags gtk+-2.0` ocgtk.c cobc -x `pkg-config --libs gtk+-2.0` gtkhello.cob ocgtk.o cobc report this error: cobc: unrecognized option '-pthread' Anyone are be able to help me? Paride
[Prev in Thread] | Current Thread | [Next in Thread] |