#2132 - DrakeX - Wed Jan 29, 2003 11:20 pm
ok i downloaded the DevAdvKit and installed it in the root directory, like it said. then i got the VC++ integration kit and installed that. now i can greate GBA projects, but when i go to compile them, i ALWAYS get the error:
"gba test.mak(148) : fatal error U1087: cannot have : and :: dependents for same target"
i have no clue what the hell that means. i've tried all the combinations of headers and stuff that the project wizard gives (of course not pern+anything else) and i always get this error. using VC++ 6 and the newest version of DevKitAdv.
#2140 - Daikath - Thu Jan 30, 2003 12:14 am
This is a code problem I'd reckon, Im still a n00b but I'd look at your code cuz I had that one too and its because of bad code. I suggest you look at your make file and check all the addresses and make sure you didnt type :: instead of :.
_________________
?There are no stupid questions but there are a LOT of inquisitive idiots.?
#2200 - DrakeX - Fri Jan 31, 2003 2:45 am
i didn't type the makefile, it's automatically generated by the appwizard. it makes no sense that an automatically generated file doesn't work!
#2202 - Daikath - Fri Jan 31, 2003 3:15 am
I'd still suggest checking the makefile, with me when I use that Appwizard I always have to correct the pathfile to devkitadv manually cuz I get a paragraphe symbol. Maybe this could be another bug that pops out on your configuration as mine does on mine.
_________________
?There are no stupid questions but there are a LOT of inquisitive idiots.?
#2257 - DrakeX - Fri Jan 31, 2003 9:50 pm
thanks daikath, but i'd already corrected that.
this seems to be the problem code:
Code: |
# -------------------------------------------
# Define each compile;
# -------------------------------------------
{$(SRCDIR)}.cpp.o::
$(CMPDIR)\gcc $(CFLAGS) $<
-@echo ------------------------------------------
-@echo CPP-Sources Compiled
-@echo ------------------------------------------
{$(SRCDIR)}.c.o::
$(CMPDIR)\gcc $(CFLAGS) $<
-@echo ------------------------------------------
-@echo C-sources Compiled
-@echo ------------------------------------------
# -------------------------------------------
# Define each assemble;
# -------------------------------------------
{$(SRCDIR)}.s.o:
$(CMPDIR)\as $(SFLAGS) $(SRCDIR)\$*.s -o$@
-@echo ------------------------------------------
-@echo ASM-Sources Compiled
-@echo ------------------------------------------ |
the lines:
{$(SRCDIR)}.cpp.o::
{$(SRCDIR)}.c.o::
{$(SRCDIR)}.s.o:
are what seem to be giving the trouble. changing them all to :: or all to : gives the error "NMAKE : fatal error U1071: cycle in dependency tree for target 'gba'". AAAA
#2350 - Daikath - Sun Feb 02, 2003 10:27 am
Sorry to say it but my code is exactly the same, i found a email addres in it fi you needed help with the make file ( whatzdat_pimp@hotmail.com ), maybe he knows how to fix it.
_________________
?There are no stupid questions but there are a LOT of inquisitive idiots.?
#2361 - headspin - Sun Feb 02, 2003 12:39 pm
Where can I get this integration kit for VC++?
I use VC++ for win32 programming and gcc (build from the PERN Project) for compiling gba stuff. Is there a way so VC++ can use gcc to compile gba stuff? Will this interfere when I want to compile Win32 programs? If not, how will VC++ know whether I want to compile using gcc or the Microsoft compiler?
Thanks for any answers to these questions :)
#2362 - Daikath - Sun Feb 02, 2003 2:14 pm
You can get it under tools --> misc tools at http://www.gbadev.org, you get to choose GBA project from other project so it wont interfere with other compiling issues.
_________________
?There are no stupid questions but there are a LOT of inquisitive idiots.?
#2371 - JonH - Sun Feb 02, 2003 5:03 pm
from the readme :
Quote: |
Also to keep things working correctly and minimize errors,
make sure the paths to devkitadv and your project?s source files
do not have spaces in them; this is known to cause problems.
|
i noticed you called your project "gba test"... maybe its because it has a space?
#2380 - DrakeX - Sun Feb 02, 2003 7:41 pm
you know what, i bet you're right. not to mention the full path is "C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\MINE\C++ PROJECTS\gbatest\" :D damn win2k and its stupid place for the desktop..
yep that's it :D thank you!! it works now. now to get coding..
#2388 - JonH - Sun Feb 02, 2003 9:36 pm
lol ;)
#2564 - Jaywalk - Thu Feb 06, 2003 6:05 pm
Yes, some of these Windows folder names are really annoying. But at least M$ gave us a workaround with 8.3 versions of long filenames. For example,
"C:\DOCUMENTS AND SETTINGS\ADMINISTRATOR\DESKTOP\MINE\C++ PROJECTS\gbatest\"
can probable be written as
C:\DOCUME~1\ADMINISTRATOR\DESKTOP\C__PRO~1\gbatest\
so there's no problem with spaces
#2570 - Touchstone - Fri Feb 07, 2003 12:29 pm
I wouldn't say Microsoft gave us a workaround with 8.3 filenames! :) Microsoft sucks, end of discussion.. =)
_________________
You can't beat our meat