Better logging library for C++ [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Locked. This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions.
In our project now we using log4cxx, but those library don't develope some years, also we have some problems with it.
Could you advise some library for logging in C++.
Library must support multithreade logging, system-log.
Also it'll be good if it support logging via << operator.
Also lib license must be very democracy - like boost, apache etc
Crossplatform support. Must support linux, windows. Better if it support solaris, aix, hp-ux, but it's not necessary.

boost::log is probably the most versatile and well-written logging library I've seen. It's pretty complicated but really genius at the same time. And it does everything you can think of and then some more.

I use the glog library, by google (because I could not install Boost.Log easily). It is both simple to use and powerfull.

We use log4cplus in our company, it provides a complex hierarchical logging system (based on log4j). It seems to have everything you are asking for. It provides many appenders (I personally choose this library for the rolling files linux/windows and linux Syslog).
The library is quite simple to compile and deploy on both linux & windows And do the job no problem so far (about 4 years in production).
Only drawback, the lack of documentation but the code it quite self-explanatory. Good new is you could go to the log4j documentation page to understand how configurators/patterns/etc works ...

Check out pantheios!

Related

What do I need to know to create Linux GUI elemnts [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I'm looking to start developing Linux, specifically graphical elements and visuals. For example, the gnome-panel. I would be developing graphical interfaces like that. So the question is, what do I need to know? What resources do I need? I've looked all around for resources and I've discovered qt (of course) FVWM, and looked through an archived version of lynucs.org. So, what should I begin with? I haven't found a single tutorial on creating graphical elements for linux, so hopefully someone here can help me.
Thanks.
In Qt you have a very good documentation. You can start with some easy tutorials and than work on with more advanced concepts.
Here is a good starting point: http://qt-project.org/doc/qt-5.1/qtdoc/gettingstarted.html
If you are looking to develop desktop components that integrate with Linux desktops, then the answer is not straightforward. Depending on the desktop environment you develop for, you have to use different libraries.
If it is for Gnome, then definitely look into GTK+, or more recently Javascript.
If it is for KDE, then you should use Qt, as KDE is written entirely in Qt.
For working on gnome-panel (or some other GNOME component), you could look into GTK+.

Recommendations for a GUI library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I recently ditched C# for C++ because I enjoy coding in it much more.
However, I really do miss Windows Forms and how simple it was to create windows, buttons, etc.
Are there any good C++ libraries out there similar to .NET windows forms? I CAN use C++/CLI, but it bugs me that there isn't any intellisense in Visual Studio!
You may want to look at Qt. I find that the signals and slots is a fairly simple concept to pick up if you're used to Windows Forms.
I would recommend you Qt. It has got great documentation and it is really simple to learn and use. Also it has huge abilities. For example Google Earth was using it :) Here some more informations.
Try wxWidgets. It compiles on many differnt plattforms and in contrast to Qt features native widgets, significantly imporving usability.

Libraries for making a voice chat application [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
My development team is going to build a voice chat application.
Our plan is to use a pre-made library just for this purpose, but we haven't found any good one after days of searching the internet, so I thought I would consider a question here!
So the question is:
What library / project do you recommend? We are deadly serious with this, so it needs to be a good working one. Preferable an open-source one as well.
We have been looking at some XMPP libraries and projects, but none seems to be up-to-date, tested and well-documented.
Did you have a look at libjingle ? Its the base library for Google Talk.
And on what platforms are you interested in such libraies ? I would recommend http://camaya.net/gloox/ or http://www.igniterealtime.org/projects/smack/ for portability, completeness and open standards.
www.pjsip.org
I think it is the best sip sdk around.

Can somebody recommend a good U3D library? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I need to put some 3D images into PDF files, and PDF uses Universal 3D (U3D) formats. I don't like the U3D Sourceforge project (basically what Intel released after the ECMA standardization effort).
Does anybody know of good U3D libraries I could use? I'm using C++ on Microsoft Windows, FWIW.
VCGLib is a mesh processing library that has a U3D exporter and a variety of importers (see http://vcg.sourceforge.net/index.php/Tutorial#File_Formats). MeshLab is a tool built on top of it.
Another answer would be Visual Technology Services with PDF3D (PDF link). I've started evaluating it and I like what I see so far.
I agree with your position of not liking the U3D sourceforge project. People at my company is having problems with it when exporting large models: it runs out of memory.
The project has explicitly stated that it has memory issues on its TODO list and is dead since 2007, so I strongly recommend you to go elsewhere.

Open Source & Cross Platform Multiplayer/Networking Libraries? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Improve this question
While raknet seems fairly interesting and really appealing from a feature-point of view, its licensing terms seem to be possibly troublesome for GPL'ed projects that may be leveraged commercially, something which is explicitly forbidden by the terms of the creative commons license.
While there's also opentnl, it doesn't seem to be as actively maintained anymore nowadays, in fact downloading the latest stable tarball even fails during compilation because it doesn't seem to support gcc >= 3.0 (?)
Of course, there's still also enet, but this one cannot be really compared to the abstract features that are supported by raknet/opentnl.
So, apart from any non-trivial dependencies such as ACE, Boost or Poco, are there any viable alternatives for embedding a fairly compact, well-maintained UDP-networking library?
Thanks
The wiki of Ogre3D provides a list of networking libraries and a short description for them.
Though this answer comes late to the party, I'm using OpenTNL for my game, Bitfighter, and I really like it. I use it on OS X, Windows, and Linux without a hitch. True, it's not maintained by its creator, but when I get the time, I'm going to create a new SourceForge project for it so people have a place to post their patches. It's stable and (fairly) well documented, so I would recommend giving it another look.
I have been looking for something very similar, but to no avail. So, I decided to create my own C++ Networking Library, at the time of this writing it isn't complete, but will be very soon. I will keep you up to date if your interested in trying it out. It's features so far are TCP/UDP, IPv4, IPv6 Async/Sync and multicasting. If there are any other features you have in mind that should be implemented, just let me know :)
Unfortunately network programming tends to be non-trivial.
Said that you would be advised to get aquainted with the network programming facilities from either Boost or ACE, as both are mature libraries that have been successfully employed in many applications.
I would also suggest to read C++ Network Programming: Mastering Complexity Using ACE and Patterns and C++ Network Programming: Systematic Reuse with ACE and Frameworks