[Opalvoip-devel] Building Opal DLL
Brought to you by:
csoutheren,
rjongbloed
From: Leonardo N. <leo...@gm...> - 2016-03-09 19:30:37
|
Hello, I wanted to test Opal to get familiar with how things work, but when I tried to run the code I wrote, an error message popped up saying "opald.dll" was not installed. Then I got confused, since I only wanted to see things working, I only compiled the static libs, but it's requesting for the .dlls anyway. So that's my first question: 1. Why is it asking for the dlls when I linked the project with opal and ptlib's static libs? To solve this problem, I decided to build the opal dll, but I'm getting an unresolved external symbol error, that I think it's related to the VP8 plugin (which I don't want to use and it's not compiled) and one other thing I'm not able to pinpoint the possible cause. Here is the build output: 1>------ Build started: Project: OPAL DLL, Configuration: Debug Win32 ------ 1>Build started 09/03/2016 16:05:32. 1>InitializeBuildStatus: 1> Touching "..\..\lib\Win32\Debug\OPAL DLL.unsuccessfulbuild". 1>CustomBuild: 1> All outputs are up-to-date. 1>ClCompile: 1> All outputs are up-to-date. 1>ResourceCompile: 1> All outputs are up-to-date. 1>Link: 1> Creating library C:\Users\Prav\Documents\opal\lib\opald.lib and object C:\Users\Prav\Documents\opal\lib\opald.exp 1>opalsd.lib(mediafmt.obj) : error LNK2001: unresolved external symbol "class OpalVideoFormat const & __cdecl GetOpalVP8(void)" (?GetOpalVP8@ @YAABVOpalVideoFormat@@XZ) 1>opalsd.lib(rtp_session.obj) : error LNK2019: unresolved external symbol "public: __thiscall OpalICEMediaTransport::OpalICEMediaTransport(class PString const &)" (??0OpalICEMediaTransport@@QAE@ABVPString@@@Z) referenced in function "protected: virtual class OpalMediaTransport * __thiscall OpalRTPSession::CreateMediaTransport(class PString const &)" (?CreateMediaTransport@OpalRTPSession@@MAEPAVOpalMediaTransport@@ABVPString@ @@Z) 1>..\..\lib\opald.dll : fatal error LNK1120: 2 unresolved externals 1> 1>Build FAILED. 1> 1>Time Elapsed 00:00:02.59 ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== 2. How can I solve these build problems? obs: I'm not disabling anything on the configurations. Thanks, Nahra. |