- ›
- Forums ›
- Get Help and Guidance on Cygwin and ns2 ›
- to install ns2 2.34
Generally, the installation of higher versions of ns2 ( >= 2.28 ) on cygwin will be very much easier than installing it on linux.
Thank for ur valuble advice CharlesPandian,
I also want to know that is there any difference in code or patch written for Ns2 on cygwin with written for Ns2 on linux .
Generally a patch written for ns2 will work on any installation π‘ (both ns2 on linux or ns2 on cygwin). But some times you may face some type errors or deprecated function errors during compiling ns2 after patching it. Most of the times, these kind of errors can be rectifies (using type casting or some simple modification in code) – The most of these errors will mainly depend up on the version of gcc compiler in that platform. It means if you are facing such error while patching ns2 on a particular version of linux then probably you will not have the same error on some higher of lower version of the same linux varient π (or different version of cygwin – on windows). [Different version of linux/cygwin will packaged with different version of gcc ]
– I think I have confused you too much π – But in fact this is the main problem people are facing while struggling with ns2. Most of the times they fail π₯ because they never understand the thing which I have explained in the above paragraph.
Discuss Through WhatsApp