Can't compile basic project with form1. lazarus / 1-Linux ---------------------------------------------------------------------- kimmo.mannikko · 2015-11-14 11:45 I have latest Mint Linux with Lazarus and fpc.  If i try to compile basic project with one window, i get fallowing error message: fatal: cannot find gettext Lazutf8. I know that error is to do something with fpc cannot find some stuff it needs. How i can solve this problem. In windows there is no tweaking, just install Lazarus and start to programming.  Sorry if my english is bad. My native language is Finnish, not English. ---------------------------------------------------------------------- marcov · 2015-11-14 11:56 Quote from: kimmo.mannikko on November 14, 2015, 12:45:52 pmI have latest Mint Linux with Lazarus and fpc.  If i try to compile basic project with one window, i get fallowing error message: fatal: cannot find gettext Lazutf8. I know that error is to do something with fpc cannot find some stuff it needs. How i can solve this problem. In windows there is no tweaking, just install Lazarus and start to programming.  Sorry if my english is bad. My native language is Finnish, not English. Add lazutils to the requirements of the project. Later Lazaruses split LCL into LCL and a non visual part, lazutils ---------------------------------------------------------------------- rwmich · 2017-10-27 12:02 Quote from: marcov on November 14, 2015, 12:56:47 pmQuote from: kimmo.mannikko on November 14, 2015, 12:45:52 pmI have latest Mint Linux with Lazarus and fpc.  If i try to compile basic project with one window, i get fallowing error message: fatal: cannot find gettext Lazutf8. I know that error is to do something with fpc cannot find some stuff it needs. How i can solve this problem. In windows there is no tweaking, just install Lazarus and start to programming.  Sorry if my english is bad. My native language is Finnish, not English. Add lazutils to the requirements of the project. Later Lazaruses split LCL into LCL and a non visual part, lazutils Can you post instruction how to do this?  I am having the same "Cannot find gettext... " error.  Just installed Lazarus 2 days ago, and been banging my head on this one. ---------------------------------------------------------------------- marcov · 2017-10-27 12:54 http://wiki.freepascal.org/Lazarus_Packages#Use_your_package_in_your_p roject ---------------------------------------------------------------------- rwmich · 2017-10-27 14:57 Quote from: marcov on October 27, 2017, 02:54:35 pmhttp://wiki.freepas cal.org/Lazarus_Packages#Use_your_package_in_your_project Thanks for reply but.. Added Lazutils per the prior post, still have the: lazutf8.pas(194,3) Fatal: Cannot find gettext used by LazUTF8 of package LazUtils. This is a pain.  I installed Lazarus on an earlier Mint version very simply maybe 2 years ago and it worked great.  Updated Mint a few months back but just getting to reinstalling Lazarus, and have this silliness.  So I have to spend hours/days trying to figure it out.  Not good. ---------------------------------------------------------------------- marcov · 2017-10-27 14:59 I don't know how Mint works, but did you install a "all"  fpc package? It says it can't compile lazutf8, but that unit (gettext) afaik is in FPC, not lazarus repo  (fcl-base). Make sure you install all fpc related packages. ---------------------------------------------------------------------- rwmich · 2017-10-27 15:42 Quote from: marcov on October 27, 2017, 04:59:41 pmI don't know how Mint works, but did you install a "all"  fpc package? It says it can't compile lazutf8, but that unit (gettext) afaik is in FPC, not lazarus repo  (fcl-base). Make sure you install all fpc related packages. I installed the fpc_3.0.2-170225_amd64.deb,  fpc- src_3.0.2-170225_amd64.deb,  lazarus-project_1.6.4-0_amd64.deb all per sourceforge links poste on https://sourceforge.net/projects/la zarus/files/Lazarus%20Linux%20amd64%20DEB/Lazarus%201.6.4/ same as I had done in prior installs.  Prior installs worked.  This one does not. ---------------------------------------------------------------------- Chronos · 2017-10-27 19:47 At least you already have solution to your problem: http://forum.lazarus.freepascal.org/index.php/topic,30758.15.html But I have similar error and I don't know how to solve it yet. You can also try Menu - Project - Project Options and Test button. There are some advices for "unit not found" here http://wiki.freepascal.org/Unit_not_found_-_How_to_find_units It would be also good to have similar page for "package not found". You can also see which paths are currently used from menu View - IDE Internals - About IDE and About FPC. But for sure, that kind of error message is not much descriptive. It kind of "Runtime error 123." message. To find solution you need to dig deeper to lazarus/fpc internals. And thats a good and bad thing at the same time. That time would be better spent by developing useful applications.