Lazarus
Free Pascal => Windows => Topic started by: woyeko 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.
-
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.
-
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!
-
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.
-
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).
-
Use an official installer from Free Pascal, not 3rd party Linux distro, or partial packaged FPCs for Lazarus use.
-
That's strange
How come? Use an official distribution..... You mean that????!!! <confused>
-
I should Lazarus. I can't anywhere find FPC.exe. I give up. Thanks everyone for reply :D
-
Problem solved :D I just istalled 32bit version on FPC.
-
The official 64-bit win64 version is only an addon to the 32-bit version, it is not a self contained system afaik