I tried to startup PureBasic this morning and I get the following error:
Constant already declared in another resident:
#TH32CS_INHERIT
and the compiler does not work. The button is greyed out. If I try to restart
the compiler - I get the same error.
I purchased PureBasic, so this is not a demo thing.
I tried freshly installing both the 32 bit and 64 bit versions and no difference.
I cannot compile anything because I get an error when I try to start the
compiler - and the same error comes up when you first start PureBasic.
Any help would be appreciated.
Mike
Getting a weird error on starting PureBasic 32 AND 64 bit
-
- Enthusiast
- Posts: 106
- Joined: Sun Jul 29, 2012 2:51 pm
Re: Getting a weird error on starting PureBasic 32 AND 64 bi
Have you installed both version in the default dir?
Should on most systems like:
32 bit to C:\Program Files (x86)\purebasic
64 bit to C:\Program Files\purebasic
you have to install both versions in different dirs!
Should on most systems like:
32 bit to C:\Program Files (x86)\purebasic
64 bit to C:\Program Files\purebasic
you have to install both versions in different dirs!
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
-
- Enthusiast
- Posts: 106
- Joined: Sun Jul 29, 2012 2:51 pm
Re: Getting a weird error on starting PureBasic 32 AND 64 bi
Yes, they are in the default directories. Why do I have to change this when it worked before just fine???ts-soft wrote:Have you installed both version in the default dir?
Should on most systems like:
32 bit to C:\Program Files (x86)\purebasic
64 bit to C:\Program Files\purebasic
you have to install both versions in different dirs!
Mike
Re: Getting a weird error on starting PureBasic 32 AND 64 bi
You should not change this, is only a question to find the error
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
-
- Enthusiast
- Posts: 106
- Joined: Sun Jul 29, 2012 2:51 pm
Re: Getting a weird error on starting PureBasic 32 AND 64 bi
I did as you suggested and that did fix it. Thanks.
Mike
Mike
-
- Addict
- Posts: 1656
- Joined: Sun Dec 12, 2010 12:36 am
- Location: Somewhere in the midwest
- Contact:
Re: Getting a weird error on starting PureBasic 32 AND 64 bi
I'm confused...
Where were they installed before (the 32 bit and 64 bit respectively) and where did you change them to be installed to?
Mine run just fine when installed to the default paths for 32 and 64 bit applications, and it sounds like you said that's how you installed them?
Why should installing both to a folder named "Purebasic", in different directory trees, result in an error? Plenty of programs do that with "\Program Files\" and "\Program Files (x86)\"
?
Where were they installed before (the 32 bit and 64 bit respectively) and where did you change them to be installed to?
Mine run just fine when installed to the default paths for 32 and 64 bit applications, and it sounds like you said that's how you installed them?
Why should installing both to a folder named "Purebasic", in different directory trees, result in an error? Plenty of programs do that with "\Program Files\" and "\Program Files (x86)\"
?
-
- Enthusiast
- Posts: 106
- Joined: Sun Jul 29, 2012 2:51 pm
Re: Getting a weird error on starting PureBasic 32 AND 64 bi
I had them installed in the default /program files(x86)/PureBasic and /program files/PureBasicZach wrote:I'm confused...
Where were they installed before (the 32 bit and 64 bit respectively) and where did you change them to be installed to?
Mine run just fine when installed to the default paths for 32 and 64 bit applications, and it sounds like you said that's how you installed them?
Why should installing both to a folder named "Purebasic", in different directory trees, result in an error? Plenty of programs do that with "\Program Files\" and "\Program Files (x86)\"
?
Then my computer mysteriously rebooted overnight and the next day I could not run either with the compiler working.
As per the first reply, I un-installed them and re-installed them in the same place - still did not work. I then un-installed them and installed them in c:\PureBasic32bit and c:\PureBasic64bit and now they both work.
Bizarre! Fortunately, all of my actual work in in /My Documents/PureBasicProj, so nothing was ever lost (and since I have only been using it less than a week, there was not much to lose anyway).
Mike
-
- Always Here
- Posts: 6425
- Joined: Fri Oct 23, 2009 2:33 am
- Location: Wales, UK
- Contact:
Re: Getting a weird error on starting PureBasic 32 AND 64 bi
Possibly the un-install did not do enough. I use Revo Uninstaller (free), it checks very thoroughly: http://www.revouninstaller.com/
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
If it sounds simple, you have not grasped the complexity.
Re: Getting a weird error on starting PureBasic 32 AND 64 bi
Perhaps this turn into a feature request where we have a PB that installed once and can support 32 and 64 bit compilation.