[pb6.10b4] Required Compiler can't be found

Just starting out? Need help? Post your questions and find answers here.
User avatar
marcoagpinto
Addict
Addict
Posts: 1076
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

[pb6.10b4] Required Compiler can't be found

Post by marcoagpinto »

Heya,

I decided to give it a try on PB 6.10 beta 4.

I keep getting this error when I try to compile:
Image


Image
highend
Enthusiast
Enthusiast
Posts: 169
Joined: Tue Jun 17, 2014 4:49 pm

Re: [pb6.10b4] Required Compiler can't be found

Post by highend »

And you’ve checked the compiler settings of the current project you’re trying to compile?
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 487
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: [pb6.10b4] Required Compiler can't be found

Post by Mindphazer »

Uncheck "Use compiler" in the compiler options of your project.
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
User avatar
marcoagpinto
Addict
Addict
Posts: 1076
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: [pb6.10b4] Required Compiler can't be found

Post by marcoagpinto »

Mindphazer wrote: Wed Jan 31, 2024 10:35 am Uncheck "Use compiler" in the compiler options of your project.
It worked!!!!!

But it is still a bug.
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 487
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: [pb6.10b4] Required Compiler can't be found

Post by Mindphazer »

marcoagpinto wrote: Wed Jan 31, 2024 11:15 am
Mindphazer wrote: Wed Jan 31, 2024 10:35 am Uncheck "Use compiler" in the compiler options of your project.
It worked!!!!!

But it is still a bug.
No bug. If you tell the IDE to compile with a compiler that is not present in the settings, it won't work.
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
User avatar
marcoagpinto
Addict
Addict
Posts: 1076
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: [pb6.10b4] Required Compiler can't be found

Post by marcoagpinto »

Mindphazer wrote: Wed Jan 31, 2024 11:32 am
marcoagpinto wrote: Wed Jan 31, 2024 11:15 am
Mindphazer wrote: Wed Jan 31, 2024 10:35 am Uncheck "Use compiler" in the compiler options of your project.
It worked!!!!!

But it is still a bug.
No bug. If you tell the IDE to compile with a compiler that is not present in the settings, it won't work.
I can't add it to the settings because selecting it with the file requester and pressing ADD doesn't work.
User avatar
marcoagpinto
Addict
Addict
Posts: 1076
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: [pb6.10b4] Required Compiler can't be found

Post by marcoagpinto »

See the video of it not ADDING here:
https://www.youtube.com/watch?v=JdwsqiDgN2o
User avatar
ChrisR
Addict
Addict
Posts: 1484
Joined: Sun Jan 08, 2017 10:27 pm
Location: France

Re: [pb6.10b4] Required Compiler can't be found

Post by ChrisR »

Mindphazer wrote: Wed Jan 31, 2024 11:32 am
marcoagpinto wrote: Wed Jan 31, 2024 11:15 am But it is still a bug.
No bug. If you tell the IDE to compile with a compiler that is not present in the settings, it won't work.
Um, I don't really agree. In the sense that you wrote it, Yes.
But new compilers should be updated in settings, when a new PB version is installed (with the same path).
And when a PB project or source is opened, the corresponding new compiler (C, Asm, x64, x86) should be updated as well, without checking the version number.

We shouldn't need to go back into the IDE and/or compiler's settings after installing a new version, no software does that!
If you open a project or source, on version 6.04 or 6.10, it should be ready to use, with the same configuration and no need to check it.

The current problem is that the check is made on the compiler name (with version inside) and not on the compiler path.
In the soure config: ; Compiler = PureBasic 6.01 LTS (Windows - x64)
In project : <compiler version="PureBasic 6.01 LTS - C Backend (Windows - x64)"/>

If it's not considered as a bug, it should at least be a feature request.
I had made a request here, for project

Edit: In your video, the C backend compiler is already added, it doesn't add it a 2nd time :wink:
Quin
Addict
Addict
Posts: 1136
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: [pb6.10b4] Required Compiler can't be found

Post by Quin »

ChrisR wrote: Wed Jan 31, 2024 12:16 pm Um, I don't really agree. In the sense that you wrote it, Yes.
But new compilers should be updated in settings, when a new PB version is installed (with the same path).
And when a PB project or source is opened, the corresponding new compiler (C, Asm, x64, x86) should be updated as well, without checking the version number.

We shouldn't need to go back into the IDE and/or compiler's settings after installing a new version, no software does that!
If you open a project or source, on version 6.04 or 6.10, it should be ready to use, with the same configuration and no need to check it.

The current problem is that the check is made on the compiler name (with version inside) and not on the compiler path.
In the soure config: ; Compiler = PureBasic 6.01 LTS (Windows - x64)
In project : <compiler version="PureBasic 6.01 LTS - C Backend (Windows - x64)"/>

If it's not considered as a bug, it should at least be a feature request.
+1. This gets incredibly annoying if you use C backend for everything, and have to go in and change it, every, time.
User avatar
marcoagpinto
Addict
Addict
Posts: 1076
Joined: Sun Mar 10, 2013 3:01 pm
Location: Portugal
Contact:

Re: [pb6.10b4] Required Compiler can't be found

Post by marcoagpinto »

ChrisR wrote: Wed Jan 31, 2024 12:16 pm
Mindphazer wrote: Wed Jan 31, 2024 11:32 am
marcoagpinto wrote: Wed Jan 31, 2024 11:15 am But it is still a bug.
No bug. If you tell the IDE to compile with a compiler that is not present in the settings, it won't work.
Um, I don't really agree. In the sense that you wrote it, Yes.
But new compilers should be updated in settings, when a new PB version is installed (with the same path).
And when a PB project or source is opened, the corresponding new compiler (C, Asm, x64, x86) should be updated as well, without checking the version number.

We shouldn't need to go back into the IDE and/or compiler's settings after installing a new version, no software does that!
If you open a project or source, on version 6.04 or 6.10, it should be ready to use, with the same configuration and no need to check it.

The current problem is that the check is made on the compiler name (with version inside) and not on the compiler path.
In the soure config: ; Compiler = PureBasic 6.01 LTS (Windows - x64)
In project : <compiler version="PureBasic 6.01 LTS - C Backend (Windows - x64)"/>

If it's not considered as a bug, it should at least be a feature request.
I had made a request here, for project

Edit: In your video, the C backend compiler is already added, it doesn't add it a 2nd time :wink:
I wasn't adding the C compiler, I was adding the normal compiler.

EDIT: The C compiler has an "c" in the filename, while the normal compiler doesn't.
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 487
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: [pb6.10b4] Required Compiler can't be found

Post by Mindphazer »

marcoagpinto wrote: Wed Jan 31, 2024 11:41 am I can't add it to the settings because selecting it with the file requester and pressing ADD doesn't work.
Well. It's strangely not possible to add the ASM beta compiler, though it's possible to add LTS (C or ASM) compiler
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
User avatar
Mindphazer
Enthusiast
Enthusiast
Posts: 487
Joined: Mon Sep 10, 2012 10:41 am
Location: Savoie

Re: [pb6.10b4] Required Compiler can't be found

Post by Mindphazer »

Quin wrote: Wed Jan 31, 2024 2:47 pm +1. This gets incredibly annoying if you use C backend for everything, and have to go in and change it, every, time.
The Default compiler is C backend in PB6.10 beta3 (and 4)
MacBook Pro 16" M4 Pro - 24 Gb - MacOS 15.4.1 - Iphone 15 Pro Max - iPad at home
...and unfortunately... Windows at work...
Quin
Addict
Addict
Posts: 1136
Joined: Thu Mar 31, 2022 7:03 pm
Location: Colorado, United States
Contact:

Re: [pb6.10b4] Required Compiler can't be found

Post by Quin »

Mindphazer wrote: Wed Jan 31, 2024 3:22 pm
Quin wrote: Wed Jan 31, 2024 2:47 pm +1. This gets incredibly annoying if you use C backend for everything, and have to go in and change it, every, time.
The Default compiler is C backend in PB6.10 beta3 (and 4)
Wow! Even on Windows?
Was this documented somewhere?
Fred
Administrator
Administrator
Posts: 18351
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: [pb6.10b4] Required Compiler can't be found

Post by Fred »

Not on Windows or Linux, only for OS X and Raspberry.
fryquez
Enthusiast
Enthusiast
Posts: 391
Joined: Mon Dec 21, 2015 8:12 pm

Re: [pb6.10b4] Required Compiler can't be found

Post by fryquez »

marcoagpinto wrote: Wed Jan 31, 2024 3:05 pm I wasn't adding the C compiler, I was adding the normal compiler.
You video show's that you adding the default compiler. But this option if only for additional compilers.
If you want to add PB 6.04, if have to install this version - to a different directory - and add the compiler from there.
Post Reply