Closed jaykim305 closed 2 years ago
I think there exists a deadlock here which causes the problem. https://github.com/marek-simonik/record3d/blob/7a3764ba0e516e7905dafe9f413dd8f13955f4ce/src/DemoMain.cpp#L71 If I put usleep(1)
before continue
, now the program works in a loop without freeze. But this is just a half-measure for now I guess.
Also, just a minor thing: perhaps unistd.h
instead of string.h
in https://github.com/marek-simonik/record3d/blob/7a3764ba0e516e7905dafe9f413dd8f13955f4ce/libs/unix/libusbmuxd/CMakeLists.txt#L12
Thank you for reporting this bug, I confirm that I can replicate it. It will be fixed in the upcoming version of this C++ library, which will be available with the release of Record3D 1.7.2 by the end of the next week.
Please update Record3D to version 1.7.2, update this library to version 1.3.1 and let me know if you still experience the issue with deadlock. Thanks.
Thank you! I will check out the latest version.
Hi, thank you for your awesome project.
I have the exact same issue as this but on Linux Ubuntu. I checked that the python demo-main.py works just fine on the same machine. But when I run the ./demo after a successful build, it just hangs and OpenCV display is not shown as supposed to. Below is the config result after I run
cmake -DCMAKE_BUILD_TYPE=Release
.Any ideas? p.s. I tried restarting the app and ios device (both Ipad and Iphone) but still no progress.