PB 6.11 B3 doesn't compile with Win 7?

Windows specific forum
BarryG
Addict
Addict
Posts: 4168
Joined: Thu Apr 18, 2019 8:17 am

PB 6.11 B3 doesn't compile with Win 7?

Post by BarryG »

Just tried to compile my app with PB 6.11 B3 on Win 7 (in a VM though) and got this:

Image

No problem with 6.10 in the same Win 7 VM, though.

Vista is the lowest supported OS, so this error shouldn't happen? Can someone with a real (non-VM) Win 7 try?
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: PB 6.11 B3 doesn't compile with Win 7?

Post by RSBasic »

Why do you want to compile with or for Windows 7?
Windows 7 is 15 years old and no longer receives security updates.
Image
Image
BarryG
Addict
Addict
Posts: 4168
Joined: Thu Apr 18, 2019 8:17 am

Re: PB 6.11 B3 doesn't compile with Win 7?

Post by BarryG »

As mentioned, Vista is the lowest supported OS as advertised on PureBasic.com, so it should compile for that and later (such as Win 7). So this is technically a bug report without me actually putting it in the forum's bug section. :wink:

But since you asked: I use Win 7 in a VM for testing my apps with 3 virtual monitors because I only have 1 physical monitor; and a Win 7 VM image is much smaller in size than a Win 10 VM image; plus security updates aren't an issue for it.
Fred
Administrator
Administrator
Posts: 18199
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB 6.11 B3 doesn't compile with Win 7?

Post by Fred »

I uploaded a zip with all these dll (for PB x86), you can try to put them in the compilers\ dir and see if it works: www.purebasic.com/apicrt_x86.zip
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PB 6.11 B3 doesn't compile with Win 7?

Post by ChrisR »

There are still millions of Windows 7 installations, even if the number fell considerably in 2013.
I use Windows 7 like you in VM, as it's lighter and faster.
They, x86 and x64 versions were installed from Windows 7 isos with SP1.
It seems that the update for the universal CRT runtime hotfix was installed during the installation, I locked windows updates after.

You need to install the Universal C Runtime (KB2999226). However, a check would be welcome.
All supported x86-based versions of Windows 7
All supported x64-based versions of Windows 7

Edt: Oops, I didn't see Fred's reply but the link to apicrt_x86.zip does not work here!
BarryG
Addict
Addict
Posts: 4168
Joined: Thu Apr 18, 2019 8:17 am

Re: PB 6.11 B3 doesn't compile with Win 7?

Post by BarryG »

The link worked for me, and I unzipped all files into "Compilers", then tried to compile and got this:

Code: Select all

---------------------------
lld-link.exe - Application Error
---------------------------
The application was unable to start correctly (0xc000007b). Click OK to close the application. 
---------------------------
OK   
---------------------------
Fred
Administrator
Administrator
Posts: 18199
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: PB 6.11 B3 doesn't compile with Win 7?

Post by Fred »

Yes, it's probably better to install the universal runtime. I run PB in a Windows 7 VM without any issue here.
User avatar
ChrisR
Addict
Addict
Posts: 1466
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: PB 6.11 B3 doesn't compile with Win 7?

Post by ChrisR »

BarryG wrote: Thu May 30, 2024 1:24 pm The link worked for me, and I unzipped all files into "Compilers", then tried to compile and got this:
Yes, the link works here with https www.purebasic.com/apicrt_x86.zip

With the Universal CRT Runtime (KB2999226) installed, I have no worries with lld-link.exe and it compiles on Windows 7.
And I get the same system message error when I uninstall this hotfix.
Post Reply