Problem with Studio4/WinAVR under Vista x64

Go To Last Post
8 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm taking a programming class, and we're using an AVR Butterfly board along with AVR Studio 4 and WinAVR. The install went fine, but every time I go to build a program (Blinky.c from our textbook), I get the following error message:

"Blinky.c:28: fatal error: opening dependency file .dep/Blinky.o.d: No such file or directory"

My professor suggested making sure the installation went to the default directories, but other than that offered no other solutions. I'm suspecting that because Vista x64 uses a "Program Files (x86)" folder for 32-bit applications, the directories are getting messed up.

Does anyone know a solution/the true cause behind this error?

Thank you,
Marc

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Are you also getting an error something like "0 [main] sh 2484 sync_with_child: child 2204(0x11C) died before initialization with status code 0x0" before the error you mentioned?

There is a bug in WinAVR which can trigger this problem on Vista x64. The workaround is to replace msys-1.0.dll with a patched version which can be found here.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

WEEEEEEEEEEEEEEEEEEEEEE !!!!

I've been struggling with this problem for a long time now!

Thanks Kevin one two three!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

thanks a lot! worked perfectly.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have the same problem as the OP.

I patched the msys dll as suggested above and that fixed the child sync issues I was having. Now I just get the following error message:

"Blinky.c:28: fatal error: opening dependency file .dep/Blinky.o.d: No such file or directory"

I've played around with the Makefile, but one would assume the section that this bit refers to is there for a reason.

I have also checked out my paths and everything are correct. The same problem occurs whether I use AVR Studio 4.15 or Programmer's Notepad using the WinAVR tools directly. I'm at a bit of a lost if I am honest.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Dude, thank you kevin123!

Stuck for days on that one...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

This may be an old thread, but on my Vista 64bit machine I still needed the patched msys.dll to get blinky to build!!!

Stupid M$ crap OS I feel like making this pc Win XP.

Regards,

 

Kat. :)

 

K.A.Q. Electronics

 

Old fashioned service for today's technologies.

 

 

" I am an Engineer, Not an English teacher, God Damn it" Moi 1999

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Cromulent wrote:
I have the same problem as the OP.

I patched the msys dll as suggested above and that fixed the child sync issues I was having. Now I just get the following error message:

"Blinky.c:28: fatal error: opening dependency file .dep/Blinky.o.d: No such file or directory"

I've played around with the Makefile, but one would assume the section that this bit refers to is there for a reason.

I have also checked out my paths and everything are correct. The same problem occurs whether I use AVR Studio 4.15 or Programmer's Notepad using the WinAVR tools directly. I'm at a bit of a lost if I am honest.

Cromulent, your post was a while ago, so you may have already figured this out. What I had to do in windows Vista was create the folder '.dep' in the directory I was trying to compile in. Vista did not let me actually create a folder with that name through Windows explorer, so then I did it from a dos prompt. After that, it could compile my files fine.