-
Notifications
You must be signed in to change notification settings - Fork 466
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
Failed to build rviz from source due to SIP
version issue?
#1815
Comments
I'm not sure how you try to build rviz. In CI, everything works as expected. Hence, I assume, you are building rviz in the wrong way. Please describe in detail, which commands you execute. Maybe you missed to install all prerequisites?
|
Thanks for replying! This is what I've done:
My output from stdout and stderr when building: I use a conda environment and
|
The problem is you conda environment. You should not use ROS within conda environments except you are an absolute expert... |
Yes.. it was built correctly after I deactivated conda. Thanks! |
Hi, I was confused when I tried to build the RViz from source code.
The file
QtCore.toml
in the SIP folder for package PyQt5 module QtCore mentions the requirement version of sip build system.But the command line tool
sip
which is invoked when building, has definitely been removed inSIP v6
, as it's mot mentioned in the sip repository.sip - command_line_tools.rst
The relevant code is here:
https://github.com/ros-visualization/python_qt_binding/blob/e0f21d1cf19e9581406e83069fc462548c73647a/cmake/sip_configure.py#L146-L156
If I install the sip with version 4.19.25 and rebuild the RViz I got a
syntax error
from sip.Is it a problem about version compatibility or I did some steps wrong?
There's a relevant reference #1777
The text was updated successfully, but these errors were encountered: