Hi guys,
I have never ported a program before and I thought I would give it a go! I have managed to set up a cross compiler and build a hello world program which worked on my pandora. (used the scripts from the wiki to do this). My problem came when I tried to compile a program! for my first port attempt I chose Geany. (I want to do some simple python coding on the go and I kind of like geany :rolleyes: ).
I configured it with this command
	
	
	
		
I then ran make but got this error
	
	
	
		
I had a look at the Makefile and saw
	
	
	
		
That dir does in fact contain glib.h. In fact it has the same files as my /usr/include/glib-2.0 folder. I have messed around with --prefx but no joy. From my limited knowledge the -I option sets include path for the compiler? But GIO_CFLAGS does not seem right.
Clearly it can not find glib.h but I have no idea why. I have a feeling that I need to tell it where to find the includes but being a noob i have no idea how to do that! I was thinking hacking around the makeflie (maybe CFLAGS??) is the answer?
Most of my coding has been in Java or in a IDE so I have zero experience of makefiles other than how to compile things for my normal linux box. I want to explore the desktop capabilities of the pandora as I think the games / emulation is pretty much covered!
Sorry for the noob question!!
				
			I have never ported a program before and I thought I would give it a go! I have managed to set up a cross compiler and build a hello world program which worked on my pandora. (used the scripts from the wiki to do this). My problem came when I tried to compile a program! for my first port attempt I chose Geany. (I want to do some simple python coding on the go and I kind of like geany :rolleyes: ).
I configured it with this command
		Code:
	
	./configure --host=arm-none-linux-gnueabiI then ran make but got this error
		Code:
	
	lregex.c:22: fatal error: glib.h: No such file or directoryI had a look at the Makefile and saw
		Code:
	
	GIO_CFLAGS = -pthread -I/usr/local/pandora/arm-2009q3/usr/include/glib-2.0 -I/usr/local/pandora/arm-2009q3/usr/lib/glib-2.0/includeThat dir does in fact contain glib.h. In fact it has the same files as my /usr/include/glib-2.0 folder. I have messed around with --prefx but no joy. From my limited knowledge the -I option sets include path for the compiler? But GIO_CFLAGS does not seem right.
Clearly it can not find glib.h but I have no idea why. I have a feeling that I need to tell it where to find the includes but being a noob i have no idea how to do that! I was thinking hacking around the makeflie (maybe CFLAGS??) is the answer?
Most of my coding has been in Java or in a IDE so I have zero experience of makefiles other than how to compile things for my normal linux box. I want to explore the desktop capabilities of the pandora as I think the games / emulation is pretty much covered!
Sorry for the noob question!!
 
	
 
 
		 
 
		 
 
		 
 
		 
 
		 
 
		