#53986 - NighTiger - Wed Sep 14, 2005 9:46 am
Hi guys,
Anybody know how can I setup my Visual Studio dotNet to make a GBA rom?
tnx
Last edited by NighTiger on Thu Sep 22, 2005 8:22 am; edited 1 time in total
#53988 - NoMis - Wed Sep 14, 2005 9:57 am
I used Visual Basic .NET in for GBA Programming in the past but I switched to eclipse.
I made my Project as makefile projects and supplied my own makefile. You can find the Makefile project type in "Visual C++ Projects->Common".
I don't know if there is an easier way in a form of a add-in or something like that.
NoMis
_________________
www.gamedev.at - The austrian gamedev site
hde.gamedev.at - The Handheld Dev Env plugins for Eclipse
#53989 - NighTiger - Wed Sep 14, 2005 10:03 am
Do you still have your makefile for dotNet?
#53998 - kusma - Wed Sep 14, 2005 1:05 pm
i use visual studio 2005 for my gba development. what i did was the same thing as NoMis said, i set up my makefile-project (not the makefile itself, but the visual studio project) to just call gnu make. and then i applied some voodoo magic to get my warnings and errors translated to vs-style, so i could press f4 to skip to the line in question. that was a sed-script, i think i posted it here on the forum some months ago.
#54012 - NighTiger - Wed Sep 14, 2005 3:57 pm
Yes I understand...
but where can I find a tutorial to setup the dotNet with a Makefile?
#54014 - kusma - Wed Sep 14, 2005 4:22 pm
well, you don't. just go to File->New->Project on the menu. then select "Visual C++ Projects" in the left menu, and select "Makefile Project" on the right. enter your project-name, and hit "Ok". go to the "Application Settings" on the dialog that pops up, and enter "make" in the "Build command line"-field, "clean" in the "Clean commands"-field, and "make clean all" in the "Rebuild command line". now hit "Finish", and you should be set with the project itself.
Next step would be setting up a normal makefile, and there are plenty of documentation on that out there. just google.
#54425 - NighTiger - Mon Sep 19, 2005 7:50 am
I did follow your instruction but I got this msg
Code: |
------ Build started: Project: Game, Configuration: Debug Win32 ------
Performing Makefile project actions
D:\Programmi\devkitARM\bin\arm-elf-gcc -mthumb-interwork -c *.c
/bin/sh.exe: D:ProgrammidevkitARMbinarm-elf-gcc: command not found
make: *** [build] Error 127
Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions"
Build log was saved at "file://c:\Documents and Settings\Floriana\Desktop\EmptyProject\Debug\BuildLog.htm"
Game - 1 error(s), 0 warning(s)
---------------------- Done ----------------------
Build: 0 succeeded, 1 failed, 0 skipped
|
This is my makefile
Code: |
PROJ=game
CC=arm-elf-gcc
OBJCOPY=arm-elf-objcopy
# the PHONY command allows user to accidentally store a file named "build" in the directory
.PHONY : build
build :
$(DEVKITARM)$(CC) -mthumb-interwork -c *.c
$(DEVKITARM)$(CC) -specs=gba.specs -mthumb-interwork -g *.o -o $(PROJ).elf
$(DEVKITARM)$(OBJCOPY) -v -O binary $(PROJ).elf $(PROJ).gba
@rm -f *.elf
$(VBADVANCE)vba game.gba
.PHONY : clean
clean :
@rm -fv *.o
@rm -fv $(PROJ).gba
|
And these are my system variables
Code: |
DEVKITARM
D:\Programmi\devkitARM\bin\
MSYS
D:\Programmi\msys1.0\bin
LIBGBA
D:\Programmi\devkitARM\libgba\
VBADVANCE
D:\Programmi\VisualBoyAdvance\
|
does anybody know where the problem is?
#54489 - tepples - Mon Sep 19, 2005 11:37 pm
Have you tried using forward slashes ('/' not '\') in the system variables?
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#54751 - NighTiger - Thu Sep 22, 2005 7:50 am
no, I will try.
Other ideas?
#54798 - Abscissa - Thu Sep 22, 2005 6:10 pm
NighTiger wrote: |
no, I will try.
Other ideas? |
If foreward-slashes doesn't work try double-backslashes. ("D:\\folder\\blah\\etc")
_________________
Useless Rants a.k.a. My futile attempts at rationalizing my unreasonable reluctance to call my site a 'blog'.
#55421 - NighTiger - Wed Sep 28, 2005 12:36 pm
I did resolve.
I did remove the local variables and I wrote these in the makefile, in this way:
/d/programmi/visualboyadvance