Jonas Eymann
unread,May 14, 2012, 10:34:37 AM5/14/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to omn...@googlegroups.com
Hello everyone,
we are using OMNeT++ for teaching about communication networks at our
institute and asked the students to install the current OMNeT++ 4.2.2
version on their computers. On some of the machines we have the problem
that after successfully compiling OMNeT++, when we try to start the dyna
example from the mingw window (as described in the installation manual
of OMNeT++), a popup occurs saying
"The procedure entry point gzdirect could not be located in the dynamic
link library zlib1.dll"
If you start the IDE and try to run for example the tictoc tutorial,
this also does not work:
Starting...
$ cd D:/omnetpp-4.2.1-src-windows/omnetpp-4.2.1/samples/tictoc
$ tictoc.exe -r 0 omnetpp.ini
Simulation terminated with exit code: -1073741511
Working directory: D:/omnetpp-4.2.1-src-windows/omnetpp-4.2.1/samples/tictoc
Command line: tictoc.exe -r 0 omnetpp.ini
Environment variables:
OMNETPP_ROOT=d:/omnetpp-4.2.1-src-windows/omnetpp-4.2.1
PATH=;d:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\bin;d:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\msys\bin;d:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\mingw\bin;d:/omnetpp-4.2.1-src-windows/omnetpp-4.2.1/ide/jre/bin/client;d:/omnetpp-4.2.1-src-windows/omnetpp-4.2.1/ide/jre/bin;d:/omnetpp-4.2.1-src-windows/omnetpp-4.2.1/ide/jre/lib/i386;d:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\bin;d:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\msys\bin\;.;D:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\msys\local\bin;d:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\mingw\bin;D:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\msys\bin;d:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\bin;c:\Windows\system32;c:\Windows;c:\Windows\System32\Wbem;c:\Windows\System32\WindowsPowerShell\v1.0\;
... (more unrelated entries)
LD_LIBRARY_PATH=/d/omnetpp-4.2.1-src-windows/omnetpp-4.2.1/lib:
OMNETPP_IMAGE_PATH=d:\omnetpp-4.2.1-src-windows\omnetpp-4.2.1\images
It seems to only occur on some Win 7 64 bit installations. However, I
tried it on three different Win 7 64 bit systems myself and could not
reproduce the problem there, but still it remains on a lot of other
systems from students and two of my colleagues.
One solution we found is to copy the zlib1.dll from the
omnetpp/msys/bin/ directly into each project folder (dyna, tictoc etc.),
but that's a pretty cumbersome workaround for the problem. We also
checked the $PATH variable, but everything looks fine (to us, maybe we
missed something?).
There seems to only be one other report in the mailing list here about
such a problem, but no solution. We are pretty stuck now and running
somewhat out of ideas for solutions, and we have at least 6-8 people
with that problem...
Any help or suggestion is appreciated!
Jonas