Here is the command I am using now. Please let me know if you see any more errors. pp --gui -o gui1.exe gui1.pl -l C:/Perl/lib/auto/Tcl/tkkit.dll -l C:/Perl/lib/auto/Tcl/Tcl.dll -x