fbcadcam logo 1

Fbcadcam Install Notes

Home
Download
User's Guide Programmer's Guide Forum
History
Credits


After downloading and unzipping the latest beta realease.

fbcadcam_(yr_mo_day_time_stamp)

Navigate to the Gtk  / Bin folder and run fbcadcam.exe

Fbcadcam uses the GTK+3 libraries for the gui which you may or may not have installed on your system. In order to prevent possible GTK version conflicts, I have decided to not include an installation program for my beta releases. So, no icons will be created on your desktop and no file association / path settings are adjusted in your operating system. Fbcadcam.exe and associcated files must remain in the GTK / BIN folder.

Souce code (fbcadcam.bas & fbcadcam-macro.bas) included.

NOTE: Fbcadcam Macro recognizes and interprets a small subset of compatible freebasic syntax with some additional commands specific to fbcadcam such as copy rotate (x,y), angle. In order to write custome macros there is the apparent benefit of understanding the freebasic computer programming language.

Learn  how to program in FreeBasic. Join the Freebasic.net forum. The community is really helpful.

Freebasic tutorial blog by community member Franktic is a great place to start learning
www.frankticfreebasic.com



Installing FreeBASIC.
First, download and install the FreeBASIC compiler.
I use the Win32 Binaries ... Windows Installer.
Installing the FreeBASIC compiler (FBC) is simple and straight forward. Just follow the instructions provided. I was able to simply click NEXT, NEXT, OK, ALL RIGHTY THEN, FINISH.
There is nothing to see or do other than perhaps identify the location (folder) of FreeBASIC on your system.
My install location was C:\Program Files (x86)\FreeBASIC


Installing an editor.
Next, you'll need a text editor. I prefer FBedit which can be found near the bottom of FreeBASIC.net's download page under Development Environments (Third-party).
Downloading and installing FBedit is also pretty easy. I chose all the default install options.
FBedit may not work right out of the box for this tutorial until you to set FBedit's Options / Path options to the location of your FBC install.
My compiler path is set to: C:\Program Files (x86)\FreeBASIC
Next you'll need documentation for the FreeBASIC programming language.
This is found on the same download page under documentation and I use The FB manual CHM with FBedit.
Download and unzip the chm file and rename it to FB.chm
And back in the Options / Path Options set the location of your chm file.
My help path is set to: C:\fbedit\FB-manual-0.90.1-chm



Testing the installations of FreeBASIC and FBedit

Using the FBedit menu, select FILE / New Code File
An (untitled).bas file appears with the cursor blinking ready for you to enter your first command.
Type: PRINT "Hello world"
Type: SLEEP
Type: END
Then save it and run it.
Using the FBedit menu:
select FILE / Save and then click save.
select MAKE / GO and you should see a small black window with Hello world in the upper left corner.
Close the window, and make sure your help documentation works.
You typed three lines of code and three commands: Print, Sleep and End
Place the cursor in the middle of the word PRINT and press F1 on your keyboard.
You should see the help file open up and display the details of the Print command.
Do the same for Sleep and End.
If you were able to complete the above, I would say you installed the compiler and editor correctly.


Installing Freebasic, installing an editor and testing your installation is only the begining of a great adventue.
If my breif explanation (above) didn't work out for you. Please check out Franktic's blog
www.frankticfreebasic.com/2016/11/install-freebasic-my-computer
www.frankticfreebasic.com/2016/12/finish-setting-up-environment-prep-work
www.frankticfreebasic.com/2016/11/testing-ide-and-fundamental-set-of-instructions - Part 1