Discussion:
[Exodus-dev] Jopl Sample - Wont Compile?
Brad Parks
2005-07-07 00:44:44 UTC
Permalink
Hi there;

I've retrieved the latest Exodus source from Subversion, and have
compiled Exodus itself without a problem.

What I'm interested in doing is building a very simple Jabber client
using jopl, so I'm trying to compile the

jopl\sample\jopl_sample.dpr

project, but I can't get it to build without changing some stuff. And
once I've got it built, it automatically throws a runtime error (217)
when run.

To get it to build, I needed to

1) Change the Project search path to:

$(DELPHI)\Lib\Debug;..\;..\png;..\..\exodus

2) in jopl_sample, main.pas add "NodeItem" to the uses

3) In jopl_sample.dpr, the path to the Agents file needed to be changed to:
Agents in '..\..\Exodus\Agents.pas',

4) The Agents.pas file mentioned above needs to have "JabberConst" added
to the uses

5) Add "Exodus" to the Project Defines for the project. If I didn't do
this, I'd get lots of type mismatch errors. This strikes me as where my
fixes aren't moving in the right direction....

"Incompatible types: 'TWideStringList' and 'TTntStrings'"

(e.g. CommandWizard.pas, line 105)
jEntityCache.getByFeature(XMLNS_COMMANDS, f.txtJid.Items);

I tried to debug why the runtime error (217) was happening, and it looks
like it's being thrown when a com object "COMPresence" is being
initialized... But it seems to me like this must be a symptom of some
other problem that I'm missing, so this is where I figured I'd ask for
some pointers!

Any pointers?

Thanks in advance!

Brad.
Brad Parks
2005-08-10 15:47:14 UTC
Permalink
Does anyone have any idea why this is happening? Any pointers at all
would be great!

Thanks again,

Brad.
Post by Brad Parks
Hi there;
I've retrieved the latest Exodus source from Subversion, and have
compiled Exodus itself without a problem.
What I'm interested in doing is building a very simple Jabber client
using jopl, so I'm trying to compile the
jopl\sample\jopl_sample.dpr
project, but I can't get it to build without changing some stuff. And
once I've got it built, it automatically throws a runtime error (217)
when run.
To get it to build, I needed to
$(DELPHI)\Lib\Debug;..\;..\png;..\..\exodus
2) in jopl_sample, main.pas add "NodeItem" to the uses
Agents in '..\..\Exodus\Agents.pas',
4) The Agents.pas file mentioned above needs to have "JabberConst"
added to the uses
5) Add "Exodus" to the Project Defines for the project. If I didn't do
this, I'd get lots of type mismatch errors. This strikes me as where
my fixes aren't moving in the right direction....
"Incompatible types: 'TWideStringList' and 'TTntStrings'"
(e.g. CommandWizard.pas, line 105)
jEntityCache.getByFeature(XMLNS_COMMANDS, f.txtJid.Items);
I tried to debug why the runtime error (217) was happening, and it
looks like it's being thrown when a com object "COMPresence" is being
initialized... But it seems to me like this must be a symptom of some
other problem that I'm missing, so this is where I figured I'd ask for
some pointers!
Any pointers?
Thanks in advance!
Brad.
_______________________________________________
Exodus-dev mailing list
http://mail.jabber.org/mailman/listinfo/exodus-dev
Joe Hildebrand
2005-08-11 04:50:05 UTC
Permalink
Because we never use that DPR to build it. If you get it working,
send us a diff, and we'll check it in.
Post by Brad Parks
Does anyone have any idea why this is happening? Any pointers at
all would be great!
Thanks again,
Brad.
Post by Brad Parks
Hi there;
I've retrieved the latest Exodus source from Subversion, and have
compiled Exodus itself without a problem.
What I'm interested in doing is building a very simple Jabber
client using jopl, so I'm trying to compile the
jopl\sample\jopl_sample.dpr
project, but I can't get it to build without changing some stuff.
And once I've got it built, it automatically throws a runtime
error (217) when run.
To get it to build, I needed to
$(DELPHI)\Lib\Debug;..\;..\png;..\..\exodus
2) in jopl_sample, main.pas add "NodeItem" to the uses
Agents in '..\..\Exodus\Agents.pas',
4) The Agents.pas file mentioned above needs to have "JabberConst"
added to the uses
5) Add "Exodus" to the Project Defines for the project. If I
didn't do this, I'd get lots of type mismatch errors. This strikes
me as where my fixes aren't moving in the right direction....
"Incompatible types: 'TWideStringList' and 'TTntStrings'"
(e.g. CommandWizard.pas, line 105)
jEntityCache.getByFeature(XMLNS_COMMANDS, f.txtJid.Items);
I tried to debug why the runtime error (217) was happening, and it
looks like it's being thrown when a com object "COMPresence" is
being initialized... But it seems to me like this must be a
symptom of some other problem that I'm missing, so this is where I
figured I'd ask for some pointers!
Any pointers?
Thanks in advance!
Brad.
_______________________________________________
Exodus-dev mailing list
http://mail.jabber.org/mailman/listinfo/exodus-dev
_______________________________________________
Exodus-dev mailing list
http://mail.jabber.org/mailman/listinfo/exodus-dev
Loading...