HOME  NEWS  FORUM  DOWNLOAD  LINK
OpenCOBOL - an open-source COBOL compiler
Main Menu
Download
Documentation
Development
Who's Online
20 user(s) are online (9 user(s) are browsing Forum)

Members: 0
Guests: 20

more...
Powered by
SourceForge

Xoops

Creative Commons

OpenCOBOL Forum Index
   OpenCOBOL
     COMPILING ocgtk.c ERRORS
Register To Post

Threaded | Newest First Previous Topic | Next Topic | Bottom
Poster Thread
Bear
Posted on: 2010/12/19 10:18
Home away from home
Joined: 2006/12/12
From: Lyon FRANCE
Posts: 173
COMPILING ocgtk.c ERRORS
Hello World of OpenCobol,

I'm trying to compile gtkhello & ocgtk.
Some errors happened on ocgtk. compiling :
soft@fransozich:~/example$ cobc -c `pkg-config --cflags gtk+-2.0` ocgtk.c
ocgtk.c: In function ‘CBL_OC_GTK_WINDOW_SET_TITLE’:
ocgtk.c:45: error: invalid type argument of ‘->’ (have ‘int’)
ocgtk.c:47: error: invalid type argument of ‘->’ (have ‘int’)
ocgtk.c: In function ‘CBL_OC_GTK_MENU_ITEM_NEW_WITH_LABEL’:
ocgtk.c:124: error: invalid type argument of ‘->’ (have ‘int’)
ocgtk.c:126: error: invalid type argument of ‘->’ (have ‘int’)
ocgtk.c: In function ‘CBL_OC_GTK_ENTRY_GET_TEXT’:
ocgtk.c:197: error: invalid type argument of ‘->’ (have ‘int’)

what's wrong ?
My Development Environment is Debian Lenny
- gcc version 4.3.2 (Debian 4.3.2-1.1) -

Regards
Francois

btiffin
Posted on: 2010/12/21 6:56
Home away from home
Joined: 2008/6/7
From: CANADA
Posts: 1196
Re: COMPILING ocgtk.c ERRORS
Bear!

I'll have to look Francois. I likely coded to a specific version that went stale. I'm all like, robust that way. :)

It might be a day or two though. 2am, just getting off work, no end in sight.

Cheers,
Brian
Bear
Posted on: 2010/12/22 22:12
Home away from home
Joined: 2006/12/12
From: Lyon FRANCE
Posts: 173
Re: COMPILING ocgtk.c ERRORS
Yes Brian, old 'good bear' is still alive !

Thank you for quick answer. I'll wait a bit, huge work till X-mas.

Regards
Francois
Threaded | Newest First Previous Topic | Next Topic | Top

Register To Post
 
Copyright (C) 2005 The OpenCOBOL Project. All rights reserved.
Powered by Xoops2 | PHP | MySQL | Apache
ocean-net