Skip to content

XusinboyBekchanov/VisualFBEditor

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
January 23, 2023 16:42
September 25, 2022 18:39
October 21, 2022 07:50
October 21, 2022 07:51
August 9, 2022 08:06
September 25, 2022 18:39
September 25, 2022 18:39
December 14, 2020 21:22

Language: English | 中文介绍

Visual FB Editor

IDE for FreeBasic

Introduction

VisualFBEditor is the IDE for FreeBasic with visual designer, debugger, project support and etc. VisualFBEditor based on the library MyFbFramework.

Requirements:

Screenshots

VisualFBEditor-1 VisualFBEditor-2 VisualFBEditor-3 VisualFBEditor-4 VisualFBEditor-5 VisualFBEditor-6

Compilation:

To compile use the following command lines:

For Windows 32-bit:

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -s gui -x "../VisualFBEditor32.exe" "VisualFBEditor.rc" -i "Path_to_VisualFBEditor/Controls/MyFbFramework"
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" "mff.rc" -dll -x "../mff32.dll"

For Windows 32-bit (for gtk2):

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -s gui -x "../VisualFBEditor32_gtk2.exe" "VisualFBEditor.rc" -d __USE_GTK__ -i "Path_to_VisualFBEditor/Controls/MyFbFramework" -p "Path_to_msys2\msys32\mingw32\lib"
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" "mff.rc" -dll -x "../mff32_gtk2.dll" -d __USE_GTK__ -p "Path_to_msys2\msys32\mingw32\lib"

For Windows 32-bit (for gtk3):

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -s gui -x "../VisualFBEditor32_gtk3.exe" "VisualFBEditor.rc" -d __USE_GTK__ -d __USE_GTK3__ -i "Path_to_VisualFBEditor/Controls/MyFbFramework" -p "Path_to_msys2\msys32\mingw32\lib"
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" "mff.rc" -dll -x "../mff32_gtk3.dll" -d __USE_GTK__ -d __USE_GTK3__ -p "Path_to_msys2\msys32\mingw32\lib"

For Windows 64-bit:

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -s gui -x "../VisualFBEditor64.exe" "VisualFBEditor.rc" -i "Path_to_VisualFBEditor/Controls/MyFbFramework"
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" "mff.rc" -dll -x "../mff64.dll"

For Windows 64-bit (for gtk2):

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -s gui -x "../VisualFBEditor64_gtk2.exe" "VisualFBEditor.rc" -d __USE_GTK__ -i "Path_to_VisualFBEditor/Controls/MyFbFramework" -p "Path_to_msys2\msys32\mingw64\lib"
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" "mff.rc" -dll -x "../mff64_gtk2.dll" -d __USE_GTK__ -p "Path_to_msys2\msys32\mingw64\lib"

For Windows 64-bit (for gtk3):

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -s gui -x "../VisualFBEditor64_gtk3.exe" "VisualFBEditor.rc" -d __USE_GTK__ -d __USE_GTK3__ -i "Path_to_VisualFBEditor/Controls/MyFbFramework" -p "Path_to_msys2\msys32\mingw64\lib"
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" "mff.rc" -dll -x "../mff64_gtk3.dll" -d __USE_GTK__ -d __USE_GTK3__ -p "Path_to_msys2\msys32\mingw64\lib"

For Linux 32-bit (for gtk2):

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -x "../VisualFBEditor32_gtk2" -i "Path_to_VisualFBEditor/Controls/MyFbFramework"
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" -dll -x "../libmff32_gtk2.so"

For Linux 32-bit (for gtk3):

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -x "../VisualFBEditor32_gtk3" -i "Path_to_VisualFBEditor/Controls/MyFbFramework" -d __USE_GTK3__
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" -dll -x "../libmff32_gtk3.so" -d __USE_GTK3__

For Linux 64-bit (for gtk2):

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -x "../VisualFBEditor64_gtk2" -i "Path_to_VisualFBEditor/Controls/MyFbFramework"
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" -dll -x "../libmff64_gtk2.so"

For Linux 64-bit (for gtk3):

  cd Path_to_VisualFBEditor/src
  fbc "VisualFBEditor.bas" -x "../VisualFBEditor64_gtk3" -i "Path_to_VisualFBEditor/Controls/MyFbFramework" -d __USE_GTK3__
  cd Path_to_VisualFBEditor/Controls/MyFbFramework/mff
  fbc -b "mff.bi" -dll -x "../libmff64_gtk3.so" -d __USE_GTK3__

Sample bat file:

REM Sample Windows 64 bit Build

REM CHANGE YOUR SETUP / PATHS

REM Change path to the VisualFBEditor source

c:

cd "C:\FreeBasic\Projects\VisualFBEditor-master\src"

REM A Copy of the MyFbFramework was also placed to

REM "C:\FreeBasic\Projects\VisualFBEditor-master\Controls\MyFbFramework"

REM the 64 bit FreeBasic compiler is located in

REM "C:\FreeBasic\X64\fbc.exe"

REM "Version 1.08.0 64 bit Windows build"

REM BUILD COMMAND

"C:\FreeBasic\X64\fbc.exe" "VisualFBEditor.bas" "VisualFBEditor.rc" -s gui -x "../VisualFBEditor64.exe" -i "C:\FreeBasic\Projects\VisualFBEditor-master\Controls\MyFbFramework"

REM Change path to the MyFbFramework source

cd "C:\FreeBasic\Projects\VisualFBEditor-master\Controls\MyFbFramework\mff"

"C:\FreeBasic\X64\fbc.exe" -b "mff.bi" "mff.rc" -dll -x "..\mff64.dll"

__