CAN'T INSTALL FreeBASIC On Windows 11
CAN'T INSTALL FreeBASIC On Windows 11
This is regarding problems regarding installing FreeBASIC .08 or .09 on a new computer (HP) with a new install of Windows 11.
The zip files are extracted OK.
Pick the .exe file, but a rectangle black box appears momentarily and disappears with no install.
Other programs have installed from a .exe with no problem.
The registries are scanned OK and the Windows 11 install was checked out to be OK.
No integrity problems.
Using AMD Ryzen 5000 series processor.
No problems with FreeBasic on another Windows 10 computer.
The zip files are extracted OK.
Pick the .exe file, but a rectangle black box appears momentarily and disappears with no install.
Other programs have installed from a .exe with no problem.
The registries are scanned OK and the Windows 11 install was checked out to be OK.
No integrity problems.
Using AMD Ryzen 5000 series processor.
No problems with FreeBasic on another Windows 10 computer.
Re: CAN'T INSTALL FreeBASIC On Windows 11
That is what should happen when FBC.exe is run. it is a commandline compiler. There is no builtin editor or display.
-
- Posts: 4308
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: CAN'T INSTALL FreeBASIC On Windows 11
@imortis
What kind of response is that?
My current status with this forum is a sabbatical for a month.
I am updating that to: Indefinite leave of absence.
What kind of response is that?
The issue is with Windows 11 and the giveaway is in the title of this thread.Extractor wrote:No problems with FreeBasic on another Windows 10 computer.
My current status with this forum is a sabbatical for a month.
I am updating that to: Indefinite leave of absence.
Re: CAN'T INSTALL FreeBASIC On Windows 11
Maybe he is using the FreeBASIC installer (the .exe file) ?
Imortis like me do what we can with a not very precise description of the behavior.
Why this attitude?deltarho[1859] wrote: ↑Mar 06, 2022 12:54 @imortis
What kind of response is that?The issue is with Windows 11 and the giveaway is in the title of this thread.Extractor wrote:No problems with FreeBasic on another Windows 10 computer.
My current status with this forum is a sabbatical for a month.
I am updating that to: Indefinite leave of absence.
Imortis like me do what we can with a not very precise description of the behavior.
Re: CAN'T INSTALL FreeBASIC On Windows 11
I would, personally, just use the .zip which extracts everything into your chosen folder (On the desktop I suggest).
I never use the .exe installer, I believe since windows 98 or thereabouts.
I don't have win 11 here, but the time has come to have a peek at Ebay.
Wot's up deltarho[]??, I am still here solely 'cos this language is so addictive,( And it is a lazy Sunday afternoon and the big wide world is a bit frightening these days).
Extractor, with a name like that it should be a breeze, unless Win 11 has some horrors.
Win 10 had, but most folk have got over that by now.
I never use the .exe installer, I believe since windows 98 or thereabouts.
I don't have win 11 here, but the time has come to have a peek at Ebay.
Wot's up deltarho[]??, I am still here solely 'cos this language is so addictive,( And it is a lazy Sunday afternoon and the big wide world is a bit frightening these days).
Extractor, with a name like that it should be a breeze, unless Win 11 has some horrors.
Win 10 had, but most folk have got over that by now.
-
- Posts: 4308
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: CAN'T INSTALL FreeBASIC On Windows 11
@dodicat
I have just attempted to send you a pm. I was told that it was sent, but it has not appeared in the 'Sent messages' folder and is stuck in my 'Outbox' folder. I sent a pm to myself and that worked fine. Have you got private messages disabled?
I have just attempted to send you a pm. I was told that it was sent, but it has not appeared in the 'Sent messages' folder and is stuck in my 'Outbox' folder. I sent a pm to myself and that worked fine. Have you got private messages disabled?
Re: CAN'T INSTALL FreeBASIC On Windows 11
My understanding of PM's is that the message stays in the outbox until the recipient opens their inbox (or reads it, still not quite sure).
https://www.phpbb.com/support/docs/en/3 ... m_folders/
https://www.phpbb.com/support/docs/en/3 ... m_folders/
-
- Posts: 4308
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: CAN'T INSTALL FreeBASIC On Windows 11
@coderJeff
Thanks for that. Looks like in 'Outbox' until read. That is quite clever. Assuming dodicat receives notifications then perhaps he is out walking his dogs.
Thanks for that. Looks like in 'Outbox' until read. That is quite clever. Assuming dodicat receives notifications then perhaps he is out walking his dogs.
Re: CAN'T INSTALL FreeBASIC On Windows 11
An accurate response. What you would have him say? Windows 11 isn't the problem. The OP apparently did not understanding that FBC is a command-line app--when you double-click it it will do the same thing in any version of Windows. Is it Imortis' responsibility to teach the poster how to download and install a third party IDE or text editor? It's completely fair and reasonable to expect @Extractor to put in some effort to learn what a command line is. All the popular languages ship primarily with command-line compilers these days. Ruby, Rust, Python, Go, and even Javascript.
To the OP, please read the online wiki documentation. It's very good. If there's a deficiency in the documentation, please discuss that here and even contribute. Start here:
https://www.freebasic.net/wiki/CompilerRunning
https://www.freebasic.net/wiki/CompilerCmdLine
-
- Posts: 4308
- Joined: Jan 02, 2017 0:34
- Location: UK
- Contact:
Re: CAN'T INSTALL FreeBASIC On Windows 11
I broke my sabbatical to question imortis and at the same time mention my forum status update. I didn't see imortis' post – someone put me wise to it.
I needed to speak with dodicat because it looked like my pm had not actually been sent. I also needed to thank coderJeff for explaining how pms worked.
I won't be responding to anything else.
I needed to speak with dodicat because it looked like my pm had not actually been sent. I also needed to thank coderJeff for explaining how pms worked.
I won't be responding to anything else.
Re: CAN'T INSTALL FreeBASIC On Windows 11
Hmm .. i recently see few questions ...like a pattern
they all looks to me like a provocation or very close to that
they all looks to me like a provocation or very close to that
Re: CAN'T INSTALL FreeBASIC On Windows 11
This was the problem. Forgot the compiler when moving files to new Windows 11 computer and
left the fbide.exe file in the downloads folder on old Windows 10 laptop and forgot it was needed for FreeBASIC install.
got the file again at: https://sourceforge.net/projects/fbide/
after installing fbide.exe got this error: Compiler error
X Compiler path is either not set or is corrupt. Set correct path now? Yes / No
I answered yes and found the fbc.exe and fbc32.exe and fbc64.exe in Windows 11 downloads folder.
I set the compiler path and now it works fine, but should I use the fbc64.exe instead of fbc.exe ?
Thanks for the help.
Re: CAN'T INSTALL FreeBASIC On Windows 11
That mostly depends on what you want. If you want to build 32-bit applications then use fbc32.exe, if you want to build 64-bit applications use fbc64.exe. The third one, fbc.exe must be from some different FreeBasic compiler install and is probably an older 32-bit version. you can check by executing fbc -version in the folder where the fbc.exe is located on the command line. A recent version e.g. could show something like this:
Code: Select all
FreeBASIC Compiler - Version 1.10.0 (2022-03-02), built for win64 (64bit)
Copyright (C) 2004-2021 The FreeBASIC development team.
standalone
Re: CAN'T INSTALL FreeBASIC On Windows 11
I keep two copies of fbide with shortcuts to both on the desktop.
One for 64 bit, one for 32 bit.
Done that since 64 bit came out.
Better to run any code through both compilers to test for bugs, also test -gen gas64 on the 64 bit compiler.
It is easily done now in fbide, just put your options in the code:
#cmdline "-gen gas64"
...
your code
...
example
One for 64 bit, one for 32 bit.
Done that since 64 bit came out.
Better to run any code through both compilers to test for bugs, also test -gen gas64 on the 64 bit compiler.
It is easily done now in fbide, just put your options in the code:
#cmdline "-gen gas64"
...
your code
...
example
Code: Select all
#cmdline "-gen gas64 -v"
Screen 20
#define map(a,b,x,c,d) ((d)-(c))*((x)-(a))/((b)-(a))+(c)
Dim As Single d,y
Do
d-=.05
Screenlock
Cls
For n As Long=0 To 1024
Var ypos=map(-1,1,Sin(n/75+d),600,700)
Pset(n,ypos)
If n=500 Then y=ypos
Next n
Draw String(450,120),"compression"
Draw String(450,140),"chamber"
Line(500-50,100)-(500+50,500),,b
Line(500-50,250)-(500-10,250)
Line(500+10,250)-(500+50,250)
Var cy=map(600,700,y,285,250)
If y>610 Then cy=294
Circle(500,cy-50),12,,,,,f
Line(500-50,500)-(500+50,500),0
Line(500,y)-(500,y-300)
Line(500-50,y-300)-(500+50,y-300)
Line(500+50,250)-(500+50,500),0
Line(500+50,250)-(500+50,270)
Line(500+50,290)-(500+50,500)
cy=map(600,700,y,545,535)
If y<690 Then cy=545
Circle(cy,280),12,,,,,f
Circle(500,y),50,15,,,,f
draw string(480,y-15),"Float",0
Screenunlock
Sleep 1
Loop Until Inkey=Chr(27)