First, I'm not a GO programmer/user but I think I finally have the GO environment & GOPATH etc setup right on my Ubuntu 15.10 system.
First, I built freerdp then I put webRDP into ~/webrdp.
Next, I edited the build.sh to point to the ~/FreeRDP directory
Finally I ran "build.sh" but it threw a bunch of errors that I'm not sure how to fix....
bmullan@ubuntu-vm:~/webrdp$ ./build.sh
/home/bmullan/webrdp
# _/home/bmullan/webrdp
In file included from $WORK//home/bmullan/webrdp/_obj/_cgo_export.c:2:0:
./rdp.go: In function ‘setFuncInClient’:
./rdp.go:51:33: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
instance->VerifyCertificate = web_verify_certificate;
^
# _/home/bmullan/webrdp
./rdp.go: In function ‘setFuncInClient’:
./rdp.go:51:33: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
instance->VerifyCertificate = web_verify_certificate;
^
# _/home/bmullan/webrdp
./rdp.go:193: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:210: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:216: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:222: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:228: cannot convert _Cconst_TRUE to type C.BOOL
./rdp.go:228: cannot convert _Cconst_TRUE (type int) to type C.BOOL
./rdp.go:228: cannot use C.BOOL(_Cconst_TRUE) (type int) as type C.BOOL in return argument
./rdp.go:240: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:310: cannot use _Cconst_TRUE (type int) as type C.BOOL in assignment
./rdp_bitmap.go:33: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp_bitmap.go:33: too many errors
bmullan@ubuntu-vm:~/webrdp$
First, I'm not a GO programmer/user but I think I finally have the GO environment & GOPATH etc setup right on my Ubuntu 15.10 system.
First, I built freerdp then I put webRDP into ~/webrdp.
Next, I edited the build.sh to point to the ~/FreeRDP directory
Finally I ran "build.sh" but it threw a bunch of errors that I'm not sure how to fix....
bmullan@ubuntu-vm:~/webrdp$ ./build.sh
/home/bmullan/webrdp
# _/home/bmullan/webrdpIn file included from $WORK//home/bmullan/webrdp/_obj/_cgo_export.c:2:0:
./rdp.go: In function ‘setFuncInClient’:
./rdp.go:51:33: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
instance->VerifyCertificate = web_verify_certificate;
^
# _/home/bmullan/webrdp./rdp.go: In function ‘setFuncInClient’:
./rdp.go:51:33: warning: assignment from incompatible pointer type [-Wincompatible-pointer-types]
instance->VerifyCertificate = web_verify_certificate;
^
# _/home/bmullan/webrdp./rdp.go:193: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:210: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:216: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:222: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:228: cannot convert _Cconst_TRUE to type C.BOOL
./rdp.go:228: cannot convert _Cconst_TRUE (type int) to type C.BOOL
./rdp.go:228: cannot use C.BOOL(_Cconst_TRUE) (type int) as type C.BOOL in return argument
./rdp.go:240: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp.go:310: cannot use _Cconst_TRUE (type int) as type C.BOOL in assignment
./rdp_bitmap.go:33: cannot use _Cconst_TRUE (type int) as type C.BOOL in return argument
./rdp_bitmap.go:33: too many errors
bmullan@ubuntu-vm:~/webrdp$