Re: linkage problems
"Bill Nalen" <[email protected]>
| Newsgroups | gmane.comp.video.gimp.windows.devel |
|---|---|
| Message-ID | <OF0B65615E.DBCF92CF-ON85256C63.005E8E6B-85256C63.005E94E2@towers.com> |
are you linking with gtk.lib?
To: [email protected]
"mygtkinfo" cc: (bcc: Bill Nalen/Towers Perrin)
<mygtkinfo@yahoo. Subject: [gimpwin-dev] linkage problems
com>
10/31/2002 11:18
AM
Please respond to
gimpwin-dev
hello
i manually installed gtk on my win98. using mcvc++6.0 compiler,
the ff program to test the installation and it compiled with no errors
#include "gtk\gtk.h"
int main2 (void)
{
GtkWidget *window;
gtk_init;
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_widget_show(window);
return 0;
}
but gave the ff linkage errors
testgtk.cpp
y:\my documents\c++\testgtk.cpp(8) : warning C4551: function call
missing argument list
Linking...
testgtk.obj : error LNK2001: unresolved external symbol
_gtk_widget_show
testgtk.obj : error LNK2001: unresolved external symbol
_gtk_window_new
Debug/c1.exe : fatal error LNK1120: 2 unresolved externals
Error executing link.exe.
c1.exe - 3 error(s), 1 warning(s)
what may be the problem.
To Post a message, send it to: [email protected]
To Unsubscribe, send a blank message to:
[email protected]
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/