Page 1 of 1

can't compile -> Resource Error (solved)

Posted: Sat Apr 30, 2011 10:49 pm
by PMV
I'm now in big trouble. :cry:

Since i started PB v4.41 i can't get the PB v4.51 to work. Always when
i want to compile code, i get an error message: "Resource Error"
Image

I have deleted all *.pref Files in AppData\Roaming\PureBasic and
deinstalled PB ... and installed it then again, but it is still
showing this error from the compiler. This happens with the
PB v4.51 x86 version. I don't have installed the x64 Version jet. I
have Windows 7 Professional x64. I doesn't even know where i
should look for now. The IDE works, this error is raised from the
compiler i think. But from a fresh installation. :?
:x

Thanks for any hint :)

MFG PMV

Re: can't compile -> Resource Error

Posted: Sun May 01, 2011 4:03 pm
by spikey
Check that both the program directories are truly gone after un-installing - open files may be left behind after an uninstall, if the processes aren't exiting properly for some reason this might cause trouble.

Similarly reboot to ensure that everything is normal before reinstalling and re-install the older version first.

There is an article in the help file on "Using several PureBasic versions" - you can find a link to it from the "Installation" item in the TOC - have you had a look a that?

Re: can't compile -> Resource Error

Posted: Sun May 01, 2011 6:35 pm
by PMV
Thank you for the try. I have deleted the installation directory manual
after the installation was complete, so there was no file left. :D

But i got it. My pathes for every PureBasic Version is like
"E:\Programmierung\PureBasic\v4.51 x86\"
I have looked again in dir "PureBasic" and i saw a magical file called
"v4.51" with size of zero. I remember there was a time when i have
installed this version to the dir "v4.51", but thats long time again.
And this file was created/ last change a month ago. Anyway, i have
deleted this file and now the compiler runs again. :shock:

I'm really happy now. :lol:
But this behavior is strange.

MFG PMV