Compilation issue

63 views
Skip to first unread message

aurelie...@gmail.com

unread,
Jun 9, 2017, 1:35:57 PM6/9/17
to libdrc users
Hello

I have a compilation issue with libdrc.
this command : PKG_CONFIG_PATH=$PATCHED_X264_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH ./configure

give this error :
test.cpp:6:5: error: ‘x264_param_t {aka struct x264_param_t}’ has no member named ‘b_drh_mode’

I notice it has some warning during  drc-x264 compilation... any idea ?
Thanks

OS : ubuntu 16.04

thefloppydriver

unread,
Feb 21, 2022, 3:01:00 PM2/21/22
to libdrc users
It's an issue with drc-x264 not being installed in the right place. You'll want to install drc-x264 with this command:   cd drc-x264; /configure --prefix=/usr/local --enable-static; sudo make install


I'm currently developing a fork of libdrc and a project to make use of it. It's called pc2drc, you can clone it here: https://github.com/thefloppydriver/pc2drc

pc2drc:
  1) Downloads, extracts, patches, installs the patched 5.11.22 linux kernel, then reconfigures grub and links the default "Ubuntu" option to the patched 5.11.22,

  2) Downloads and installs all dependencies, including drc-x264, drc-hostap, libdrc, drcvncclient, libvncserver, and openssl 1.0.1u which it builds and installs locally to the project folder which keeps it from conflicting with newer versions,

  3) Pairs with the WiiU and WiiU gamepad automatically and configures wpa_supplicant and hostapd accordingly, using a linear python script to go back and forth with the user, asking them to choose a wireless interface, turn on the WiiU, enter the symbol code shown on the WiiU during pairing, excepting errors and giving solutions to the user, etc,

  4) Starts a VNC server with a gnome-desktop, sets the desktop size to the gamepad's native resolution (854x480), starts wpa_supplicant and hostapd, instructs user when to power gamepad on, netboots gamepad, starts drcvncclient, and then sets up a uinput feeder that allows other linux apps to recognize the gamepad as a controller,  with no user input besides choosing a wireless interface at the beginning of the script.

  5) Creates a startup script that does step 4 that the user can run anytime.

pc2drc doesn't need the user to do anything besides run the scripts. The best part, it works without a hitch on a clean install of Ubuntu 20.04 LTS, but doesn't require a clean install.
Any contributions are welcome. 
Reply all
Reply to author
Forward
0 new messages