How to install OMNET++ 4.6 windows 7 (x64)

1,640 views
Skip to first unread message

Jawad Chefnaj

unread,
Dec 9, 2014, 8:42:48 AM12/9/14
to omn...@googlegroups.com
Hello,

I cannot find a guide to install OMNET++ 4.6 
I have run the cenv.cmd file after setting the path for visual C++ (here below the cenv.cmd file qfter the modifcation) but i still cannot run the configure file.

@echo off

: **** NOT FOR RELEASE -- FOR DEVELOPMENT ONLY

rem Start with a clean PATH, INCLUDE and LIB
if defined INCLUDE set INCLUDE= 
if defined LIB set LIB= 
set PATH=%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem

rem Specify your MS Visual C++ installation here.
rem  e.g. C:\Program Files\Microsoft Visual Studio 12.0\VC
set VCINSTALLDIR=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC

if NOT EXIST "%VCINSTALLDIR%\bin\vcvars32.bat" goto MESSAGE

set OMNETPP_ROOT=C:\omnetpp-4.6
set OMNETPP_IMAGE_PATH=.\images;%OMNETPP_ROOT%\images
set PATH=%OMNETPP_ROOT%\bin;%OMNETPP_ROOT%\tools\win32\usr\bin;%OMNETPP_ROOT%\tools\win32\mingw32\bin;%PATH%

call "%VCINSTALLDIR%"\bin\vcvars32.bat

goto EOF

:MESSAGE
echo You must specify the location of your Visual C++ installation.
echo Open 'vcenv.cmd' with your editor and set the VCINSTALLDIR
echo variable to point to your Visual C++ installation directory.

:EOF


if you can guide me to install itI will be thankfull 


Michael Kirsche

unread,
Dec 9, 2014, 4:58:43 PM12/9/14
to
There's an installation manual either in the /doc directory of the Windows (and Linux) version, named InstallGuide.pdf
Or you simply use the link on the OMNeT homepage under manuals/documentation.

As for the Windows version, you would need the commercial version with Visual Studio support as far as I know. And it is also not necessary, as OMNeT comes bundled with MinGW and GCC.

Jawad

unread,
Dec 9, 2014, 5:41:16 PM12/9/14
to omn...@googlegroups.com

Dear Michael

Thanks for your consideration but the user manual and installation guide is only for omnet 4.5 and it's not the same way from installation and the version 4.6 there no MinGW file.

------------------------------------
Jawad CHEFNAJ
+212633348686

Le 9 déc. 2014 22:58, "Michael Kirsche" <michael...@tu-cottbus.de> a écrit :
There's an installation manual either in the /doc directory of the Windows (and Linux) version, named InstallGuide.pdf
Or you simply use the link on the OMNeT homepage under manuals/documentation.

Aa for the Windows version, you would need the commercial version with Visual Studio support as far as I know. And it is also not necessary, as OMNeT comes bundled with MinGW and GCC.


Am Dienstag, 9. Dezember 2014 14:42:48 UTC+1 schrieb Jawad Chefnaj:

--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/Psq6qTLlrYY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Kirsche

unread,
Dec 9, 2014, 9:30:57 PM12/9/14
to omn...@googlegroups.com
Yes there are MinGW files, only under a different directory.

Installation works the same as always.
Start the mingwenv.cmd, run ./configure and make afterwards and every thing's fine.
I've did so multiple times with 4.6rc and 4.6final.

Rudolf Hornig

unread,
Dec 11, 2014, 4:53:42 AM12/11/14
to omn...@googlegroups.com
OMNeT++ does NOT support Visual C++. This is the main difference between the the commercial and the academic version.
Rudolf

Jawad

unread,
Dec 12, 2014, 1:04:31 PM12/12/14
to omn...@googlegroups.com

Thank you very match it's working i still have some problems witg SimLTE.
Thanks for your great support :).

------------------------------------
Jawad CHEFNAJ
+212633348686

Meriem Smache

unread,
Feb 24, 2015, 12:19:34 PM2/24/15
to omn...@googlegroups.com
Hi, 
Can i install OMNET++ 4.6 in windows7 64bits ?? i will use Omnet++ for modeling a smart grid? and simulation of security metric in this smart grid?
Reply all
Reply to author
Forward
0 new messages