Skip to content

error: unknown type name ‘uint32_t’ #2

@max-spam

Description

@max-spam

Hello, is this still active?

Just found it, tried to compile it.
The instructions are unclear,

if you donwload the ZIP, it doesn't include the evdi folder. That need to be downloades separatly and put into the evdi folder.

compiling exit with failure:

make
cc -Wall -g -c evdi-vnc.c -o evdi-vnc.o -Ievdi/library/
In file included from evdi-vnc.c:10:
evdi/library/evdi_lib.h:60:2: error: unknown type name ‘uint32_t’
60 | uint32_t width;
| ^~~~~~~~
evdi/library/evdi_lib.h:61:2: error: unknown type name ‘uint32_t’
61 | uint32_t height;
| ^~~~~~~~
evdi/library/evdi_lib.h:62:2: error: unknown type name ‘uint8_t’
62 | uint8_t enabled;
| ^~~~~~~
evdi/library/evdi_lib.h:63:2: error: unknown type name ‘uint32_t’
63 | uint32_t buffer_length;
| ^~~~~~~~
evdi/library/evdi_lib.h:64:2: error: unknown type name ‘uint32_t’
64 | uint32_t *buffer;
| ^~~~~~~~
evdi/library/evdi_lib.h:65:2: error: unknown type name ‘uint32_t’
65 | uint32_t pixel_format;
| ^~~~~~~~
evdi/library/evdi_lib.h:66:2: error: unknown type name ‘uint32_t’
66 | uint32_t stride;
| ^~~~~~~~
evdi/library/evdi_lib.h:75:2: error: unknown type name ‘uint16_t’
75 | uint16_t address;
| ^~~~~~~~
evdi/library/evdi_lib.h:76:2: error: unknown type name ‘uint16_t’
76 | uint16_t flags;
| ^~~~~~~~
evdi/library/evdi_lib.h:77:2: error: unknown type name ‘uint32_t’
77 | uint32_t buffer_length;
| ^~~~~~~~
evdi/library/evdi_lib.h:78:2: error: unknown type name ‘uint8_t’
78 | uint8_t *buffer;
| ^~~~~~~
evdi/library/evdi_lib.h:108:11: error: unknown type name ‘uint32_t’
108 | const uint32_t sku_area_limit);
| ^~~~~~~~
evdi/library/evdi_lib.h:119:9: error: unknown type name ‘uint32_t’
119 | const uint32_t buffer_length,
| ^~~~~~~~
evdi-vnc.c:11:10: fatal error: rfb/rfb.h: Datei oder Verzeichnis nicht gefunden
11 | #include <rfb/rfb.h>
| ^~~~~~~~~~~
compilation terminated.
make: *** [Makefile:7: evdi-vnc.o] Fehler 1

evdi-vnc is a non inclusive name. would have called it virtual screen extension for android using evdi.

Also adding adb command:
adb reverse tcp:5900 tcp:5900

should increase the speed, as you can use USB connection.

and with the adb command "adb shell wm size"

theoretically mixing this should make possible to get ta plug an play solution.

ATM I use the following commands to get the screen extended to my android tablet.

adb reverse tcp:5900 tcp:5900
xrandr --newmode "1920x1080_60.00" 193.16 1920 2048 2256 2592 1200 1201 1204 1242 -HSync +Vsync
xrandr --addmode HDMI-A-0 1920x1080_60.00
xrandr --output HDMI-A-0 --mode 1920x1080_60.00 --right-of DVI
x11vnc -rfbauth ~/.vnc/passwd -clip 1920x1080+1920+0

But this takes away the monitor connection and I would extend the screen even more, I thought about evdi, can't get it running yet.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions