<div dir="ltr">Hi!<div><br></div><div>I've built PLTs with the follow commands via Makefile:</div><div><br></div><div><div>DIALYZER_APPS = asn1 compiler crypto erts inets kernel public_key sasl ssl stdlib syntax_tools tools</div><div><br></div><div>...</div><div><br></div><div>dialyzer --build_plt --output_plt erlang.plt --apps $(DIALYZER_APPS)<br></div><div><div>dialyzer --build_plt --output_plt my_app.plt ebin/ deps/*/ebin/</div></div><div><br></div><div>then I want to check my code with dialyzer but got the follow errors:</div><div><br></div><div><div>$ make dialyzer</div><div>dialyzer --src src --plts erlang.plt my_app.plt -Wunmatched_returns -Werror_handling -Wrace_conditions -Wunderspecs | fgrep -v -f ./dialyzer.ignore-warnings</div><div>  Checking whether the PLT erlang.plt is up-to-date... yes</div><div>  Checking whether the PLT my_app.plt is up-to-date... yes</div><div>  Proceeding with analysis...</div><div>dialyzer: Analysis failed with error:</div><div>Could not scan the following file(s):</div><div>/home/juise/my_app/src/my_app_parser.erl:10: can't find include lib "erlsom/src/erlsom_sax.hrl"</div><div>/home/juise/my_app/src/my_app_parser.erl:99: record attribute undefined</div><div>/home/juise/my_app/src/my_app_parser.erl:100: variable 'Name' is unbound</div><div>/home/juise/my_app/src/my_app_parser.erl:100: variable 'Name' is unbound</div><div>/home/juise/my_app/src/my_app_parser.erl:100: variable 'Value' is unbound</div></div><div><br></div><div>In my_app_parser I have:</div><div><br></div><div><div>-include_lib("erlsom/src/erlsom_sax.hrl").</div></div><div><br></div><div>How to say dialyzer to find erlsom_sax.hrl in deps/erlsom/src/ ? How can I fix it?</div><div><br></div>-- <br><div><div dir="ltr">Петровский Александр / Alexander Petrovsky,<br><br>Skype: askjuise<br><div>Phone: +7 914 8 820 815<div><br></div></div></div></div>
</div></div>