Recent

Author Topic: No way to launch FPC  (Read 4141 times)

woyeko

  • Newbie
  • Posts: 3
No way to launch FPC
« on: April 18, 2017, 02:00:05 pm »
Hi. I have strange problem with FPC. After install I can't find anywhere FPC shortcut on desktop and in '3.0.2' folder.

Ñuño_Martínez

  • Hero Member
  • *****
  • Posts: 1186
    • Burdjia
Re: No way to launch FPC
« Reply #1 on: April 18, 2017, 02:16:21 pm »
FPC is a console program, so you should open a console or a terminal emulator (i.e. cmd.exe on Windows) and call it from there.
Are you interested in game programming? Join the Pascal Game Development community!
Also visit the Game Development Portal

Handoko

  • Hero Member
  • *****
  • Posts: 5153
  • My goal: build my own game engine using Lazarus
Re: No way to launch FPC
« Reply #2 on: April 18, 2017, 03:39:56 pm »
Hi woyeko, here are some things you may need to know.

FPC is Pascal compiler that runs only in console/terminal. You can use any text editor you like to do the coding and then compile it using FPC.

After you install FPC, you get not only the compiler but you also get a console/terminal mode IDE. You don't have to, but some users will also install Lazarus - the IDE that has graphical form designer to let you build your GUI application easier.

For Linux users, to start the FPC's default IDE:
Linux terminal > type: FP [enter]

For Linux users, to access the FPC's compiler:
Linux terminal > type: FPC [enter]

Note:
I'm a Linux user, not very sure but I think it should be similar on Windows.

Learn more about FPC:
http://wiki.freepascal.org/How_to_start
http://www.freepascal.org/docs-html/user/userse8.html#x17-240002.5

Have fun!

Thaddy

  • Hero Member
  • *****
  • Posts: 14372
  • Sensorship about opinions does not belong here.
Re: No way to launch FPC
« Reply #3 on: April 18, 2017, 03:44:58 pm »
Nope. Under both Linux and Windows there should be a shortcut  with a blue field background that will start FP.EXE, which is the basic fpc compiler in a terminal/console style editor.
If that is not there, install Lazarus or start indeed FPC -not fp - from the commandline./terminal. FPC is indeed just a compiler (type GCC for the same effect) FP is a code editor, just like Lazarus.
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

Handoko

  • Hero Member
  • *****
  • Posts: 5153
  • My goal: build my own game engine using Lazarus
Re: No way to launch FPC
« Reply #4 on: April 18, 2017, 03:55:39 pm »
That's strange. I never get any shourcut (or Linux users call it: link) to FP nor FPC. I use Ubuntu Mate and I got my installation debs from here:
https://sourceforge.net/projects/lazarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.4/

After I installed all the 3 deb files, I got a link to start Lazarus IDE only (not FPC).

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: No way to launch FPC
« Reply #5 on: April 18, 2017, 03:58:34 pm »
Use an official installer from Free Pascal, not 3rd party Linux distro, or partial packaged FPCs for Lazarus use.

Thaddy

  • Hero Member
  • *****
  • Posts: 14372
  • Sensorship about opinions does not belong here.
Re: No way to launch FPC
« Reply #6 on: April 18, 2017, 05:42:35 pm »
That's strange
How come? Use an official distribution..... You mean that????!!! <confused>
Object Pascal programmers should get rid of their "component fetish" especially with the non-visuals.

woyeko

  • Newbie
  • Posts: 3
Re: No way to launch FPC
« Reply #7 on: April 18, 2017, 06:27:43 pm »
I should Lazarus. I can't anywhere find FPC.exe. I give up. Thanks everyone for reply  :D

woyeko

  • Newbie
  • Posts: 3
Re: No way to launch FPC
« Reply #8 on: April 19, 2017, 10:34:20 am »
Problem solved :D I just istalled 32bit version on FPC.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
Re: No way to launch FPC
« Reply #9 on: April 19, 2017, 10:41:59 am »
The official 64-bit win64 version is only an addon to the 32-bit version, it is not a self contained system afaik

 

TinyPortal © 2005-2018