By Date: <-- -->
By Thread: <-- -->

error compiling MyPhone



Hi,
  i got this problem when i was compiling myphone, i solved it by commenting the line  #include <codecs.h> , in  mycodecs.h file .
    i just commented it out cause it was saying some structures are getting redifined, so i assumed that codec.h is included by default.
 i dont know if its the right way to do it , but yes, the application is working fine.
 
hope it helps,
Shama.
  
Fake Joke <jokefake (at) hotmail.com> wrote:
I downloaded MyPhone source code and complied it successfully using pwlib
1.5.2 and openh323 1.12.2.

I had problem with my PC and had to reformat my hard disk. but now when I
try to complie MyPhone I get error msg like this :

compiling...
MyPhoneEndPoint.cpp
c:\program files\microsoft visual studio\vc98\include\codecs.h(88) : error
C2011: 'IInstallAudioCodecs' : 'struct' type redefinition
c:\program files\microsoft visual studio\vc98\include\codecs.h(98) : error
C2011: 'IInstallVideoCodecs' : 'struct' type redefinition
c:\program files\microsoft visual studio\vc98\include\codecs.h(108) : error
C2011: 'IInstallCodecs' : 'struct' type redefinition
Error executing cl.exe.

MyPhone.exe - 3 error(s), 0 warning(s)

any idea

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

------------------------------------------------------------------------
Check the FAQ before asking! - http://www.openh323.org/~openh323/fom.cgi
The OpenH323 Project mailing list, using Mailman. To unsubscri! be or
change your subscription options, goto
http://www.openh323.org/mailman/listinfo/openh323
Maintained by Quicknet Technologies, Inc - http://www.quicknet.net
------------------------------------------------------------------------