Oops! That's because the compiler configuration file was using absolute paths!
To fix it, go to the "bin/i386-win32" folder, and replace all the contents of the file "fpc.cfg" with the following:
To fix it, go to the "bin/i386-win32" folder, and replace all the contents of the file "fpc.cfg" with the following:
#IFDEF RELEASE -O2 -Xs #WRITE Compiling Release Version #ENDIF #IFDEF DEBUG -glh -Crtoi #WRITE Compiling Debug Version #ENDIF -Sgic -Fu../../units/$FPCTARGET/ -Fu../../units/$FPCTARGET/* -Fu../../units/$FPCTARGET/rtl #IFDEF FPC_CROSSCOMPILING -XP$FPCTARGET- #ENDIF -Xs -l -viwn