gstwebrtc-1.0.lib is a library that is part of GStreamer, which Servo relies upon for media playback. To my best knowledge, the build environment setup instructions have been enough to allow other people to build on Windows without encountering this error. The code that instructs the build to include gstwebrtc-1.0.lib in the final link comes from here: https://gitlab.freedesktop.org/gstreamer/gstreamer-rs-sys/blob/f7034258cd87bcfc3e0f0444417eeb580b3f6ccf/gstreamer-webrtc-sys/build.rs#L20-71

One of these things is likely true about your environment:
* the named file is missing from the gstreamer installation
* the gstreamer environment variables do not match the installation directory
* you have an unsupported version of gstreamer installed

You may want to try uninstalling GStreamer, installing 1.14.3, then running `mach.bat clean` before building again.

On 3/31/19 3:17 PM, BAlaji wrote:
Hi Josh
Does Rust has issues with building with IntelliJ and Rust Up installed?
I came across several Rust build errors and were able to lookup and fix 
throughout with Github issues posted. But this one is driving me crazy

error: linking with `link.exe` failed: exit code: 1181
   = note: LINK : fatal error LNK1181: cannot open input file 
'gstwebrtc-1.0.lib'


The issue posted and fix posted points to 
https://github.com/servo/servo/blob/master/appveyor.yml#L57 which appears to be 
VS Specific for build or is that something I missing. PS I am building on Servo 
media instead of Servo root so my cargo is in \media instead of \root



Thanks
Balaji Janakarajan Hari
Graduate Student - IMSE Program
NC State
linkedin/com/in/jhbalaji
903.600.0091

From: Akhilesh Venkatasubramanian
Sent: Sunday, March 31, 2019 12:16 AM
To: dev-servo@lists.mozilla.org
Subject: Re: [dev-servo] Fwd: println!("Hello from NCSU");

Josh,

Just one more clarification,

1. Is it necessary we define and initialize the values and duration
parameter that we are using inside SetValueCurveAtTime inside the struct
Param <https://github.com/JHBalaji/media/blob/master/audio/src/param.rs#L30>
?
We assume that this is not needed as the implementation works without doing
the same (values vector gets passed). But duration gets passed as
Tick(44100)  if we set a startTime as 1.0s. (Which we assume is because of
tick?)

Thanks,
Akhilesh

On Sat, Mar 30, 2019 at 11:55 PM Akhilesh Venkatasubramanian <
avenk...@ncsu.edu> wrote:

Hi Josh,

I totally understand. We will try to fix it using the examples you have
provided for now. Anyways, we will be continuing with the project for our
final project so whenever you/your team can validate our implementation, it
would help us proceed if we don't fix the issue by then. Thank you for
doing the same.

Best,
Akhilesh

On Sat, Mar 30, 2019 at 11:27 PM Josh Bowman-Matthews <
j...@joshmatthews.net> wrote:

On 3/30/19 6:20 PM, Akhilesh Venkatasubramanian wrote:
Hi Josh,

1. Yes we are working on the example and have it defined as follows:

https://github.com/JHBalaji/media/blob/master/examples/set_value_curve.rs

Can you tell us if the example we have defined is right? We have
written it
similar to the example you shared with us
<
https://developer.mozilla.org/en-US/docs/Web/API/AudioParam/setValueCurveAtTime

.

2. Our implementation of the SetValueCurveAtTime to this point is as
follows:

https://github.com/JHBalaji/media/blob/master/audio/src/param.rs#L419-L439

As you had mentioned earlier, can you/someone from your team verify if
our
function definition is right? (Specifically for the linear interpolation
part, that's where we think the mistake is but not sure how to change
it)
as we are getting a few errors while trying to run the example.

I cannot guarantee that anybody will review it before Monday, sorry. You
could try looking at an existing implementation in Firefox for reference:
*

https://searchfox.org/mozilla-central/source/dom/media/webaudio/AudioEventTimeline.h#71-75
*

https://searchfox.org/mozilla-central/source/dom/media/webaudio/AudioEventTimeline.cpp#31-53

Error:

Akhileshs-MBP:media akhilesh$ ./target/debug/set_value_curve

thread 'AudioRenderThread' panicked at 'index out of bounds: the len is
9
but the index is 9',
/rustc/94fd0458951a4ff91c03366445f0e2e93b86bd2f/src/libcore/slice/
mod.rs:2539
:10

note: Run with `RUST_BACKTRACE=1` environment variable to display a
backtrace.

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value:
RecvError', src/libcore/result.rs:997:5

Running with RUST_BACKTRACE=1 will show you the precise line that is
panicking. I suspect you are not dealing with the case where the
duration has been exceeded.


Cheers,
Josh
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo


_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo


_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to