VisualFBEditor - IDE for FreeBasic
-
- Posts: 3
- Joined: Nov 12, 2016 8:13
Re: VisualFBEditor - IDE for FreeBasic
I just downloaded and tried this IDE and I have to say I am really impressed. One issue I have that seems odd is that I don't see a simple push button on the toolbox controls available. Am I missing something?
Thanks
Thanks
-
- Posts: 783
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
There is a CommandButton.Spiraleyes wrote: ↑May 18, 2022 20:36 I just downloaded and tried this IDE and I have to say I am really impressed. One issue I have that seems odd is that I don't see a simple push button on the toolbox controls available. Am I missing something?
Thanks
-
- Posts: 3
- Joined: Nov 12, 2016 8:13
Re: VisualFBEditor - IDE for FreeBasic
I see, I must have missed that one. Thanks
Re: VisualFBEditor - IDE for FreeBasic
In fact I still don't understand that which button do you want. It is better Post a picture showing what you want.
Re: VisualFBEditor - IDE for FreeBasic
THE API functions for GTK3(https://github.com/XusinboyBekchanov/Vi ... K_html.zip )and Window32(https://github.com/XusinboyBekchanov/Vi ... DK_htm.zip )are now available. Has anyone try to translate into a local language?
Re: VisualFBEditor - IDE for FreeBasic
Today I find out the download batch file is so powerfull. I paste there for whom want download the app.
DownloadAndCompileWithQuestions.bat
DownloadAndCompileWithQuestions.bat
Code: Select all
@echo off
set /p DownloadCompiler=Do you want to download FreeBASIC Compiler 1.09.0 (yes/no/downloaded)?
set /p DownloadGDB=Do you want to download gdb 11.2.90.20220320 (yes/no)?
set /p Download7Zip=Do you want to download 7-Zip (yes/no)?
set e7Zip=7z
if "%Download7Zip%" == "no" goto compiler
curl -L -O https://www.7-zip.org/a/7za920.zip
PowerShell Expand-Archive -LiteralPath "7za920.zip" -DestinationPath ".\7z" -Force
set e7Zip=%~dp0\7z\7za.exe
:compiler
if "%DownloadCompiler%" == "no" goto selectpath
if "%DownloadCompiler%" == "downloaded" goto setpath
curl -L -O https://sourceforge.net/projects/fbc/files/FreeBASIC-1.09.0/Binaries-Windows/winlibs-gcc-9.3.0/FreeBASIC-1.09.0-winlibs-gcc-9.3.0.7z
:setpath
set FBC32=%~dp0VisualFBEditor\Compilers\FreeBASIC-1.09.0-winlibs-gcc-9.3.0\fbc32.exe
set FBC64=%~dp0VisualFBEditor\Compilers\FreeBASIC-1.09.0-winlibs-gcc-9.3.0\fbc64.exe
goto download
:selectpath
if "%PROCESSOR_ARCHITEW6432%" == "AMD64" Set Bit = "64"
if "%PROCESSOR_ARCHITECTURE%" == "" Set PROCESSOR_ARCHITECTURE = x86
if "%PROCESSOR_ARCHITECTURE%" == "x86" Set Bit = "32"
if "%PROCESSOR_ARCHITECTURE%" == "AMD64" Set Bit = "64"
if "%Bit%" == "64" Set Bit = "both"
if "%Bit%" == "64" goto selectpath64
set /p FBC32=Enter 32-bit compiler path:
if "%Bit%" == "32" goto download
:selectpath64
set /p FBC64=Enter 64-bit compiler path:
:download
if "%DownloadGDB%" == "no" goto downloadsources
curl -L -O https://github.com/ssbssa/gdb/releases/download/gdb-11.2.90.20220320/gdb-11.2.90.20220320-i686.7z
curl -L -O https://github.com/ssbssa/gdb/releases/download/gdb-11.2.90.20220320/gdb-11.2.90.20220320-x86_64.7z
:downloadsources
curl -L -O https://github.com/XusinboyBekchanov/VisualFBEditor/archive/master.zip
RMDIR /S /Q VisualFBEditor
PowerShell Expand-Archive -LiteralPath "master.zip" -DestinationPath "." -Force
Rename VisualFBEditor-master VisualFBEditor
curl -L -O https://github.com/XusinboyBekchanov/MyFbFramework/archive/master.zip
PowerShell Expand-Archive -LiteralPath "master.zip" -DestinationPath "VisualFBEditor" -Force
if "%DownloadCompiler%" == "no" goto label7z
"%e7Zip%" x "FreeBASIC-1.09.0-winlibs-gcc-9.3.0.7z" -o%~dp0VisualFBEditor\Compilers
:label7z
if "%Download7Zip%" == "no" goto start
"%e7Zip%" x "gdb-11.2.90.20220320-i686.7z" -o%~dp0VisualFBEditor\Debuggers\gdb-11.2.90.20220320-i686
"%e7Zip%" x "gdb-11.2.90.20220320-x86_64.7z" -o%~dp0VisualFBEditor\Debuggers\gdb-11.2.90.20220320-x86_64
:start
cd VisualFBEditor
Rename MyFbFramework-master MyFbFramework
cd ..\
if "%Bit%" == "64" goto compile64
cd VisualFBEditor\MyFbFramework\mff
"%FBC32%" -b "mff.bi" "mff.rc" -dll -x "../mff32.dll" -v
cd ..\..\..\VisualFBEditor\src
"%FBC32%" "VisualFBEditor.bas" -s gui -x "../VisualFBEditor32.exe" "VisualFBEditor.rc" -i "..\MyFbFramework" -v
cd ..\..\
if "%Bit%" == "32" goto finish
:compile64
cd VisualFBEditor\MyFbFramework\mff
"%FBC64%" -b "mff.bi" "mff.rc" -dll -x "../mff64.dll" -v
cd ..\..\..\VisualFBEditor\src
"%FBC64%" "VisualFBEditor.bas" -s gui -x "../VisualFBEditor64.exe" "VisualFBEditor.rc" -i "..\MyFbFramework" -v
cd ..\..\
:finish
Re: VisualFBEditor - IDE for FreeBasic
I want to try to compile a program for android, but I am not sure how to configure the IDE. I have installed "Android Studio", but what else should I do? What options should I include?
-
- Posts: 783
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
You can open folder AndroidProject from Examples (File -> Open Folder). Or you can create a New Android Project from the New Project dialog.
You can download fbc releases from https://github.com/XusinboyBekchanov/fb ... tag/1.09.0.
And you must specify the path of the compiler in the Compile item in the Project Properties. And you must specify Android SDK Location, Android NDK Location, JDK Location in the Android Settings item in the Project Properties.
After you can start (F5).
Re: VisualFBEditor - IDE for FreeBasic
Ok, This is what I was missing. I thought it was the IDE itself that compiled for ARM.
All ok now.Xusinboy Bekchanov wrote: ↑May 30, 2022 2:20 You can download fbc releases from https://github.com/XusinboyBekchanov/fb ... tag/1.09.0.
Re: VisualFBEditor - IDE for FreeBasic
Hello,
does this editor and myfbFramework works on raspberry pi?
Thanks.
does this editor and myfbFramework works on raspberry pi?
Thanks.
-
- Posts: 783
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
Hello Xusinboy.
I was able to compile the IDE and mff library without any problems.
The OS is the latest raspbian 32bit.
The compiler is FBC 1.09.0 (2021-12-31), built for linux-arm (32bit)
The IDE starts without a problem, but after selecting the compiler path the IDE crashes with a Segmentation fault.
After that, each new start after the appearance of the splash screen crashes with the error Segmentation fault.
what could it be?
Thanks again for the help.
I was able to compile the IDE and mff library without any problems.
The OS is the latest raspbian 32bit.
The compiler is FBC 1.09.0 (2021-12-31), built for linux-arm (32bit)
The IDE starts without a problem, but after selecting the compiler path the IDE crashes with a Segmentation fault.
After that, each new start after the appearance of the splash screen crashes with the error Segmentation fault.
what could it be?
Thanks again for the help.
-
- Posts: 783
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
Try from releases (1.3.2). I need to look at the latest unreleased version.birosys wrote: ↑May 30, 2022 18:05 Hello Xusinboy.
I was able to compile the IDE and mff library without any problems.
The OS is the latest raspbian 32bit.
The compiler is FBC 1.09.0 (2021-12-31), built for linux-arm (32bit)
The IDE starts without a problem, but after selecting the compiler path the IDE crashes with a Segmentation fault.
After that, each new start after the appearance of the splash screen crashes with the error Segmentation fault.
what could it be?
Thanks again for the help.
Re: VisualFBEditor - IDE for FreeBasic
With version 1.3.2. everything is OK.
The editor works, no more problems with the compiler path.
However, when I try to compile a test program, I get the following message:
The editor works, no more problems with the compiler path.
However, when I try to compile a test program, I get the following message:
Code: Select all
21:31:43: Compilation: "/home/pi/VisualFBEditor.1.3.2/Compilers/FreeBASIC-1.09.0-raspbian9-arm/bin/fbc" "Form1.frm" -exx -v -s gui -i "/home/pi/VisualFBEditor.1.3.2/./MyFbFramework" 2> "/home/pi/VisualFBEditor.1.3.2/Temp/Compile.log"
error 81: Invalid command-line option, "Form1.frm"
21:31:43: Do not build file. Elapsed Time: 0.01 Seconds
21:31:43: Found Messages (1 Pos)
-
- Posts: 783
- Joined: Jul 26, 2018 18:28
Re: VisualFBEditor - IDE for FreeBasic
The Parameters Window will open in the Build -> Parameters menu. There, in the compiler line, it should have been written like this:birosys wrote: ↑May 30, 2022 19:40 However, when I try to compile a test program, I get the following message:
Code: Select all
21:31:43: Compilation: "/home/pi/VisualFBEditor.1.3.2/Compilers/FreeBASIC-1.09.0-raspbian9-arm/bin/fbc" "Form1.frm" -exx -v -s gui -i "/home/pi/VisualFBEditor.1.3.2/./MyFbFramework" 2> "/home/pi/VisualFBEditor.1.3.2/Temp/Compile.log" error 81: Invalid command-line option, "Form1.frm" 21:31:43: Do not build file. Elapsed Time: 0.01 Seconds 21:31:43: Found Messages (1 Pos)
-b {S} -exx -v
When compiling, it was necessary to compile like this:
-b "Form1.frm" -exx -v
Have you changed this setting?