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 > problem with VHAM

#178230 - Jedidia - Fri Oct 03, 2014 9:57 pm

Hello everyone,

I'm just about to start a bit of coding for the GBA, and hit a snug with Vham (well, it's not so surprising... it's always trouble to get the hang of the quirks of a new IDE).

I'm a fairly expierienced C++ programmer, and kind of wanted to develop for something else than PC for a change...

Anyways, the problem is this:
I created a new C++ project in Vham and tried to build it, but can't. I get the following error messages:

Code:

      1 [main] arm-thumb-elf-gcc 4720 fork_copy: linked dll data/bss pass 0 failed, 0x66F000..0x66F040, done 0, windows pid 2784, Win32 error 487
1484681 [main] arm-thumb-elf-gcc 4720 fork_copy: linked dll data/bss pass 0 failed, 0x66F000..0x66F040, done 0, windows pid 4836, Win32 error 487
2540831 [main] arm-thumb-elf-gcc 4720 fork_copy: linked dll data/bss pass 0 failed, 0x66F000..0x66F040, done 0, windows pid 4912, Win32 error 487
4637014 [main] arm-thumb-elf-gcc 4720 fork_copy: linked dll data/bss pass 0 failed, 0x66F000..0x66F040, done 0, windows pid 4740, Win32 error 87


I suppose it's a dll that vham tries to link but can't for some reason, though I can't make out what the reason is (every IDE has it's own language... took me long enough to figure out what visual studio was trying to tell me some years ago, but there's a wee bit more documentation around for VS).

I'm kind of worried that it's because I'm on a 64-bit OS, although I have been able to compile some C-samples just fine.

Can somebody tell me what exactly the problem might be?


EDIT: Uhmmmm... :awkward: The project actually executes despite the errors, as I just noticed. That's certainly a first as far as IDEs are concerned... ?

It would still be nice to know what goes on here, though.

#178577 - theycallmeyoggi - Sat Mar 05, 2016 3:07 pm

Hey, sorry I'm not answering your question but since you've at least got it to output something I figured you'd know the answer to this question. Where did you put your .vhw files. I put mine in a a folder I made called 'vhmworkspace'. However when I try to build the program, nothing happens. I already have it running on windows xp so thats not the problem. If you have any advice please reply, thank you.