List Info

Thread: Re: Newbie trying to get Iris conntest to compile...




Re: Newbie trying to get Iris conntest to compile...
country flaguser name
United States
2007-04-30 07:46:55
> > old file and has conntest been verified to compile and
> > run recently?  Is there some other sample code I should look at?  I'm able
> > to compile Psi itself just fine.
>
> Try XMPPTest instead of ConnTest, i think that's a better starting
> point, and that one is ported to Qt4.

Thank you Justin and Remko.  I just tried that one over the weekend.  I had to make one change to get it to compile - changed stream->;setAllowPlain(ck_plain->isChecked()) to:

 ;       stream->;setAllowPlain((ck_plain->isChecked() == true) ? XMPP::ClientStream::AllowPlain : XMPP::ClientStream::NoAllowPlain);

Still, when I run it I immediately get a crash:

    0xC0000005: Access violation reading location 0x00000000.

I need to get my environment setup a bit more to give you the call stack...  Are there any config files I need to setup, DLLs I need to move into that same directory, etc?

Thanks again,

Orion

Re: Newbie trying to get Iris conntest to compile...
user name
2007-04-30 11:51:35
> Thank you Justin and Remko.  I just tried that one over
the weekend.  I had
> to make one change to get it to compile - changed
> stream->setAllowPlain(ck_plain->isChecked()) to:

Right, that's a correct change. Ideally, XMPPTest should be
updated to
have the three settings (Yes, no, over encrypted
connection).

> I need to get my environment setup a bit more to give
you the call stack...
> Are there any config files I need to setup, DLLs I need
to move into that
> same directory, etc?

You might be needing the Qt debug libraries (which can be
built from
the Trolltech menu), and make sure that conf_windows.pri has
'CONFIG
+= debug' enabled. I don't know how to attach a debugger in
Windows,
maybe you can just run it under gdb like you can on other
OSes.

Xmpptest works for me on Mac OS X after the change above.

cheers,
Remko
_______________________________________________
delta mailing list
deltalists.affinix.com
http://lists.affinix.com/listinfo.cgi/delta-affinix.com

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )