What is the best library to manage a wiimote? [closed] - c++

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
There are many libraries that manage the wiimote but I am looking for the "best" one, or at least that has the following features:
open-source
portable (at least Win32 and Linux)
written and usable in c or c++
good coverage of wiimote devices
I rely on people that already used such library. Google is good source of information but it doesn't know which one is best library.

if you will use multiple wiimotes, don't use wiiuse library. i am working on a stereo system with two wiimotes using wiiuse library but wiiuse made me crazy( it gives delayed ir tracking data ) and i decided to change my library wiiuse from wiiyourself

Some friends of mine have had good luck with wiiuse. It's in C, for both Windows and Linux.

Have you seen this:
http://www.codeplex.com/WiimoteLib
http://blogs.msdn.com/coding4fun/archive/2007/03/14/1879033.aspx
It may not be exactly what you are asking for, but with Mono you'll have the cross platform part of it.

What about Johnny Chung Lee - it's .Net but it's open source and could converted.

I think this might be what your looking for:
http://wiiuse.sourceforge.net/
Open-sourced, multi-platform and written in C/C++. They are looking for a OSX developper though, so I'm guessing it doesn't support it yet.

Maybe https://github.com/MJL85/wiiuse will do? Seems to have a lot of features and supports Windows and Linux, AND it is c.

Related

Best C++ RPC library for Windows/Visual Studio [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I know this kind of question is asked a lot but I have a set of requirements:
1. Be able to compile and develop in Visual Studio on Windows.
2. Be somewhat modern - Async/threaded, clean.
3. C++
I've looked at thrift, messagepack, and even protobuf+RPC. All of them have massive issues in Windows.
FYI - I'm no pro programmer so asking me to apply out-dated patches to untested code is a pretty big ask. I know thrift has some patches available, but their >2MB big for old versions of thrift, with other patches thrown on top. God knows how well that'll work.
Did you consider using Protobuf together with Boost asio? Of course it is not an RPC library, so that part you would have to do at your own, but it would be asynchronous and fast.
you can use ICE & proto buffer. since version 3.4.1, proto objects have been suported by ICE though there are some limits.

Dependency Injection framework for C++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Is there a DI framework comparable to Google Guice? And what does Google use?
There is nothing as mature or standard as Guice in the C++ world. However, some people have put together simplistic implementations on their own. Here's a couple.
http://adam.younglogic.com/2008/07/dependency-injection-in-c/ (source for implementation is at the end of the post)
http://sourceforge.net/projects/qtioccontainer/ (requires Qt)
http://code.google.com/p/autumnframework/ (hasn't been touched since 2007)
http://programmaticallyspeaking.blogspot.com/2010/04/beautiful-dependency-injection-in-c.html (more of a description, really)
http://sourceforge.net/projects/cpp-resolver/ ("Alpha" quality)
You're unlikely to be satisfied by any of these.
If you really wanted to put in the effort to rally the world around a DI framework for C++, probably the way to go about it would be to make a proposal to the Boost guys.
I'm the author of wallaroo. It's actively developed and has the following features:
it's lightweight but powerful
its interface supports both C++11 and C++98 with boost
it's type safe
it doesn't need custom preprocessors / code generators
you can load classes defined in shared libraries
you can use a DSL syntax for object creation and wiring or
you can get object creation and wiring by parsing one or more xml / json file.
Any comment, suggestion or request are welcome.
There is a recent one that looks very interesting called Hypodermic, i haven't tested it but it looks pretty active
I am currently authoring one called sauce, whose design (and name) is directly inspired by guice. I still consider it alpha, but you may find it useful.

Open source portable/cross-platform video camera capture library [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I like to know if there's a open-source, cross-platform library for capturing web-cam data. Any other suggestions are welcome in case such solutions are not available. I am looking for something similar to portaudio if possible but this is not absolutely mandatory.
Also open-source & cross-platform projects falling into this category are a good starting point.
Thanks in advance,
Iulian
Libraries found:
portvideo. Does anyone have any experience with it?
reactivision. This one seems to be pretty cool and well supported.
libvidcap. Didn't manage to test it under Linux for the moment.
opencv and its highgui project
Give a look at opencv and its highgui project.
I heard OpenCV can do that. Never used it myself, so please take this suggestion with a grain of salt.
I may be wrong but I think PortVideo is discontinued in favour of reactivision. Also here are a few others. I've never used either of them but plan on it soon. I also am looking for a good video capture API. These two also seem to offer processing and audio. I like PortAudio so much though that I'd like to stick with them for audio.
OpenML
FFmpeg

C++ SQL database library comparison [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am starting development on a medium-scale C++ project that has to work with a Microsoft SQL Server database. I have done database work before using .NET technologies but I don't find using a .NET approach to be appropriate this time. I would like to get some feedback concerning the various free (as in GPL, LGPL, Boost) C/C++ SQL libraries available. I found MySQL++ and SOCI to be pretty interesting and I would like to know which one you guys prefer and why.
Also, although this project will primarily be run on Windows workstations, I prefer developing under Linux so cross-platform compatibility is an advantage.
I can highly recommend OTL.
Not only does it support all major DBs, it's also very STL-ish and is generally written according to to proper C++ methodology (IMO). It worked for me just fine on VC8 (I used the MySQL ODBC connector).
Moreover, it's a one-header library. So there's no linkage issues or anything. Just include the header and you're done. You're 3 lines of code away from querying a MySQL table.
I've used it over the past few months, and also had a good experience communicating with its developer, asking questions, etc.
I recommend SQLAPI++. It's shareware so you can try it for free and the support is excellent. Works for Windows and Linux.

Most beautiful open source software written in c++ [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I was told that to be a good developer, you should read a lot of other peoples source code. I think that sounds reasonable. So I ask you, what is the most beautifully written piece of open source software that is written in c++ out there?
(Apply any definition of beautiful you like.)
IMHO...
Notepad++
You could look at the source code of MySQL GUI Tools. Its written using gtkmm, and the code does some interesting difficult-to-implement GUI things.
Tou should take a look at the source code of NetBSD. It's really clear and well documented.
It think "Qt"
Qt creates beautiful GUIs. Code in C++ and you get awesome screens! But I think the OP has asked for some good C++ code repositories.
Loki is a pretty nice library especially if you're interested in how design patterns and various idioms are expressed in C++. Reading the source might also be a good way to understand C++'s metaprogramming facility using templates.
http://loki-lib.sourceforge.net/
Check the arora browser sources. It shows the beauty of the Qt toolkit and elegant and well written code for a somewhat complex application.
I've heard that Google's Chromium source code is very clean.
The source code for the Poco C++ libraries is very neat as well.