Executing gtk app in windows using gtk 2.8.20 and glib 2.8.6



I'm trying to compile a helloworld dialog in linux for windows, so i do this:

1)
i586-mingw32msvc-gcc -o helloworld.exe `pkg-config --cflags gtk+-2.0` helloworld.c `pkg-config --libs gtk+-2.0` (the libraries are the ones in the /2.8/win32 directory in the gnome ftp server)

Compilation succesful without any errors or warnings.

2)
After copying it to windows (and the libraries of gtk (2.8.20), glib (2.8.6) and its dependencies) i try to execute it and gives me an error that says something like (spanish to english translation on an error, kind of difficult, sorry): "Cannot find the entry point of the procedure g_intern_static_string in the dinamic library libglib-2.0-0.dll
".
I don't think that this error is due to a missing dll because i've copied every dll that the manual (Cross Compiling GTK applications on windows ) says i should copy.


What should i do now?

Thanks in advance.
Matias.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]