Error when compiling the CommonRoad Drivability Checker

Hi all,

I’m trying to compile the CommonRoad Drivability Checker with command: cmake -DADD_PYTHON_BINDINGS=TRUE -DPATH_TO_PYTHON_ENVIRONMENT="/home/yuanfei/anaconda3/envs/commonroad-py37" -DPYTHON_VERSION=“3.7” -DCMAKE_BUILD_TYPE=Release, but the following error occurs:

Thanks for your help and best,
Yuanfei

Hi Yuanfei,

does the full installation with installation script work?
https://commonroad.in.tum.de/docs/commonroad-drivability-checker/sphinx/installation.html#full-installation-with-installation-script

Best,
Sebastian

Hi Sebastian,

thanks!! It works now. But when I tried to run the tutorial, there occurs a new error:

ModuleNotFoundError: No module named 'commonroad_dc.pycrcc’

Actually, there is no folder named “pycrcc” in commonroad_dc. Did I miss something?
Screenshot from 2020-09-20 15-33-45

Thanks and best regards,
Yuanfei

Hi Yuanfei,

there should be a file with the ending *.so.
The file name should start with pycrcc.

Best,
Sebastian

Hi Yuanfei,

The new drivability checker also requires

git submodule init
git submodule update

to be run before the compilation.

https://commonroad.in.tum.de/docs/commonroad-drivability-checker/sphinx/installation.html#full-installation-with-anaconda

Could you possibly run those two commands and repeat the manual compilation steps from your first message? Thank you!

commonroad_dc.pycrcc could not be found because the automatic compilation with the build.sh script failed for some reason and the .so file was not created.

Dear Vitalii Rusinov and Sebastian Maierhofer,

thanks for the tipps! I run the git commands and follow the manual compilation steps. Now it works.:wink:

best regards,
Yuanfei