[omnetpp] wish problem in MacOS

366 views
Skip to first unread message

Anas Basalamah

unread,
Nov 7, 2006, 8:04:56 PM11/7/06
to omne...@omnetpp.org
Hi all,

I am trying to install omnet in MacOS. However, after running ./configure i
get this error:

checking for wish... wish
Application initialization failed: no display name and no $DISPLAY
environment variable
configure: error: Cannot run wish (wish command "puts OK; exit" failed):
maybe you're not running X or DISPLAY environment variable not set?

Any Ideas?

Thanks,
Anas

NEVER reply to this email.
You can always contact me @ anasba...@yahoo.com

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php

Dave Symonds

unread,
Nov 7, 2006, 8:33:43 PM11/7/06
to OMNeT++ Discussion List
On 08/11/2006, at 12:04 PM, Anas Basalamah wrote:

> Hi all,
>
> I am trying to install omnet in MacOS. However, after running ./
> configure i
> get this error:
>
> checking for wish... wish
> Application initialization failed: no display name and no $DISPLAY
> environment variable
> configure: error: Cannot run wish (wish command "puts OK; exit"
> failed):
> maybe you're not running X or DISPLAY environment variable not set?

You need to run it from inside X11 (probably Apple's X11.app), unless
you define NO_TCL=yes in your configure.user file.


Dave.

--
David Symonds
USyd::ANRG::PhD Student
http://www.it.usyd.edu.au/~dasymond/

Senol Zafer ERDOGAN

unread,
Nov 7, 2006, 11:22:39 PM11/7/06
to OMNeT++ Discussion List
Hi all,

i have a question that it can be easy but i couldnt find it.

i try to put the objects to some places that i want but i couldnt put them.
for example i show the codes below and tic[1]'s position must be x=88,
y=114 and how can i do it?

Best regards,

Senol


simple Txc9 //
parameters:
kt: numeric;
gates:
in: in[]; // declare in[] and out[] to be vector gates
out: out[];
endsimple

module Tictoc9


submodules:
tic: Txc9[14];
display: "i=misc/node_vs,gold";
connections:
tic[0].out++ --> datarate 1500000 delay 0.000900s --> tic[1].in++;
tic[0].in++ <-- datarate 1500000 delay 0.000900s <-- tic[1].out++;

tic[0].out++ --> datarate 1500000 delay 0.000900s --> tic[2].in++;
tic[0].in++ <-- datarate 1500000 delay 0.000900s <-- tic[2].out++;

tic[0].out++ --> datarate 1500000 delay 0.000700s --> tic[3].in++;
tic[0].in++ <-- datarate 1500000 delay 0.000700s <-- tic[3].out++;


tic[1].out++ --> datarate 1500000 delay 0.001300s --> tic[3].in++;
tic[1].in++ <-- datarate 1500000 delay 0.001300s <-- tic[3].out++;


tic[1].out++ --> datarate 1500000 delay 0.002000s --> tic[6].in++;
tic[1].in++ <-- datarate 1500000 delay 0.002000s <-- tic[6].out++;

tic[2].out++ --> datarate 1500000 delay 0.000700s --> tic[4].in++;
tic[2].in++ <-- datarate 1500000 delay 0.000700s <-- tic[4].out++;

tic[2].out++ --> datarate 1500000 delay 0.001600s --> tic[7].in++;
tic[2].in++ <-- datarate 1500000 delay 0.001600s <-- tic[7].out++;

tic[3].out++ --> datarate 1500000 delay 0.001500s --> tic[10].in++;
tic[3].in++ <-- datarate 1500000 delay 0.001500s <-- tic[10].out++;

tic[4].out++ --> datarate 1500000 delay 0.000700s --> tic[5].in++;
tic[4].in++ <-- datarate 1500000 delay 0.000700s <-- tic[5].out++;


tic[4].out++ --> datarate 1500000 delay 0.001100s --> tic[10].in++;
tic[4].in++ <-- datarate 1500000 delay 0.001100s <-- tic[10].out++;

tic[5].out++ --> datarate 1500000 delay 0.000700s --> tic[6].in++;
tic[5].in++ <-- datarate 1500000 delay 0.000700s <-- tic[6].out++;

tic[6].out++ --> datarate 1500000 delay 0.000700s --> tic[9].in++;
tic[6].in++ <-- datarate 1500000 delay 0.000700s <-- tic[9].out++;

tic[7].out++ --> datarate 1500000 delay 0.000500s --> tic[8].in++;
tic[7].in++ <-- datarate 1500000 delay 0.000500s <-- tic[8].out++;


tic[7].out++ --> datarate 1500000 delay 0.000800s --> tic[13].in++;
tic[7].in++ <-- datarate 1500000 delay 0.000800s <-- tic[13].out++;

tic[8].out++ --> datarate 1500000 delay 0.000500s --> tic[9].in++;
tic[8].in++ <-- datarate 1500000 delay 0.000500s <-- tic[9].out++;


tic[8].out++ --> datarate 1500000 delay 0.000700s --> tic[12].in++;
tic[8].in++ <-- datarate 1500000 delay 0.000700s <-- tic[12].out++;


tic[9].out++ --> datarate 1500000 delay 0.00080s --> tic[11].in++;
tic[9].in++ <-- datarate 1500000 delay 0.000800s <-- tic[11].out++;

tic[9].out++ --> datarate 1500000 delay 0.000800s --> tic[13].in++;
tic[9].in++ <-- datarate 1500000 delay 0.000800s <-- tic[13].out++;

tic[10].out++ --> datarate 1500000 delay 0.000900s --> tic[11].in++;
tic[10].in++ <-- datarate 1500000 delay 0.000900s <-- tic[11].out++;


tic[10].out++ --> datarate 1500000 delay 0.001400s --> tic[12].in++;
tic[10].in++ <-- datarate 1500000 delay 0.001400s <-- tic[12].out++;


tic[12].out++ --> datarate 1500000 delay 0.000400s --> tic[13].in++;
tic[12].in++ <-- datarate 1500000 delay 0.000400s <-- tic[13].out++;


endmodule

network tictoc9 : Tictoc9
endnetwork

Carlo

unread,
Jul 7, 2012, 12:32:16 PM7/7/12
to omn...@googlegroups.com, OMNeT++ Discussion List
DO you think this is a nice solution? 

in node.ned
double xpos=default(5);
double ypos=default(5);
@display("p=$xpos,$ypos");

and in the .ini file
*.node[0].xpos = 10
*.node[0].ypos = 10
*.node[1].xpos = 20
*.node[1].ypos = 20
*.node[2].xpos = 30
*.node[2].ypos = 30
Reply all
Reply to author
Forward
0 new messages