hlrs-vis / covise

Collaborative Visualization and Simulation Environment, OpenCOVER and OddLOT
http://www.hlrs.de/covise/
187 stars 87 forks source link

when I run the oddlot, it is always inform me that Could not load prototypes.odd #62

Closed TianTianHaoXinQing closed 4 years ago

TianTianHaoXinQing commented 4 years ago

`project/covise-master/linux64opt/bin$ ./oddlot

Starting... ODDlot: The OpenDRIVE Designer for Lanes, Objects and Tracks.

Loading file: /share/covise/prototypes/prototypes.odd Loading file failed: /share/covise/prototypes/prototypes.odd Loading file: /src/OpenCOVER/DrivingSim/oddlot/prototypes/prototypes.odd Loading file failed: /src/OpenCOVER/DrivingSim/oddlot/prototypes/prototypes.odd Loading file: prototypes/prototypes.odd Loading file failed: prototypes/prototypes.odd Could not load prototypes.odd `

uwewoessner commented 4 years ago

Hi Tian, All you need to do is set the environment variable ODDLOTDIR or COVISEDIR to where you checked out covise. Then it will find those files.

TianTianHaoXinQing commented 4 years ago

Hi Tian, All you need to do is set the environment variable ODDLOTDIR or COVISEDIR to where you checked out covise. Then it will find those up to now, I don`t know how to set the environment variable ODDLOTDIR or COVISEDIR to where I checked out covise, can you tell me how to do that , I will be very thankful to you!

uwewoessner commented 4 years ago

please replace the "..." with the absolute path to your project directory in the following line: export COVISEDIR=.../project/covise-master export PATH=$PATH:${COVISEDIR}/bin oddlot

this should work. you can add the two export lines to your .bashrc (or similar depending on your shell)

TianTianHaoXinQing commented 4 years ago

please replace the "..." with the absolute path to your project directory in the following line: export COVISEDIR=.../project/covise-master export PATH=$PATH:${COVISEDIR}/bin oddlot

this should work. you can add the two export lines to your .bashrc (or similar depending on your shell)

Thank you all the time my friend, I got it now with your advice, thank you very much.