Commit 342f4a0116b6fc91b98c1453f668ad22c15735c2

Authored by 신재종
1 parent 8d728d0653
Exists in master

linking with libvncserver

@@ -6,7 +6,7 @@ CROSS_FREFIX = $(CC_PATH)/aarch64-poky-linux- @@ -6,7 +6,7 @@ CROSS_FREFIX = $(CC_PATH)/aarch64-poky-linux-
6 GCC = $(CROSS_FREFIX)gcc 6 GCC = $(CROSS_FREFIX)gcc
7 7
8 CFLAGS=-mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security 8 CFLAGS=-mcpu=cortex-a53 -march=armv8-a+crc+crypto -fstack-protector-strong -O2 -D_FORTIFY_SOURCE=2 -Wformat -Wformat-security -Werror=format-security
9 -LDFLAGS=-lpthread -lm 9 +LDFLAGS=-lpthread -lm -L. -lvncserver
10 INC=-I./protocol -I./shared -I./ 10 INC=-I./protocol -I./shared -I./
11 11
12 CFLAGS+=`pkg-config --cflags pixman-1` 12 CFLAGS+=`pkg-config --cflags pixman-1`
@@ -0,0 +1,18 @@ @@ -0,0 +1,18 @@
  1 +* HOW TO BUILD
  2 +
  3 +step 1. apply build path using
  4 +>> source env.sh
  5 +
  6 +step 2. build libvncserver
  7 +>> cd ext_dep/libvncserver
  8 +>> mkdir build
  9 +>> cd build
  10 +>> cmake ..
  11 +>> cmake --build .
  12 +
  13 +step 3. copy libvncserver library to root
  14 +>> cd ext_dep/libvncserver/build
  15 +>> cp -a libvncserver* ../../..
  16 +
  17 +step 4. bulid project with make
  18 +>> make clean; make
libvncserver.so
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +libvncserver.so.1
0 \ No newline at end of file 2 \ No newline at end of file
libvncserver.so.0.9.13
No preview for this file type
libvncserver.so.1
@@ -0,0 +1 @@ @@ -0,0 +1 @@
  1 +libvncserver.so.0.9.13
0 \ No newline at end of file 2 \ No newline at end of file
weston-vncserver
No preview for this file type