Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Additional ros packages #37

Open
wants to merge 303 commits into
base: nixos-unstable
Choose a base branch
from
Open

WIP: Additional ros packages #37

wants to merge 303 commits into from

Conversation

nschoe
Copy link

@nschoe nschoe commented Jun 5, 2019

Added some ROS packages
This is a WIP: I still have an issue with rviz because it complains:

CMake Error at CMakeLists.txt:22 (find_package):
  By not providing "Findurdfdom_headers.cmake" in CMAKE_MODULE_PATH this
  project has asked CMake to find a package configuration file provided by
  "urdfdom_headers", but CMake did not find one.

  Could not find a package configuration file provided by "urdfdom_headers"
  with any of the following names:

    urdfdom_headersConfig.cmake
    urdfdom_headers-config.cmake

  Add the installation prefix of "urdfdom_headers" to CMAKE_PREFIX_PATH or
  set "urdfdom_headers_DIR" to a directory containing one of the above files.
  If "urdfdom_headers" provides a separate development package or SDK, be
  sure it has been installed.

I am not sure how to solve this :/

@nschoe
Copy link
Author

nschoe commented Jun 5, 2019

Okay I solved the urdfdom_headersConfig.cmake.

Now I'm having the following issue with rviz:

-- Found PythonInterp: /nix/store/fqbrwq2gvv97lb0albmfb2x212azzp46-python3-3.7.3/bin/python (found suitable version "3.7.3", minimum required is "3.7")
CMake Warning at /nix/store/17agr5cl90bwmds6a8x6z5yiwa962v0y-python_qt_binding-0.3.5/share/python_qt_binding/cmake/sip_helper.cmake:18 (message):
  SIP binding generator NOT available.
Call Stack (most recent call first):
  src/python_bindings/sip/CMakeLists.txt:42 (include)


-- Python binding generators:
CMake Error at src/python_bindings/CMakeLists.txt:9 (message):
  No Python binding generator found.

So if anyone has a clue...

@nschoe
Copy link
Author

nschoe commented Jun 5, 2019

Okay so I have solved this. Now I'm facing this error:

Scanning dependencies of target executable_autogen
Scanning dependencies of target rviz_default_plugin_autogen
[ 57%] Automatic MOC for target executable
[ 58%] Automatic MOC for target rviz_default_plugin
[ 58%] Built target executable_autogen
Scanning dependencies of target librviz_sip
[ 58%] Running SIP generator for rviz_sip Python bindings...
sip: Unable to find file "QtCore/QtCoremod.sip"
Traceback (most recent call last):
  File "/nix/store/17agr5cl90bwmds6a8x6z5yiwa962v0y-python_qt_binding-0.3.5/share/python_qt_binding/cmake/sip_configure.py", line 85, in <module>
    subprocess.check_call(cmd)
  File "/nix/store/qr513w132rl57yrwxm67frdn74cikmbz-python-2.7.16-env/lib/python2.7/subprocess.py", line 190, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/gml8r0kfyrm452l001z11c3yk39zyh8c-python2.7-sip-4.19.13/bin/sip', '-c', '/tmp/nix-build-rviz-1.13.3.drv-0/source/build/devel/bin/sip/rviz_sip', '-b', '/tmp/nix-build-rviz-1.13.3.drv-0/source/build/devel/bin/sip/rviz_sip/pyqtscripting.sbf', '-I', '/nix/store/dq7zwi5phgbdlr19l2iy3bbffhvgnilj-python-2.7.16/share/sip/PyQt5', '-w', '-n', 'PyQt5.sip', '-x', 'VendorID', '-t', 'WS_X11', '-t', 'Qt_5_12_0', '-x', 'Py_v3', 'rviz.sip']' returned non-zero exit status 1
make[2]: *** [src/python_bindings/sip/CMakeFiles/librviz_sip.dir/build.make:95: devel/bin/sip/rviz_sip/Makefile] Error 1
make[1]: *** [CMakeFiles/Makefile2:1434: src/python_bindings/sip/CMakeFiles/librviz_sip.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 58%] Built target rviz_default_plugin_autogen
make: *** [Makefile:130: all] Error 2
builder for '/nix/store/3yy9fiv0dsjvfsz31pmwkp8lan8ljxbq-rviz-1.13.3.drv' failed with exit code 2
error: build of '/nix/store/3yy9fiv0dsjvfsz31pmwkp8lan8ljxbq-rviz-1.13.3.drv' failed

I don't know much about QtCore/QtCoremod.sip ...

@akru
Copy link
Member

akru commented Jun 6, 2019

Could you rebase your branch with current nixos-unstable branch. It makes review much easy.

The error looks like qt modules isn't in path.

@nschoe
Copy link
Author

nschoe commented Jun 10, 2019

Thanks for answering @akru . I don't understand how it says I'm ahead of nixos-unstable, I started from your nixos-unstable branch, I have no remote set to the original nixpkgs...

For the qt modules not being in path, do you have any clue as how to solve it? I included qt5Full as a dependency, as well as sip and pyqt5 from pythonPackages.

I don't know what I should do more to get those in path :/

@akru
Copy link
Member

akru commented Jun 12, 2019

I’ve rebase our nixos-branch few days ago ant it looks like you have old locally.

Hm, I can review you updates in next week.

@akru akru force-pushed the nixos-unstable branch from e153f9d to 5e7a49e Compare April 2, 2020 14:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants