<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <div class="moz-cite-prefix">You need to have a cross-build of
      openssl or gnutls to be able to build libnice.<br>
      <br>
      I assume that the 'pkg-config --version openssl' is only showing
      you the system versions which would be built for linux, not mingw.<br>
      <br>
      On 20/7/20 12:16 am, Ben Rush wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CANV0r959M_ZWfWj=mpBf7PnJfV8rhc23=-TAm7c1MUmVZ4fVBw@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">In particular, I'm having trouble getting the
            webrtc library to build, and it appears as though -- if I
            track it back far enough -- the issue is with libnice. The
            meson build output results in the output at the end of this
            email (I'll defer posting it now to make the email reading
            easier). <br>
            <br>
            According to the error, the problem is that pkg-config is
            unable to find openssl. But running this at the command
            prompt (after attaching to the container), results in what
            appears to be a positive for finding openssl: <br>
            <br>
            <div dir="ltr">root@b5f46e708137:/gst-build# pkg-config
              --version openssl</div>
            <div dir="ltr">0.29.1</div>
            <div dir="ltr"><br>
            </div>
            <div>Ultimately I'm curious if someone has been able to
              build webrtc and the like cross compiled for Windows from
              Ubuntu, etc. I'd love to have a nice, dockerized system
              for building for Windows but after about day of fighting,
              I've yet to get it to work completely. </div>
            <div><br>
            </div>
            <div>Here is the output: </div>
            <br>
            <div>|Executing subproject libnice method meson</div>
            <div>|</div>
            <div>|Project name: libnice</div>
            <div>|Project version: 0.1.17.1</div>
            <div>|C compiler for the build machine: cc (gcc 7.5.0 "cc
              (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0")</div>
            <div>|C linker for the build machine: cc ld.bfd 2.30</div>
            <div>|C compiler for the host machine:
              x86_64-w64-mingw32-gcc (gcc 7.3.0 "x86_64-w64-mingw32-gcc
              (GCC) 7.3-win32 20180312")</div>
            <div>|C linker for the host machine: x86_64-w64-mingw32-gcc
              ld.bfd 2.30</div>
            <div>|Library iphlpapi found: YES</div>
            <div>|Library ws2_32 found: YES</div>
            <div>|Checking for function "clock_gettime" : NO (cached)</div>
            <div>|Library rt found: NO</div>
            <div>|Checking for function "clock_gettime" with dependency
              -lrt: NO (cached)</div>
            <div>|Has header "arpa/inet.h" : NO (cached)</div>
            <div>|Has header "net/in.h" : NO</div>
            <div>|Has header "netdb.h" : NO (cached)</div>
            <div>|Has header "ifaddrs.h" : NO</div>
            <div>|Has header "unistd.h" : YES (cached)</div>
            <div>|Checking for function "poll" : NO (cached)</div>
            <div>|Checking for function "getifaddrs" : NO</div>
            <div>|Compiler for C supports arguments
              -fno-strict-aliasing: YES</div>
            <div>|Message: warning level: 1</div>
            <div>|Message: werror enabled: false</div>
            <div>|Dependency gio-2.0 found: YES 2.62.6 (cached)</div>
            <div>|Dependency (anonymous) from subproject
              subprojects/glib found: YES 2.62.6</div>
            <div>|Dependency (anonymous) from subproject
              subprojects/glib found: YES 2.62.6</div>
            <div>|Dependency (anonymous) from subproject
              subprojects/glib found: YES 2.62.6</div>
            <div>|Dependency gthread-2.0 from subproject
              subprojects/glib found: YES 2.62.6</div>
            <div>|Message: Crypto library requested: auto</div>
            <div>|Run-time dependency gnutls found: NO (tried pkgconfig
              and cmake)</div>
            <div>|Run-time dependency openssl found: NO (tried pkgconfig
              and cmake)</div>
            <div>|Looking for a fallback subproject for the dependency
              openssl</div>
            <div>|Subproject directory not found and openssl.wrap file
              not found</div>
            <div>|Subproject  subprojects/openssl is buildable: NO
              (disabling)</div>
            <div>|Dependency openssl from subproject subprojects/openssl
              found: NO</div>
            <div>|Library crypto found: NO</div>
            <div>|Library eay32 found: NO</div>
            <div>|</div>
            <div>|subprojects/libnice/meson.build:249:4: Exception:
              Problem encountered: Either GnuTLS or OpenSSL is required
              as crypto library, but neither was found</div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
gstreamer-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>
<a class="moz-txt-link-freetext" href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>