Forum > Unix
Fatal: Can't find unit System
smartduck:
Just the example from the freepascal wiki:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---program Hello;begin writeln ('Hello, world.'); readln;end.
Thaddy:
--- Quote from: smartduck on July 14, 2020, 05:25:36 pm ---Just the example from the freepascal wiki:
--- Code: Pascal [+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i < x.length; i++) { x[i].style.maxHeight='none'; x[i].style.height = Math.min(x[i].clientHeight+15,306)+'px'; x[i].style.resize = "vertical";}};} ---program Hello;begin writeln ('Hello, world.'); readln;end.
--- End quote ---
If that gives you that error your install is really screwed... Try uninstall (purge) and after that, fpcupdeluxe.
jb007:
Hi,
aware of the fact that there hasn't been a post for 2 years, here solution that
works on my pi zero:
https://peppe8o.com/using-pascal-programming-language-with-raspberry-pi/
Step by step it shows how to set things!
Kind regards. Marcel
af0815:
--- Quote from: jb007 on April 17, 2023, 01:40:30 pm ---aware of the fact that there hasn't been a post for 2 years, here solution that
works on my pi zero:
https://peppe8o.com/using-pascal-programming-language-with-raspberry-pi/
--- End quote ---
Not working site if you use a adblocker/spamblocker/antitracing (for a good reason)
nikel:
I had the same problem.
I ran "fp" on a machine which has Lazarus installed. Then looked at Options > Directories. So I added following entries to the fp which was giving me error.
Units
/usr/lib/fpc/$fpcversion\units\$fpctarget
/usr/lib/fpc/$fpcversion\units\$fpctarget\*
/usr/lib/fpc/$fpcversion\units\$fpctarget\rtl
Libraries
/usr/lib/gcc/x86_64-linux-gnu/9
Attention: Some slashes are forward some are back. Also "build-essentials" is installed.
Navigation
[0] Message Index
[#] Next page
[*] Previous page