Git Product home page Git Product logo

Comments (4)

zzeroo avatar zzeroo commented on June 25, 2024

Same error here. I'm running latest Debian Wheezy testing

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux testing (wheezy)
Release:        testing
Codename:       wheezy
$ uname -a
Linux x200-stm 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 GNU/Linux
$ LC_ALL=C make
make  all-recursive
make[1]: Entering directory `/home/smueller/Code/C++/FreeRDP-WebConnect/wsgate'
Making all in .
make[2]: Entering directory `/home/smueller/Code/C++/FreeRDP-WebConnect/wsgate'
  CXX    wsgate-RDP.o
RDP.cpp: In member function 'void wsgate::RDP::OnWsMessage(const string&)':
RDP.cpp:252:73: error: 'rdp_scancode_extended' was not declared in this scope
RDP.cpp:253:60: error: 'rdp_scancode_code' was not declared in this scope
RDP.cpp:341:77: error: 'rdp_scancode_extended' was not declared in this scope
RDP.cpp:342:64: error: 'rdp_scancode_code' was not declared in this scope
make[2]: *** [wsgate-RDP.o] Error 1
make[2]: Leaving directory `/home/smueller/Code/C++/FreeRDP-WebConnect/wsgate'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/smueller/Code/C++/FreeRDP-WebConnect/wsgate'
make: *** [all] Error 2

from freerdp-webconnect.

 avatar commented on June 25, 2024

I've found a way. It seams that is a case problème because those two "function" are prepocessor define's in freerdp libs.
So if you change the case of those four error to uppercase, ait work juste fine. Personnaly, i'm now dealing with a certificate problème but i'm working on it :-)

zzeroo [email protected] a écrit :

Same error here. I'm running latest Debian Wheezy testin

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux testing (wheezy)
Release: testing
Codename: wheezy

$ uname -a
Linux x200-stm 3.2.0-3-amd64 #1 SMP Mon Jul 23 02:45:17 UTC 2012 x86_64 GNU/Linux

$ LC_ALL=C make
make all-recursive
make[1]: Entering directory /home/smueller/Code/C++/FreeRDP-WebConnect/wsgate' Making all in . make[2]: Entering directory/home/smueller/Code/C++/FreeRDP-WebConnect/wsgate'
CXX wsgate-RDP.o
RDP.cpp: In member function 'void wsgate::RDP::OnWsMessage(const string&)':
RDP.cpp:252:73: error: 'rdp_scancode_extended' was not declared in this scope
RDP.cpp:253:60: error: 'rdp_scancode_code' was not declared in this scope
RDP.cpp:341:77: error: 'rdp_scancode_extended' was not declared in this scope
RDP.cpp:342:64: error: 'rdp_scancode_code' was not declared in this scope
make[2]: *** [wsgate-RDP.o] Error 1
make[2]: Leaving directory /home/smueller/Code/C++/FreeRDP-WebConnect/wsgate' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory/home/smueller/Code/C++/FreeRDP-WebConnect/wsgate'
make: *** [all] Error 2


Reply to this email directly or view it on GitHubhttps://github.com//issues/13#issuecomment-9170171.

from freerdp-webconnect.

zzeroo avatar zzeroo commented on June 25, 2024

Thanks for the hint.

diff --git a/wsgate/RDP.hpp b/wsgate/RDP.hpp
index 2330bed..8c6a526 100644
--- a/wsgate/RDP.hpp
+++ b/wsgate/RDP.hpp
@@ -20,6 +20,12 @@
 #ifndef _WSGATE_RDP_H_
 #define _WSGATE_RDP_H_

+/* ugly hack for issue: https://github.com/FreeRDP/FreeRDP-WebConnect/issues/13 */
+#define rdp_scancode_code RDP_SCANCODE_CODE
+#define rdp_scancode_extended RDP_SCANCODE_EXTENDED
+/* end ugly hack */
+
+
 #include <pthread.h>
 #include <map>
 #include <string>

from freerdp-webconnect.

alexpilotti avatar alexpilotti commented on June 25, 2024

The build process changed quite a bit since this issue was opened.

Please reopen this issue if you still experience compilation problems.

from freerdp-webconnect.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.