Closed RaulFdzbis closed 4 years ago
~…/kinematics-dynamics/bindings (develop)$ cmake .. -DCREATE_PYTHON=ON
Here, you are building the main C++ project, just as you would with the usual build/
directory structure from the kinematics-dynamics: Installation from Source Code step. You need to enter the bindings/
directory, create a build/
directory inside, and issue the cmake ..
command from within. You must have missed the mkdir build && cd build
steps in the install guide.
@PeterBowman +1
It's as documented at https://github.com/roboticslab-uc3m/kinematics-dynamics/blob/master/doc/kinematics-dynamics-install.md#install-bindings (perma)
Yep! That was it now it works, thank you very much!
The problem was due to that mkdir command not having the -p flag, and having already created the build folder some time in the past. When executing mkdir build && cd build
the mkdir crashed and cd build
was never performed. Maybe is a good idea to add the -p flag to the install instructions.
cd's are so old-school, what if:
src=~/repos/kinematics-dynamics/bindings
build=$src/build
mkdir -p $build
cmake -H $src -B $build -DCREATE_PYTHON=ON
make -C $build -j$(nproc) # compile
sudo make -C $build install
sudo ldconfig
hahahaha cd's are still cool.
That looks good, it take me a moment to understand what everything was, but at the end it's pretty straightforward, if you think is a better option im in :D
I don't know why, but looks like the python bindings are not being installed in my computer, am i doing something wrong?
Following the official installation guide the outputs I get are the followings:
and for make install:
I tried using the python module of kinematics-dynamics but it just give me the not found error.