Hi!
I have Lazarus 2.0.0 32bits and I want to install it on a usb drive, so I could use it on other PC's where I can't install any software.
So i used the normal Lazarus installer to install it on the drive and set the config path to a directory in the main lazarus directory.
Then I edited the Lazarus path variables to use the %(LazarusDir) variable and I created a little script to start lazarus and set the path:
@echo off
echo Starting Lazarus...
cmd /C ""%~dp0startlazarus.exe" --lazarusdir="%~dp0" --pcp=%~dp0LazConfig --scp=%~dp0 --skip-last-project"
Lazarus Paths:
Lazarus directory: Set by the script
Compiler executable: $(LazarusDir)\fpc\3.0.4\bin\i386-win32\fpc.exe
FPC source directory: $(LazarusDir)\fpc\$(FPCVer)\source
"Make" executable: $Path($(CompPath))\make.exe
Directory for building test projects: $(LazarusDir)\Temp\ (I created the foldewr "Temp")
And this works fine until I try to compily anything. It just throws the error:
Fatal: Cannot find strutils used by LazUTF8 of package LazUtils.
After that I tried adding $(LazarusDir) to the paths in fpc.cfg, but that doesn't work.
I also tried searching the forums, but didn't find anything that worked.
Does anyone know how to solve this?