Problem compiling webrtc source

151 views
Skip to first unread message

rizwan

unread,
Jun 8, 2011, 10:55:45 AM6/8/11
to discuss-webrtc
Hi I am facing problem building the project from webrtc.sln file.
when i build the project, "peerconnection_client.exe" file is missing
while peerconnection_server.exe is there.

I am using visual studio2010. Althoguh i copied the complete source as
it is but still during build it gives 11 erros 1 from
peerconnection_client project and rest from some video rendering
project.

Please suggest if i am missing something or the correct way to build
the project.

John Poole

unread,
Jun 8, 2011, 11:00:14 AM6/8/11
to discuss...@googlegroups.com
This is the same problem I encountered. For answers as to why the
Windows build fails, see the postings under topic "Build: 41
succeeded, 8 failed, 0 up-to-date, 0 skipped" posted a few days ago.

--
John L. Poole

P.O. Box 6566
Napa, CA 94581-6566
707-812-1323

jlpo...@gmail.com

Kaiduan Xie

unread,
Jun 8, 2011, 12:47:14 PM6/8/11
to discuss...@googlegroups.com
I managed to build and run the sample applications, it works great!
The environment I am running is,

1) Visual studio 2010 on two XP machines
2) Server is running on Ubuntu

I just followed the webpage, and added the include path and lib path
of Direct X to libjingle-p2p and peerconnection_client project.

Cheers,

/Kaiduan

John Poole

unread,
Jun 8, 2011, 12:58:27 PM6/8/11
to discuss...@googlegroups.com
Was adding "the include path and lib path of Direct X to libjingle-p2p
and peerconnection_client project" the only way to make it work?

My tests were simply downloading the client on Windows XP Pro boxes
(several eager testers where I work) where those libraries most
likely do not exist. Perhaps the client module has system
dependencies?

Kaiduan Xie

unread,
Jun 8, 2011, 1:15:31 PM6/8/11
to discuss...@googlegroups.com
In my environment, Direct X SDK is installed in C:\Program
Files\Microsoft DirectX SDK (June 2010)

I added C:\Program Files\Microsoft DirectX SDK (June 2010)\Include,
C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86, to the
Properties -> VC++ Directories -> Include Directories and Library
Directories respectively.

On the site, http://sites.google.com/site/webrtc/reference/getting-started/prerequisite-sw,
it lists that you need Microsoft SDK 7.1 and Microsoft DirectX SDK.

I installed Visual Studio 2010 professional first, then Microsoft SDK
7.1, and Microsoft DirectX SDK last.

/Kaiduan

rizwan

unread,
Jun 10, 2011, 10:39:52 AM6/10/11
to discuss-webrtc
Hi Kaiduan,

Yes this was the same problem i had and now i can build the project
without any problem on windows 7
(after i included C:\Program Files (x86)\Microsoft DirectX SDK (June
2010)\Include and
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86 in
visual studio).

I was just wondering the video is rendered in a UI and not in the
browser.
How can i see the video rendered in the browser then??

Any suggestion?

Regards,
Rizwan.

On Jun 8, 7:15 pm, Kaiduan Xie <kaidu...@gmail.com> wrote:
> In my environment, Direct X SDK is installed in C:\Program
> Files\Microsoft DirectX SDK (June 2010)
>
> I added C:\Program Files\Microsoft DirectX SDK (June 2010)\Include,
> C:\Program Files\Microsoft DirectX SDK (June 2010)\Lib\x86, to the
> Properties -> VC++ Directories -> Include Directories and Library
> Directories respectively.
>
> On the site,http://sites.google.com/site/webrtc/reference/getting-started/prerequ...,
> it lists that you need Microsoft SDK 7.1 and Microsoft DirectX SDK.
>
> I installed Visual Studio 2010 professional first, then Microsoft SDK
> 7.1, and Microsoft DirectX SDK last.
>
> /Kaiduan
>
>
>
>
>
>
>
> On Wed, Jun 8, 2011 at 12:58 PM, John Poole <jlpool...@gmail.com> wrote:
> > Was adding "the include path and lib path of Direct X to libjingle-p2p
> > and peerconnection_client project" the only way to make it work?
>
> > My tests were simply downloading the client on Windows XP Pro boxes
> > (several eager testers where I work)  where those libraries most
> > likely do not exist.  Perhaps the client module has system
> > dependencies?
>
> > On Wed, Jun 8, 2011 at 9:47 AM, Kaiduan Xie <kaidu...@gmail.com> wrote:
> >> I managed to build and run the sample applications, it works great!
> >> The environment I am running is,
>
> >> 1) Visual studio 2010 on two XP machines
> >> 2) Server is running on Ubuntu
>
> >> I just followed the webpage, and added the include path and lib path
> >> of Direct X to libjingle-p2p and peerconnection_client project.
>
> >> Cheers,
>
> >> /Kaiduan
>
> >> On Wed, Jun 8, 2011 at 11:00 AM, John Poole <jlpool...@gmail.com> wrote:
> >>> This is the same problem I encountered.  For answers as to why the
> >>> Windows build fails, see the postings under topic "Build: 41
> >>> succeeded, 8 failed, 0 up-to-date, 0 skipped" posted a few days ago.
>
> >>> On Wed, Jun 8, 2011 at 7:55 AM, rizwan <djriz...@gmail.com> wrote:
> >>>> Hi I am facing problem building the project from webrtc.sln file.
> >>>> when i build the project, "peerconnection_client.exe" file is missing
> >>>> while peerconnection_server.exe is there.
>
> >>>> I am using visual studio2010. Althoguh i copied the complete source as
> >>>> it is but still during build it gives 11 erros 1 from
> >>>> peerconnection_client project and rest from some video rendering
> >>>> project.
>
> >>>> Please suggest if i am missing something or the correct way to build
> >>>> the project.
>
> >>> --
> >>> John L. Poole
>
> >>> P.O. Box 6566
> >>> Napa, CA 94581-6566
> >>>707-812-1323begin_of_the_skype_highlighting            707-812-1323      end_of_the_skype_highlighting
>
> >>> jlpool...@gmail.com
>
> > --
> > John L. Poole
>
> > P.O. Box 6566
> > Napa, CA 94581-6566
> >707-812-1323begin_of_the_skype_highlighting            707-812-1323      end_of_the_skype_highlighting
>
> > jlpool...@gmail.com

Kaiduan Xie

unread,
Jun 10, 2011, 12:21:30 PM6/10/11
to discuss...@googlegroups.com
The sample application only renders the video in UI.

The target of the project is to be able to make audio/video call in browser.

Harald Alvestrand

unread,
Jun 10, 2011, 1:10:28 PM6/10/11
to discuss...@googlegroups.com
On Fri, Jun 10, 2011 at 16:39, rizwan <djri...@gmail.com> wrote:
> Hi Kaiduan,
>
> Yes this was the same problem i had and now i can build the project
> without any problem on windows 7
> (after i included C:\Program Files (x86)\Microsoft DirectX SDK (June
> 2010)\Include and
> C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86 in
> visual studio).
>
> I was just wondering the video is rendered in a UI and not in the
> browser.
> How can i see the video rendered in the browser then??

We're working on that, but it's not working yet. Integration into a
browser takes a bit of work; we also have to get the patches needed
accepted into Webkit.

Reply all
Reply to author
Forward
0 new messages