Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Compile with libsumo option

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



Back to the top