gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Beginners > devkitARM environment

#66313 - ion - Mon Jan 09, 2006 6:49 pm

Hi guys,

I've setup VC++ 2005 Express up to work with devkitARM according to the tutorial on devkitPro.org. So I set up a test project it builds fine (althoughI'm not actually building any files). I've set my PATH variable with set PATH="C:\dev\devkitARM\bin";"C:\dev\msys\bin" and set up my C++ directories to point to same directories within VS. When I run the SimpleBGScroll sample that comes with devkitPro I'm getting the following output
Quote:
Makefile(7): *** "Please set DEVKITARM in your environment. export DEVKITARM=<path to>devkitARM. Stop.
So I set up a new environment var with set DEVKITARM=c:\dev\devkitARM

Any ideas why I'm getting this? I'm new to this (hence posting in beginners) plus I'm only looking into makefiles at the moment. what does ifeq ($(strip $(DEVKITARM)),) do?

Thanks in advance.
ION

#66327 - Kujo - Mon Jan 09, 2006 8:18 pm

You need to use Linux format for the DEVKITARM enviroment variable

example

/c/dev/devkitARM

hope that helps

oh and I have no idea what "ifeq ($(strip $(DEVKITARM)),) " nor do I care :)

#66331 - ion - Mon Jan 09, 2006 8:37 pm

cheers man I'll give it a go. that code I stuck on the end was the line in the makefile that the error occurred.

ION

#66421 - ion - Tue Jan 10, 2006 4:15 pm

I couldn't get it working so I switched to eclipse. I've got it working fine. I'm using VBA as a run and debug tool using Insight GDB as the debugger and i'm able to step through the code. So WOO HOO, finally a decent working GBA dev setup. now I can start on my wonderful college project..

ION