31 Mar 2023 |
| skyelaera joined the room. | 01:40:26 |
| Yutonobutoshi joined the room. | 01:52:08 |
| balkaptan joined the room. | 18:29:04 |
| panzerschreck joined the room. | 19:51:08 |
| wermos joined the room. | 21:43:55 |
1 Apr 2023 |
Miterosan | Sadly libuvc does not build on windows due to usage of 'sys/time.h'
What would be the path forward? Forking, eating for upstream merge, using an hacky mixin | 02:56:22 |
Miterosan | * Sadly libuvc does not build on windows due to usage of 'sys/time.h'
What would be the path forward? Forking, waiting for upstream merge, using an hacky mixin | 02:56:55 |
moshi | What's libuvc? What are you planning on using it for? | 02:57:24 |
moshi | Oh it's for camera probing. Yeah you probably shouldn't need it - what are you trying to do? | 02:58:29 |
Miterosan | Looking into windows support for hmd like rifts | 03:00:05 |
moshi | Oh gotcha | 03:00:14 |
moshi | Hmm well libuvc claims to be cross platform https://github.com/libuvc/libuvc | 03:00:36 |
moshi | I feel like sys/time.h should be available on windows? maybe only mingw? | 03:00:46 |
moshi | hmm
Tested on Mac and Linux, portable to Windows and some BSDs
"portable to Windows" ... wonder what the heck that means | 03:01:21 |
moshi | (from https://libuvc.github.io/libuvc/) | 03:01:26 |
Miterosan | Uhh that would be unpracticable to be forced to use mingw | 03:01:45 |
moshi | Yeah most definitely | 03:02:00 |
moshi | Monado RiftS on windows is fairly terra ignota so I'd be pretty inclined to explore options :) | 03:02:41 |
Miterosan | The cmake script does not automatically include required windows library libusb. So no. | 03:04:39 |
Miterosan | * The cmake script does not automatically include required library libusb on windows. So no. | 03:04:59 |
Miterosan | To get back to this:
What should be the path forward in a situation like this? | 03:06:11 |
Miterosan | https://github.com/libuvc/libuvc/issues/136 | 03:08:02 |
Miterosan | (this thread makes it clear that quite a lot of changes are required to get windows supported) | 03:20:21 |
| ana_holmes_adler joined the room. | 04:25:53 |
| RyanC joined the room. | 07:02:22 |
| thaytan#5292 joined the room. | 09:33:28 |
thaytan#5292 | On Windows, you would not use libuvc to access the cameras | 09:33:28 |
thaytan#5292 | The camera feed can be accessed as a standard windows camera using the SENSOR flag | 09:34:01 |
thaytan#5292 | For CV1, I'd stick with the raw libusb code and remove any unixisms. That does the necessary UVC pieces already (libuvc wouldn't add anything useful), and because it's so low-level it has a hook for the first packet of each new frame, to help with correlating to the HMD IMU stream | 09:36:08 |
| fmost joined the room. | 13:21:30 |