[Live-devel] BasicUsageEnvironment.hh linking error

Danie Jonker djonker88 at gmail.com
Tue Jul 26 01:25:19 PDT 2011


Hi all

I have compiled all the libraries using Visual Studio 2010. Additionally I
compiled the test programs to test everything and it worked fine. Now I'm
trying to use the libraries in Qt creator (which has been configured to work
with the Visual Studio compiler) to create my own streaming server. The
libraries were linked in Qt as follows:

>

 LIBS   +=   -L"C:\Qt\2010.05\qt\lib\live\UsageEnvironment\"
-libUsageEnvironment

LIBS += -L"C:\Qt\2010.05\qt\lib\live\BasicUsageEnvironment\"
-libBasicUsageEnvironment

LIBS += -L"C:\Qt\2010.05\qt\lib\live\groupsock\" -libgroupsock

LIBS += -L"C:\Qt\2010.05\qt\lib\live\liveMedia\" -libliveMedia



INCLUDEPATH +=  C:\Qt\2010.05\qt\lib\live\liveMedia\include

INCLUDEPATH +=  C:\Qt\2010.05\qt\lib\live\groupsock\include

INCLUDEPATH +=  C:\Qt\2010.05\qt\lib\live\BasicUsageEnvironment\include

INCLUDEPATH +=  C:\Qt\2010.05\qt\lib\live\UsageEnvironment\include






The problem however is when I try to include the BasicUsageEnvironment.hh
file in my Qt program I get the following errors:

>

main.obj:: error:  unresolved external symbol "class DelayInterval
__cdecl operator*(short,class DelayInterval const &)"

(??D at YA?AVDelayInterval@@FABV0@@Z) referenced in function "void
__cdecl `dynamic initializer for 'DELAY_MINUTE''(void)"

(??__EDELAY_MINUTE@@YAXXZ)



main.obj:: error:  unresolved external symbol "class DelayInterval
const DELAY_SECOND" (?DELAY_SECOND@@3VDelayInterval@@B)



debug\test.exe:: error:  2 unresolved externals




Does anyone know what the problem might be? Any help would be greatly
appreciated.


Regards
Danie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110726/b41bd6db/attachment.html>


More information about the live-devel mailing list