Omnet 4.2.2 errorList
Omnetpp 4.2.2编译运行程序报错:
Simulation terminated with exit code: -1073741511
Working directory: D:/wsn/omnetpp-4.2.2/samples/xfive/MCCP/simulations
Command line: ../src/MCCP.exe -r 0 -n ../src;. omnetpp.ini
Environment variables:
PATH=;D:\wsn\omnetpp-4.2.2\bin;D:\wsn\omnetpp-4.2.2\msys\bin;D:\wsn\omnetpp-4.2.2\mingw\bin;D:/wsn/omnetpp-4.2.2/ide/jre/bin/client;D:/wsn/omnetpp-4.2.2/ide/jre/bin;D:/wsn/omnetpp-4.2.2/ide/jre/lib/i386;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;d:\Program Files\doxygen\bin;D:\wsn\omnetpp-4.2.2\ide;
OMNETPP_IMAGE_PATH=D:\wsn\omnetpp-4.2.2\images
Working directory: D:/wsn/omnetpp-4.2.2/samples/xfive/MCCP/simulations
Command line: ../src/MCCP.exe -r 0 -n ../src;. omnetpp.ini
Environment variables:
PATH=;D:\wsn\omnetpp-4.2.2\bin;D:\wsn\omnetpp-4.2.2\msys\bin;D:\wsn\omnetpp-4.2.2\mingw\bin;D:/wsn/omnetpp-4.2.2/ide/jre/bin/client;D:/wsn/omnetpp-4.2.2/ide/jre/bin;D:/wsn/omnetpp-4.2.2/ide/jre/lib/i386;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;d:\Program Files\doxygen\bin;D:\wsn\omnetpp-4.2.2\ide;
OMNETPP_IMAGE_PATH=D:\wsn\omnetpp-4.2.2\images
Google无解,自行解决:
下载http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib_1.2.5-2_win32.zip
或直接下载此文件zlib1.dll,将下载的新zlib1.dll文件替换c:/windows/system32/zlib1.dll,记得备份旧文件为zlib1.dll.bak
重新运行仿真程序,成功。
2. 无法打开GBK编码文件。
"character encoding gbk is not supported by this platform "
解决:下载charsets.jar文件,复制到\omnetpp-4.2.2\ide\jre\lib目录下,解决。
下载: charsets.jar