LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Sumo simulator gui problem in ubuntu 8.04 (https://www.linuxquestions.org/questions/linux-newbie-8/sumo-simulator-gui-problem-in-ubuntu-8-04-a-811537/)

vidhoon 06-01-2010 01:21 PM

Sumo simulator gui problem in ubuntu 8.04
 
Hello friends,
I am trying to install SUMO- Simulator for Urban Mobility for past 2 days. I used the script here and it gets installed. The problem is I am not able to build GUI of SUMO- I dont have an executable of guisim after building everything. Kindly help me.

Thanks in advance.

knudfl 06-01-2010 02:33 PM

1 Attachment(s)
Welcome to LQ.

No command 'guisim' , but 'sumo-guisim' or 'sumo-gui'

Did you try that ?
..

vidhoon 06-01-2010 02:43 PM

Inside bin -> no guisim executable
 
1 Attachment(s)
Thanks for coming up with some guidance.
Let me give some more clear info abt the problem.
Am sorry I dont knw how to put it.
After installation I have only these folders in my bin (home/mysumo/sumo/bin) as shown in screen shot attached

knudfl 06-01-2010 03:21 PM

Sorry, the latest SUMO will require libfox-1.6-dev

sudo apt-get remove libfox1.4-dev
sudo apt-get install libfox-1.6-dev

.. Then the GUI will be build :
The command for this version is : sumo-gui

Your script says FOX="1.4". Either edit the script, or don't use it.
I guess, you can just do :
cd sumo && ./configure --prefix=/opt/sumo && make && sudo make install
.. if you still want sumo in /opt/ ?
Actually /usr/local/ is more convenient :
All sumo commands will be in a system PATH = /usr/local/bin/
..
P.S. : Post # 2 : The attachment, _build_sumo was edited.
..

vidhoon 06-01-2010 04:04 PM

Sumo fox version
 
Am using ubuntu 8.04. I find that in all places they have used fox1.4 for ubuntu 8.04 and fox1.6 for higher versions to isntall sumo.
Are you sure?
I hope you get my point.

vidhoon 06-01-2010 05:50 PM

I have successfully built the GUI using FOX 1.6.
Thanks a lot. I dont know why their documentation is outdated.
Now I get one more problem.
The commands sumo,netgen are working but not sumo-gui.
When I try
>sumo-gui -c hello.sumo.cfg
i get error
sumo-gui command not found :(
But I found that ./sumo-gui is working (when used inside myinstallationpath/sumo/bin)
So there must be some minor mistake.
Please enlighten me.

knudfl 06-02-2010 04:22 PM

./sumo-gui -c docs/tutorial/hello/hello.sumo.cfg

.. works OK.

But if you do not install sumo to a system path,
it will of course be more difficult to use.

./configure && make && sudo make install
... will provide all commands in a known path
= /usr/local/bin/

.

vidhoon 06-03-2010 12:23 PM

Thank you so much! Its all done! :)

yashu 08-30-2011 10:48 AM

SUMO
 
hello,
am trying to install SUMO traffic simulator on ubuntu10.10, can any body tell me the steps to go ahead.

thank you in advance

knudfl 08-30-2011 12:39 PM

Post # 9, @ yashu : Welcome to LQ.

sudo apt-get install sumo libfox-1.6-dev
Sumo-0.13 is in the "berish repo"
http://download.opensuse.org/reposit...ome:/behrisch/


The usual method :
cd sumo-0.12.3/ && ./configure && make && sudo make install

Or : cd sumo-0.13.0/ && ./configure && make && sudo make install

..


All times are GMT -5. The time now is 04:10 AM.