Yes, i've searched forum and i got A LOT of topics with my problem but none got answered so i make another one hoping someone will help me to solve that problem. I've downloaded the GTK bundle for Win64 (32bit too) from here - http://ftp.gnome.org/pub/gnome/binaries/win64/gtk+/2.22/gtk+-bundle_2.22.0-20101016_win64.zip
- Unzip
- Copy all to C:\Program Files(x86)\CodeBlocks\MiniGW\..
- Run program, type:
#include <gtk/gtk.h>
int main( int argc, char *argv[])
{
GtkWidget *window;
gtk_init(&argc, &argv);
window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_show(window);
gtk_main();
return 0;
}
And got error:
Quoteerror: gtk/gtk.h: No such file or directory|
So i created new directory in C:\Program Files(x86)\CodeBlocks\.. called "gtk" and copied all files into there but still i got same error. So i runed CB, entered "Settings>Compiler and Debugger>Search directories" and started to adding everything from gtk folder (both for compiler and linker). When i reached:
(http://img816.imageshack.us/img816/72/prob01.th.jpg) (http://img816.imageshack.us/i/prob01.jpg/)
Compiler started to make a lot more errors:
(http://img689.imageshack.us/img689/7586/prob02.th.jpg) (http://img689.imageshack.us/i/prob02.jpg/)
So the adding process got harder, i had to add every folder...so i started thinking - wait, it's insane, it should be another way. So that's the reason i've made this topic. Is it any NORMAL way to make GTK working on Windows 7 64bit? And how to achieve that
Turn ON Full Compiler Logging.
http://wiki.codeblocks.org/index.php?title=FAQ#Q:_How_do_I_troubleshoot_an_compiler_problem.3F
And, find a group that supports your Compiler, OS, and GTK Library.
With the full build log they should be able to help you add the correct include headers.
Tim S.
It give me NO clue what to do with that. I'm not that familiar with CB and compiler/linker options...