Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Compile with libsumo option
  • From: Michael Behrisch <oss@xxxxxxxxxxx>
  • Date: Wed, 12 Dec 2018 21:16:11 +0100
  • Autocrypt: addr=oss@xxxxxxxxxxx; prefer-encrypt=mutual; keydata= xsDiBFLSvucRBACGsasS4GeIWs1CFNTOYmp3ScQ2ZTJLJWQxhPliwtHTzLsErYu9Y7e8qDov iHFviYyaNuceUNoACm1e4MT4eu0DmM2Wk3y/jjD6hfm7L0EZNPxQhj+CJf2oZAm2ezCe7/si xZ2d7TCO8yWavOGbF0EVi/ZDIJqVgupu6WBpv/NCewCg65HQiS1wm+1w1MdFYxKCmXzbv08D /iWXX3tzabbCrLlUum8hBgBpJEHRtlic2uaGsKm8Fize4tfLZkTBbTYLYXfcx2Oq9+lINPTW h9jnbCjAjErRWLTjNTQjel0JnDryCnqabub/R3wScR/EHRDBeS9L6YRj0xdVd2qIaArtSYRR auKPNc4M2qZNEFSM37cXC7avhpdeA/99oJf4qyVly4RxHmekAmj9UJjRx17x9xX8t9uzUuSt AeTh+kQ3o5jK7veU6/F/+pPyi96EOzym9BJA8pgXC8hLWNjOajI10filkdQ26QsfHOpUdPSZ 4Duyw9Ayj8loagEnnAONmU/xE0QlyVBANIut0W+SNqPScYXfnBbVOaG3Hc0mTWljaGFlbCBC ZWhyaXNjaCA8bWljaGFlbEBiZWhyaXNjaC5kZT7CZgQTEQIAJgIbIwcLCQgHAwIBBhUIAgkK CwQWAgMBAh4BAheABQJS0sKXAhkBAAoJEDwQ/pbRcKYp+SEAoMJSvUzfk3u6EA1nMlMVSk85 nHhoAJ0VE5xLi2ni8j9wdx+uga7XGLtjhs7ATQRS0r7nEAQAkQLdzlu3i/Ddziadm2c/60ZX bcY3FYhHHfsKUHC/QING+lu3uHG0nPaElPTAHTr8UdFMbmpXkRs9+1v1RAvHBWW95BbUXZeu oBsoCm+4Jdktu+PeVxGKhOwQRdR30A4y/bIeRn7iMzkZKoQh0lE3ZEbs0T8TUHBGBUqwEhIv Y0MAAwUD/RXrkwtUiR61/bT96eMaxGtO15AqvlM8DYQ3Xs6EH09QlGzr/i0+usi01wGoh13p YGjzEDtTqO+lNs9AtS7nZAHA3cCWzLmdEXw6EY7IH4X7zOpKoj+JtLNjUd2Nzvhyl48LT217 g8GmCACL6Wo/G+fZ+30Mny+gWbDtEGXNIv7fwkkEGBECAAkFAlLSvucCGwwACgkQPBD+ltFw pimNZQCgnN5oibnjl7r2SVle6hgUMcckfN4AoMYRjy/Tqz9tq8TSUqNcOTjlMR7D
  • Delivered-to: sumo-user@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/sumo-user>
  • List-help: <mailto:sumo-user-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/sumo-user>, <mailto:sumo-user-request@eclipse.org?subject=unsubscribe>
  • Openpgp: preference=signencrypt
  • User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0

Hi Mirko,
great that you made it. You are right the wiki example was plainly wrong
(or rather outdated to the point of being unusable ;-). I fixed that.

Thanks for reporting and best regards,
Michael

Am 12.12.18 um 10:29 schrieb m.barthauer@xxxxxxxxxxx:
> Hi Michael,
> 
> just wanted to say I finally made it. There was probably something more
> than just the cache. Still I'm not sure which step was the important
> one, as I changed between Python versions, added env vars to Python
> subdirectories and so on. Now I use Python 3.7.1.
> 
> One thing though: Are you sure about the example script in the wiki
> http://sumo.dlr.de/wiki/Libsumo ? For me, it works if I write the following:
> 
>  
> 
> /import libsumo/
> /libsumo.simulation.load(["-c", "test.sumocfg"])/
> /libsumo.simulation.step()/
> 
> Regards
> 
> Mirko
> 
> -----Original-Nachricht-----
> Betreff: Re: [sumo-user] Compile with libsumo option
> Datum: 2018-12-09T16:34:27+0100
> Von: "Michael Behrisch" <oss@xxxxxxxxxxx>
> An: "sumo-user@xxxxxxxxxxx" <sumo-user@xxxxxxxxxxx>
> 
> Hi Mirko,
> please try again with a clean build (remove the cache or even better try
> with an empty build dir) whenever you change the CHECK_OPTIONAL_LIBS
> value. Also it is currently tested with Python 3.6 only. (I know we
> still recommend 2.7 but I hope that is going to change soon.)
> 
> Best regards,
> Michael
> 
> Am 07.12.18 um 21:05 schrieb m.barthauer@xxxxxxxxxxx:
>> Hello,
>> 
>>  
>> 
>> I have some questions on how to use libsumo
>> (http://sumo.dlr.de/wiki/Libsumo). Have been trying very hard to get
>> this working on Windows this afternoon but didnt't succeed...
>> 
>>  
>> 
>> My specs / approach:
>> 
>> * Python 2.7 is installed and listed in the PATH env. var
>> * Correct SUMO_LIBRARIES env var
>> * SWIG available as part of the downloaded SUMO_LIBRARIES package
>> * Execute CMake GUI and check "CHECK_OPTIONAL_LIBS" and
>> "ENABLE_PYTHON_BINDINGS"
>> 
>> This way, SWIG is not listed as enabled feature in the CMake log window.
>> In the CMakeLists.txt of the top folder
>> (https://github.com/eclipse/sumo/blob/master/CMakeLists.txt ),
>> "CHECK_OPTIONAL_LIBS" is disabled anyway for a couple of reasons. Later,
>> "CHECK_OPTIONAL_LIBS" is needed to add SWIG. Under which specific
>> conditions can I make use of SWIG and use libsumo (which version of
>> Python, 32bit/64bit etc.)? I tried to comment out some parts of the
>> CMake commands, but didn't succeed to generate the libsumo.py.
>> 
>>  
>> 
>> Regards
>> 
>> Mirko
>> 
>> 
>> 
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@xxxxxxxxxxx
>> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
>> https://www.eclipse.org/mailman/listinfo/sumo-user
>> 
> 
> 
> 
> 
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
> 


Attachment: signature.asc
Description: OpenPGP digital signature


Back to the top