OpenKore / openkore

A free/open source client and automation tool for Ragnarok Online
http://openkore.com
Other
1.28k stars 1.04k forks source link

Cannot load interface Interface::Wx. Error: #680

Open sctnightcore opened 7 years ago

sctnightcore commented 7 years ago

OpenKore version what-will-become-2.1 SVN revision: unknown No loaded plugins.

Error message: Cannot load interface Interface::Wx. Error: The getpwuid function is unimplemented at /<D:\tRO\openkore-twRO_New\wxstart.exe>Wx/Perl/Packager/Base.pm line 658. BEGIN failed--compilation aborted at src/Interface/Wx.pm line 32. Compilation failed in require at (eval 243) line 1. BEGIN failed--compilation aborted at (eval 243) line 1.

Stack trace: Trace begun at src\Interface.pm line 51 Interface::loadInterface('Interface', 'Wx') called at openkore.pl line 44 main::__start at start.pl line 136

Died at this line: eval "use $module;";

RUN ON WIN7 64Bit

sctnightcore commented 7 years ago

help me pls someone

ghost commented 7 years ago

is u using perl 5.12?

sctnightcore commented 7 years ago

@Slipxxliose new perl v

Sent from my SPRD SMART MAX 4.0 PLUS using FastHub

ghost commented 7 years ago

try using 5.12

ghost commented 7 years ago

msg error : getpwuid

kaliwanagan commented 7 years ago

I'm using Wx on iRO and I don't get any issues. Are you using a custom kore? Maybe try using the master branch?

lututui commented 7 years ago

Apparently there's a bug in Wx::Perl::Packager when it comes to windows 7 64 (I've only seen reports about this OS). Not even the binary (wxstart.exe) is working properly

my $uid = getlogin || (getpwuid($<))[0]; getlogin fails (I don't know why) and Windows doesn't implement getpwuid so everything dies

Why are we requiring Wx::Perl::Packager?