[erlang-questions] Building plt

Lennart Öhman Lennart.Ohman@REDACTED
Thu Aug 25 16:14:09 CEST 2011

Hi, first you are correct you need to set the HOME windows environment variable. As far as I know, you can set it to anything actually. Dialyzer just requires it to exist, if you specify all other paths.

First you must build your own plt.

...\dialyzer  -build_plt -output_plt C:/mydir/myplt.plt -apps kernel stdlib erts

Then when you use it, simple specify -plt C:/mydir/myplt.plt

Best Regards

From: erlang-questions-bounces@REDACTED [mailto:erlang-questions-bounces@REDACTED] On Behalf Of Simsek Burak
Sent: den 25 augusti 2011 15:43
To: erlang-questions@REDACTED
Subject: [erlang-questions] Building plt

Hello! I'm a newbie with erlang, i want to use dialyzer on Windows. I tried to use it but it required HOME enviroment. Then i used os:putenv/2 to declare HOME enviroment as my home path(like c:\Users\..). Then it gave "Could not read the PLT" error. So it wants an existing PLT. How can i create plt now?

Thank you

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110825/7d8bf017/attachment.htm>

More information about the erlang-questions mailing list