Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Can't build with Stream Recorder enabled #1155

Open
spiwocoal opened this issue Sep 9, 2021 · 0 comments · May be fixed by #1158
Open

Can't build with Stream Recorder enabled #1155

spiwocoal opened this issue Sep 9, 2021 · 0 comments · May be fixed by #1158

Comments

@spiwocoal
Copy link

Version, Platform, and Hardware Bug Found:

  1. fd64c5d (HEAD -> master, tag: v0.2.1, origin/master, origin/HEAD) Update README.md
  2. Linux suse 5.13.0-1-default #1 SMP Fri Jul 2 05:54:32 UTC 2021 (aa40472) x86_64 x86_64 x86_64 GNU/Linux
    |__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/1p, 5000M
        |__ Port 1: Dev 7, If 0, Class=Vendor Specific Class, Driver=, 5000M
        |__ Port 1: Dev 7, If 1, Class=Vendor Specific Class, Driver=, 5000M
        |__ Port 1: Dev 7, If 2, Class=Audio, Driver=snd-usb-audio, 5000M
        |__ Port 1: Dev 7, If 3, Class=Audio, Driver=snd-usb-audio, 5000M
    |__ Port 3: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/9p, 480M
    |__ Port 1: Dev 22, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 1: Dev 22, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 2: Dev 28, If 0, Class=Hub, Driver=hub/1p, 480M
    |__ Port 3: Dev 21, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 3: Dev 23, If 0, Class=Hub, Driver=hub/5p, 480M
            |__ Port 2: Dev 24, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 2: Dev 24, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 26, If 1, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 3: Dev 26, If 4, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 3: Dev 26, If 2, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 3: Dev 26, If 0, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 3: Dev 26, If 5, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 26, If 3, Class=Audio, Driver=snd-usb-audio, 12M
            |__ Port 5: Dev 25, If 0, Class=, Driver=, 480M
    |__ Port 4: Dev 20, If 0, Class=Communications, Driver=cdc_mbim, 480M
    |__ Port 4: Dev 20, If 3, Class=CDC Data, Driver=cdc_acm, 480M
    |__ Port 4: Dev 20, If 1, Class=CDC Data, Driver=cdc_mbim, 480M
    |__ Port 4: Dev 20, If 2, Class=Communications, Driver=cdc_acm, 480M
    |__ Port 7: Dev 3, If 1, Class=Wireless, Driver=btusb, 12M
    |__ Port 7: Dev 3, If 0, Class=Wireless, Driver=btusb, 12M
    |__ Port 8: Dev 4, If 0, Class=Video, Driver=uvcvideo, 480M
    |__ Port 8: Dev 4, If 1, Class=Video, Driver=uvcvideo, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/3p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/8p, 480M
        |__ Port 5: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
00:00.0 Host bridge [0600]: Intel Corporation Haswell-ULT DRAM Controller [8086:0a04] (rev 0b)
00:02.0 VGA compatible controller [0300]: Intel Corporation Haswell-ULT Integrated Graphics Controller [8086:0a16] (rev 0b)
00:03.0 Audio device [0403]: Intel Corporation Haswell-ULT HD Audio Controller [8086:0a0c] (rev 0b)
00:14.0 USB controller [0c03]: Intel Corporation 8 Series USB xHCI HC [8086:9c31] (rev 04)
00:16.0 Communication controller [0780]: Intel Corporation 8 Series HECI #0 [8086:9c3a] (rev 04)
00:16.3 Serial controller [0700]: Intel Corporation 8 Series HECI KT [8086:9c3d] (rev 04)
00:19.0 Ethernet controller [0200]: Intel Corporation Ethernet Connection I218-LM [8086:155a] (rev 04)
00:1b.0 Audio device [0403]: Intel Corporation 8 Series HD Audio Controller [8086:9c20] (rev 04)
00:1c.0 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 6 [8086:9c1a] (rev e4)
00:1c.1 PCI bridge [0604]: Intel Corporation 8 Series PCI Express Root Port 3 [8086:9c14] (rev e4)
00:1d.0 USB controller [0c03]: Intel Corporation 8 Series USB EHCI #1 [8086:9c26] (rev 04)
00:1f.0 ISA bridge [0601]: Intel Corporation 8 Series LPC Controller [8086:9c43] (rev 04)
00:1f.2 SATA controller [0106]: Intel Corporation 8 Series SATA Controller 1 [AHCI mode] [8086:9c03] (rev 04)
00:1f.3 SMBus [0c05]: Intel Corporation 8 Series SMBus Controller [8086:9c22] (rev 04)
02:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5227 PCI Express Card Reader [10ec:5227] (rev 01)
03:00.0 Network controller [0280]: Intel Corporation Wireless 7260 [8086:08b2] (rev 83)

Steps to Reproduce:

  1. cd libfreenect2
  2. mkdir build && cd build
  3. cmake .. -DBUILD_STREAMER_RECORDER=ON
  4. make

Actual Results:
Many lines saying error: ISO C++17 does not allow dynamic exception specifications.

Expected Results:
Build succeeding with no issues.

spiwocoal added a commit to spiwocoal/libfreenect2 that referenced this issue Sep 23, 2021
Streamer/Recorder toolbox was failing at build because since GCC 11, the
default C++ standard is C++17, which does not allow dynamic exception
specifications anymore. This was resolved by changing the C++ standard
used to build the ProtonectSR target to C++14, though I suppose the
ideal solution would be to simply not use dynamic exception
specifications anymore.

There was also the problem that the files `recorder.cpp` and
`streamer.cpp` referenced `CV_IMWRITE_JPEG_QUALITY` when, at least
according to what I could find, doesn't exist and should be
`cv::IMWRITE_JPEG_QUALITY`.

Resolves: OpenKinect#1155
@spiwocoal spiwocoal linked a pull request Sep 23, 2021 that will close this issue
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant