Re: [gtk-list] Problem compiling with multiple files?
- From: Eric Harlow <linuxgeek yahoo com>
- To: gtk-list redhat com
- Subject: Re: [gtk-list] Problem compiling with multiple files?
- Date: Tue, 16 Mar 1999 19:50:39 -0800 (PST)
It's hard to diagnose the problem without more specifics. You might
post the exact error as well as the command line you're typing to
compile the program.
---Jeremy Ford <email@example.com> wrote:
> I'm reletively new to Gtk and I'm writing an app in which I want to
> split up different functions into seperate files. However, whenever I
> move a function out of the main file where int main(int argc, char
> *argv) is defined I get a ld.exe error? I guess the linker is
> complaining about not being able to find these functions?
> For example I have a function that puts a couple buttons in a box
> (GtkWidget *Draw_Menu(void)) and returns the box to be displayed in
> main window. However, whenever I move this function to its own files
> (menu.c) I get errors. I put the function prototypes in a header and
> included it in the main program so I don't see why the compiler
> complains? When I take all the gtk stuff out it works fine with no
> To unsubscribe: mail -s unsubscribe firstname.lastname@example.org <
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com
] [Thread Prev