Hi,
i’m evaluating VisualGDB and trying to cross-compile my existing project (single c-file, compiled on raspberry pi with gcc, no makefile) in Visual Studio 2008 and VisualGDB.
On the raspberry Pi I used the following command, to compile my source:
gcc -o my_app `pkg-config –cflags glib-2.0` my_app.c `pkg-config –libs glib-2.0`
My first VisualGDB test project (hello world) works great, but if i try to compile my_app.c I get an error:
fatal error: glib.h: No such file or directory
On the Raspberry I installed the glib-2.0 via apt-get. How can I install it on my windows machine for cross compiling and how can I tell VisualGDB to link it?
Thank you!