-
Notifications
You must be signed in to change notification settings - Fork 75
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
fatal error: 'pyside2_global.h' file not found #142
Comments
Did you solve this? I am having the same error. From what I have found so far, I can't add include paths through pikaur.. The file is located in /usr/include/PySide2 |
@jonatanolofsson, @jendrikw I fixed it by uninstalling |
Grrr. I just ran into this myself and am confused. Should these packages be added to the makedepends? I had to manually install |
Back to unable to build. Without
With both installed, I get:
Despite:
I already have
|
Update: I can bypass this if I edit
My build then fails with not finding
|
@jwhendy You don't need The fact that you are not finding any required headers indicates that you haven't sourced the setup file under |
@jwhendy, I'm getting similar errors on Arch Linux while trying to build ROS2:
Looking at the last build's
Both Shiboken2 and PySide2 are installed, but it seems that the variables that are being checked have perhaps changed - similar to ros-visualization/python_qt_binding#69. When I run
.. I don't find anything similar to PYSIDE_LIBRARY etc. Instead, I find code like this in
So I guess we need to find some incantation similar to the change from @dirk-thomas, it's not clear to me how to switch from (I was meant to look more into the CMake stuff to see if I can find the answer, but accidentally hit the |
Something like this appears to fix the PySide global header import issue when building ROS2 on Arch Linux (I wouldn't treat this as "finished"):
References:
Now it fails for me with:
|
Notes on my setupAs stated in my previous comment, I'm trying to build ROS2 on Arch Linux, and ran into the problem described in this ticket. I've not tried to install/uninstall/reinstall any of the Issues
|
This will be addressed by #201 and the latest |
I'm trying to compile ros-melodic via the arch linux package on the AUR (https://aur.archlinux.org/packages/ros-melodic-qt-gui-cpp/), but I get the following error:
Any ideas? All other packages from melodic build fine.
The text was updated successfully, but these errors were encountered: