by [Guan Erjiage] - Saturday, 9 November 2019, 9:13 PM
I am going through the README file in the commonroad-collision-checker and up to the “cmake -DADD_PYTHON_BINDINGS=TRUE -DPATH_TO_PYTHON_ENVIRONMENT=”/path/to/your/anaconda3/envs/commonroad-py37" -DPYTHON_VERSION=“3.7” -DCMAKE_BUILD_TYPE=Release …" step, everything is fine.
After I run this, the error "
– EIGEN3_INCLUDE_DIR-NOTFOUND
CMake Error at third_party/pybind11/tools/FindPythonLibsNew.cmake:95 (message):
But I already installed the eigen lib through sudo apt-get install libeigen3-dev and I have checked, it is under my /usr/include/. I have no idea what’s going wrong.
You should change “/path/to/your/anaconda3/envs/commonroad-py37” to the path of your anaconda environment, but I’m not sure that that is going to fix the error you are having at the moment.
You might want to use the dockerfile I created for automating the setup: https://github.com/tom-doerr/commonroad-docker
Even if you decide, for whatever reason, that you want to set it up manually, the installation commands in commonroad_search.dockerfile might help you figure out how to make it work.
I have got exactly same problem and I did replaced “/path/to/your/anaconda3/envs/commonroad-py37” with the path of my anaconda environment. I don’t really understand what the problem is. Does that mean my Python version doesn’t match with its requirements?
I think it means it cannot find the Eigen, which is a libary of c, but it should be installed through the command “sudo apt-get install eigen3-dev”. I have checked that this lib exist, but still I don’t get why it cannot be found.
If you find a solution, please notify me. Before that I will try the docker staff.
– Configuring incomplete, errors occurred!
See also “/home/riemannlee/Class_AI/commonroad-search-master/GSMP/tools/commonroad-collision-checker/build/CMakeFiles/CMakeOutput.log”.
Thanks for the help! But it seems that nothing has been updated after I runed the command. I guess the problem is in the version of my Python Interpreter and library:
– Found PythonInterp: ~/anaconda3/envs/commonroad-py37/bin/python3.7m (found version “1.4”)
CMake Error at third_party/pybind11/tools/FindPythonLibsNew.cmake:95 (message):
Python config failure:
– Configuring incomplete, errors occurred!
See also “/home/kejia/KI/CommonRoad/commonroad-search/GSMP/tools/commonroad-collision-checker/build/CMakeFiles/CMakeOutput.log”.
It works after I changed the path from “~/anaconda3/envs/commonroad-py37” to “/home/kejia/anaconda3/envs/commonroad-py37”. Now this commond is done without any error.
Hi, i get an alike error as above when calling cmake -DADD_PYTHON_BINDINGS=TRUE -DPATH_TO_PYTHON_ENVIRONMENT="/Users/iuliiaskobleva/anaconda3/envs/commonroad-py37" -DPYTHON_VERSION="3.7" -DCMAKE_BUILD_TYPE=Release .. namely:
Before that, I used the docker file but got errors so I git cloned the common-road-collision and proceeded with the installations.
All of the steps, I have performed in the ‘commonroad-py37’ environment (like ```
sudo docker run -it -p 9000:8888 --mount src="$(pwd)",target=/commonroad-search,type=bind tomdoerr/commonroad-search
I have cloned the libccd and fcl repositories in to *commonroad-collision-checker*-folder and installed everything there.
What I am doing wrong? Why do I get this error?
Hi, you don’t need to put the libccd and fcl libraris under collision checker. Have you ‘sudo make install’ after compiling these libraries? It seems that the libraries are not added to your environment.
inflating: Archive/CommonRoadVM.vbox
inflating: Archive/CommonRoadVM.vbox-prev
creating: Archive/Logs/
inflating: Archive/Logs/VBox.log
(base) r082163:~ iuliiaskobleva$
(base) r082163:~ iuliiaskobleva$ cd commonroad
-bash: cd: commonroad: No such file or directory
(base) r082163:~ iuliiaskobleva$ cd home
-bash: cd: home: No such file or directory
(base) r082163:~ iuliiaskobleva$ cd CommonRoadVM
-bash: cd: CommonRoadVM: No such file or directory
(base) r082163:~ iuliiaskobleva$ cd archive
(base) r082163:archive iuliiaskobleva$ ls
CommonRoadVM.vbox CommonRoadVM.vdi
CommonRoadVM.vbox-prev Logs
And I cannot go to home/commonroad/repos/commonroad-search.
yup, that makes sense:)) but can you tell what do I do next? Do I import the CommonRoadVM.vbox into the Oracle VM? what do I do with the other 3 files? Does it matter what folder they are in?
I know these are really really dumb questions, I’m sorry
After installing Virtual Box, you can simply double click on CommonRoadVM.vbox. Depending on your OS and settings, you might face some error message which requires you to change some settings in your system. That part should be easily manageable by googling the error message. After that, you can open a terminal by command ctrl + alt + t and type in “jupyter notebook” to start the notebook service. In the prompt up page, you should then navigate to the tutorial notebooks and run those codes.
ok, it works now! thank you so so much
the only thing is is that it is quite slow (not just the codes, but even scrolling in the notebooks).
Is it supposed to be like that? Is there a way to make it work faster?
Hi iuliaa, please check out this slide to see if your system can run Docker, typically it is faster than the virtual machine.
If not, you can try increasing the number of CPU cores, ram and video ram of the virtual machine image in the setting panel within Virtual Box.