You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After digging around, I added the -pthread flag to the makefile like so:
# Also SDL 2.0, e.g. via MacPorts or Homebrew
CXXFLAGS += $(shell sdl2-config --cflags)
LIBS += $(shell sdl2-config --libs) -pthread
endif
Now it compiles fine. However, if I try to then run the example, I get the following error:
$ sudo ./ps3eye_sdl
Segmentation fault
I looked in the source code and it seems to be falling over writing to the sccb_reg, but I'm out of my depth here and don't really know what that is. Any help would be appreciated! Is there a fundamental reason why it won't work on linux?
PS. Both my PSEye cameras are definitely plugged in and recognized by the system (I can view them using vokoscreen for example). And if I unplug them, it will throw the No PS3 Eye camera connected
error.
The text was updated successfully, but these errors were encountered:
hi, I have resolved this issue, not sure how if it will break the windows so I'm not sure if I should create a PR. But please let me know if you still want the fix!
I know this is only officially supported on Mac and Windows. But I'm trying to get it to work on Ubuntu 18.04 and I'm running into this issue.
These are the steps I took after downloading the source code:
cd sdl
sudo make
I then got the following error:
After digging around, I added the -pthread flag to the makefile like so:
Now it compiles fine. However, if I try to then run the example, I get the following error:
I looked in the source code and it seems to be falling over writing to the sccb_reg, but I'm out of my depth here and don't really know what that is. Any help would be appreciated! Is there a fundamental reason why it won't work on linux?
PS. Both my PSEye cameras are definitely plugged in and recognized by the system (I can view them using vokoscreen for example). And if I unplug them, it will throw the No PS3 Eye camera connected
error.
The text was updated successfully, but these errors were encountered: