forked from vsimon/webrtcbuilds
-
Notifications
You must be signed in to change notification settings - Fork 71
Home
vsimon edited this page Dec 24, 2014
·
42 revisions
Grab a prebuilt binary package for your platform from releases and extract it.
The Windows releases are built with Visual C++ 2013.
├── bin
│ └── <webrtc programs>
├── include
│ └── <webrtc include files>
└── lib
├── Debug
│ └── <webrtc library files>
└── Release
└── <webrtc library files>
To compile a simple application, run the following command(s):
$ export PKG_CONFIG_PATH=<webrtcbuilds-folder>/lib/Release/pkgconfig
$ g++ -o test test.cpp $(pkg-config --cflags --libs --define-variable=prefix=<webrtcbuilds-folder> libwebrtc_full)
cl.exe test.cpp /DWIN32 /DUNICODE /DWEBRTC_WIN /I<webrtcbuilds-folder>\include /link <webrtcbuilds-folder>\lib\Release\webrtc_full.lib advapi32.lib dmoguids.lib msdmo.lib secur32.lib winmm.lib ws2_32.lib wmcodecdspuuid.lib
where <webrtcbuilds-folder> is the extracted folder from the installation step.