NO

Author Topic: Polink: Fatal error  (Read 4843 times)

keithfay

  • Guest
Polink: Fatal error
« on: February 14, 2013, 02:19:27 PM »
Get this when compiling some code with scanf() just after printf().
See screenshots.

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: Polink: Fatal error
« Reply #1 on: February 15, 2013, 04:57:30 AM »
Works absolutely fine over here, as demonstrated below...

So in order to find out what you did wrong, please zip up the whole project that produces this error on your system and post that in here...

Ralf

keithfay

  • Guest
Re: Polink: Fatal error
« Reply #2 on: February 15, 2013, 08:58:37 PM »
Here you go.

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: Polink: Fatal error
« Reply #3 on: February 16, 2013, 09:31:15 AM »
Here you go.
Well, downloaded, unrared and works just as fine here as well...

Btw, there's a ZIP project files option right when you right click on the .exe file on the right side pane... ;-)

So this somehow means that something more general is screwed with your setup. To be honest, this is far too much of a common case that this would have gone unnoticed so far if this would be a general issue.
I would recommend you uninstall and re-install your setup as a first step to try and solve this issue...

Ralf

keithfay

  • Guest
Re: Polink: Fatal error
« Reply #4 on: February 16, 2013, 12:54:06 PM »
Running on XP machine i got no probs too, but running on 7 got this fatal error.

Andrej Koršikov

  • Guest
Re: Polink: Fatal error
« Reply #5 on: February 16, 2013, 03:27:56 PM »
Hi, keithfay. I'm newbie to Pelles C, but have you closed your application before recompile it? When my application is still running, and I change the source code and try to rebuild/execute, I have this error ("POLINK: fatal error: Отказано в доступе."). With another IDE/compiler we had something like this situation because of antivirus software (sometimes it blocked creation of the .exe file).

keithfay

  • Guest
Re: Polink: Fatal error
« Reply #6 on: February 16, 2013, 07:38:55 PM »
You are right. It was the antivirus.

Offline Bitbeisser

  • Global Moderator
  • Member
  • *****
  • Posts: 772
Re: Polink: Fatal error
« Reply #7 on: February 16, 2013, 09:14:00 PM »
Running on XP machine i got no probs too, but running on 7 got this fatal error.
Negative, works for me on Windows 7 (Ultimate) just as fine.

And it would help if you would post the error message in English...

Ralf

Offline frankie

  • Global Moderator
  • Member
  • *****
  • Posts: 2096
Re: Polink: Fatal error
« Reply #8 on: February 17, 2013, 03:56:14 PM »
The error  "Отказано в доступе"="access denied" means that the executable file is locked by another user so the linker cannot update it.
The cause could be two:
1) the executable is still running. You have not closed the application before to rebuild it
2) some other application has opened the file (the exe). This is normally an antivirus software inspecting the executable for malware.

Anyway not a PellesC problem.
It is better to be hated for what you are than to be loved for what you are not. - Andre Gide