<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - weston (1.9.92-master): fails to build RDP compositor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94143">94143</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>weston (1.9.92-master): fails to build RDP compositor
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Wayland
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>weston
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>wayland-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>hector.oron@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>When enabling RDP compositor build:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I./src -I./src -I./clients
-I./tests -I./shared -I./protocol -DDATADIR=\"/usr/share\"
-DMODULEDIR=\"/usr/lib/i386-linux-gnu/weston\" -DLIBEXECDIR=\"/usr/lib/weston\"
-DBINDIR=\"/usr/bin\" -Wdate-time -D_FORTIFY_SOURCE=2 -I/usr/include/pixman-1
-I/usr/include/i386-linux-gnu -Wall -Wextra -Wno-unused-parameter
-Wno-missing-field-initializers -g -fvisibility=hidden -Wstrict-prototypes
-Wmissing-prototypes -Wsign-compare -g -O2 -fstack-protector-strong -Wformat
-Werror=format-security -c src/compositor-rdp.c  -fPIC -DPIC -o
src/.libs/rdp_backend_la-compositor-rdp.o
src/compositor-rdp.c: In function ‘rdp_peer_init’:
src/compositor-rdp.c:1151:10: error: ‘rdpSettings {aka struct rdp_settings}’
has no member named ‘SurfaceFrameMarkerEnabled’
  settings->SurfaceFrameMarkerEnabled = TRUE;
          ^
Makefile:4682: recipe for target 'src/rdp_backend_la-compositor-rdp.lo' failed
make[2]: *** [src/rdp_backend_la-compositor-rdp.lo] Error 1



SurfaceFrameMarkerEnabled does not seem to be a member of RDP settings struct.
Do you really mean SurfaceCommandsEnabled?

The following patch (which I am unsure if it is correct) fixes the issue:

--- a/src/compositor-rdp.c
+++ b/src/compositor-rdp.c
@@ -1148,7 +1148,7 @@ rdp_peer_init(freerdp_peer *client, struct rdp_backend
*b)
        settings->RemoteFxCodec = TRUE;
        settings->NSCodec = TRUE;
        settings->FrameMarkerCommandEnabled = TRUE;
-       settings->SurfaceFrameMarkerEnabled = TRUE;
+       settings->SurfaceCommandsEnabled = TRUE;

        client->Capabilities = xf_peer_capabilities;
        client->PostConnect = xf_peer_post_connect;</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>