LTSpice Third Party MOSFET Error Message
Go to Tools -&gt; Control Panel -&gt; Sym and Lib Search paths
Then add you path for you lib/txt files (just in case your path seems like the default one so may not be needed)
For windows press CTRL + Right Click on mosfet parts. Then change prefix to &quot;X&quot;.

For clarification see tested circuit below