1

Topic: With ++ library for XMPP under Windows

The task:
From the application it is necessary to send messages on XMPP (Jabber protocol without any dialog boxes.
The client under Windows searched console xmpp - anything efficient under Openfire Server 4.1.x did not find.
Tried sendxmpp + cygwin. 4.1.6 server, an authentification error do not want to send on mine Openfire.
I search now with ++ for library under windows.
Is qxmpp with the source code which should be compiled and collected under QT. To collect it did not turn out.
Who can knows ready, compiled under windows library for sending xmpp messages?

2

Re: With ++ library for XMPP under Windows

https://github.com/strophe/libstrophe

3

Re: With ++ library for XMPP under Windows

Respected Cerebrum;
Prompt how to collect this library under Windows?
From compilers available for me is an old C ++ Builder 6.0

4

Re: With ++ library for XMPP under Windows

SQLWalker;
Download free or a trial studio and collect.

5

Re: With ++ library for XMPP under Windows

https://xmpp.org/software/libraries.html

6

Re: With ++ library for XMPP under Windows

Respected Cerebrum;
Almost I already viewed all these and other libraries.
The library or under unix, or is declared compatibility with Windows, but it is necessary to collect most.
Here on assembly at me . The last time collected one library under a Borland C ++ some years ago.
All was simple - launched make.exe.
Now under your recommendation installed a Visual Studio 2017 Community.
How in it correctly to collect libraries similar libstrophe or gloox?
There in a root there are files Makefile.am, configure.ac - I so understand, these are directives for compilers unix
Also there is a folder src - with source codes *.cpp, *.c and heading files.h
I try to collect offered libstrophe in VS so:
File to create the project from the existing code. I select Visual C type ++, I specify a folder src;
Further "the Project of static library LIB" (or dynamic DLL), further dialogues
"To set debugger configuration settings" and "to Set release configuration settings". I do not know what there to specify and I do not fill a field.
On the last step "Creation of files of the project" at me the studio hangs up.

7

Re: With ++ library for XMPP under Windows

SQLWalker wrote:

Respected Cerebrum;
Prompt how to collect this library under Windows?
From compilers available for me is an old C ++ Builder 6.0

Throw out more likely, put VC2017.

8

Re: With ++ library for XMPP under Windows

Well either mingw+msys, or cygwin...

9

Re: With ++ library for XMPP under Windows

Though looked in gloox - there gloox.vcproj and gloox.dsp are present, same under msvc projects.

10

Re: With ++ library for XMPP under Windows

SQLWalker wrote:

Now under your recommendation installed a Visual Studio 2017 Community.
How in it correctly to collect libraries similar libstrophe or gloox?

Not clearly that you so long searched.
https://xmpp.org/software/libraries.html
It is necessary to collect?
Well collect. Or ask somebody.

11

Re: With ++ library for XMPP under Windows

SQLWalker wrote:

Respected Cerebrum,

Any I not respected, I normal smile
https://yadi.sk/d/q21TR7q43PJhKk

12

Re: With ++ library for XMPP under Windows

Forgot to tell - it is collected on it:

13

Re: With ++ library for XMPP under Windows

Respected Barlone;
Yes, it is valid at gloox there is in a folder a file of project VS
Tried to collect:
Besides mass warning (for example conversion time_t in long, etc.) is also errors
       suppression
Error LNK1120 Unsolved exterior elements: 4 gloox-1.0 D:\gloox-1.0\Debug\gloox-1.0.dll 1

14

Re: With ++ library for XMPP under Windows

Cerebrum wrote:

it is passed...
Any I not respected, I normal smile
https://yadi.sk/d/q21TR7q43PJhKk

You forgot to write, whether this library with its favourite  #6 is compatible

15

Re: With ++ library for XMPP under Windows

SQLWalker wrote:

the Error LNK1120 Unsolved exterior elements: 4 gloox-1.0 D:\gloox-1.0\Debug\gloox-1.0.dll 1

Throw in the project iodata.cpp, the developer probably forgot

16

Re: With ++ library for XMPP under Windows

MasterZiv wrote:

You forgot to write, whether this library with its favourite  #6

is compatible
It came round and downloaded VS2017 already smile

17

Re: With ++ library for XMPP under Windows

Cerebrum, many thanks. Downloaded your assembly, I will try.