Open nashford77 opened 3 years ago
It's not clear what system you're on, but on a debian derivative that file is provided by the libxfont-dev package:-
$ find /usr/include/ -name libxfont2.h
/usr/include/X11/fonts/libxfont2.h
$ dpkg -S /usr/include/X11/fonts/libxfont2.h
libxfont-dev: /usr/include/X11/fonts/libxfont2.h
So you'll need to install whatever provides that on your system.
I got it to work after this, it's osx, brew install has a package for the fonts. That said I now have a black screen when I RDP to this ... Wondering why in that
On Fri, Mar 26, 2021, 12:29 PM matt335672 @.***> wrote:
It's not clear what system you're on, but on a debian derivative that file is provided by the libxfont-dev package:-
$ find /usr/include/ -name libxfont2.h /usr/include/X11/fonts/libxfont2.h $ dpkg -S /usr/include/X11/fonts/libxfont2.h libxfont-dev: /usr/include/X11/fonts/libxfont2.h
So you'll need to install whatever provides that on your system.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/neutrinolabs/xorgxrdp/issues/187#issuecomment-808354596, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFSSJU4533E6INPOEDRYZ33TFSY63ANCNFSM4Z3UYERA .
That, I'm afraid, I can't help you with. OSX isn't one of our supported platforms. I didn't think the main desktop was written to run on X11 any more.
I got that problem too just now. What I did is that I directly modified the file /opt/X11/include/xorg/dixfontstr.h
. I changed the include statement into following:
#include "../X11/fonts/libxfont2.h"
and that worked for me. I successfully deployed the rdp server on macOS.
Check this page: https://github.com/neutrinolabs/xrdp/wiki/Building-on-OSX-(not-official)
I've just modified the troubleshooting part of wiki.
I've used this to fix this error on mac os big sur:
export CPPFLAGS="-I/usr/local/opt/openssl/include -I/opt/X11/include"
find another way to solve this pronlem: just copy the X11
folder into the xorg
folder and make
/Library/Developer/CommandLineTools/usr/bin/make all-recursive Making all in module CC rdpDraw.lo In file included from rdpDraw.c:44: /opt/X11/include/xorg/dixfontstr.h:30:10: fatal error: 'X11/fonts/libxfont2.h' file not found
include <X11/fonts/libxfont2.h>
1 error generated. make[3]: [rdpDraw.lo] Error 1 make[2]: [all-recursive] Error 1 make[1]: [all-recursive] Error 1 make: [all] Error 2 noel@Noels-Mac-Mini-M1 xorgxrdp %
Any Ideas?