Developing a plugin in Lighttpd - c++

I'm using the web server Lighttpd and I'm absolutely new to it. I managed to install and get in running in CentOS 6.2. I now want to make a plugin for lighttpd using Cpp, but I couldn't find any helpful tutorial at all and totally confused now. Could anybody help me with clear info?

You won't be writing a plugin in C++, you'll be using straight C. There aren't any tutorials in the sense of building a Hello World application, but there is some documentation. http://redmine.lighttpd.net/projects/lighttpd/wiki#Developing-Information is the place to start. Read the links there in order, especially http://redmine.lighttpd.net/projects/lighttpd/wiki/HowToWriteALighttpdPlugin and mod_skeleton.c in the lighttpd source.
Once you have those, the only thing to do is start experimenting!

Related

Configure wxwidgets with Codeblocks

I want to build C++ GUI programs using Codeblocks+Wxwidgets+cmake. I tried to configure Wxwidgets with codeblocks IDE following the instructions given in the wxWidgets Discussion Forum as well as other Youtube tutorials.
I followed the youtube tutorials below.
Youtube tutorial
But, when 'DEBUG' and 'RELEASE' are being built, it keeps showing some kind of errors. As a result, the building was failed.
Please help me to solve this or suggest another easy way to do C++ GUI projects.
Thank you!
There is an excellent document explaining how to set up C::B with wxWidgets. It can be found here.
It is not about CMake-thingy, but it is written with enough details to help people understand how to setup the IDE.
So I suggest to delete C::B, delete wxWidgets, delete all projects you setup before and start all over, following the instructions from PB to a T.
If you hit a wall or something will not work - please comeback with the exact explanation.

OpenCV - How do I get started?

I just don't seem to be able to get OpenCV to work properly. Here's what I want to accomplish:
Use CodeBlocks (which I installed using codeblocks-10.05mingw-setup.exe) with OpenCV (installer: OpenCV-2.4.2.exe) on my Windows x64.
I've tried a lot of different configurations which will only bother you if I posted them all, so I hope you don't mind if I just ask the simple question: how do I get this to work?
I think I'm missing the smallest detail right now, so a detailed description of how to get started would be welcome.
If the OpenCV installer did the job, you should have by now OpenCV libraries and headers already installed in your system.
I would then go ahead and try to compile a hello world basic code, like the one you can get from here. If you would like to program using an IDE, like VisualC++ in Windows, you can follow this guide that will help you setting up the environment.
OpenCV team just introduced their new web site. There you can find Introduction to OpenCV section with installation instructions, including detailed instructions for Windows. Don't forget to cleanup your system before installation to avoid problems with mixing different install options. If you still can't get it working with CodeBlocks, follow Dan's advice and try compiling from command line.
When you are done with installation, go on and read there great new tutorials!

cfBuilder - working with javascript, CSS, HTML etc

I moved from Dreamweaver to cfBuilder about 12 months ago, and now work almost exclusively in cfBuilder. On the whole, I find it very good.
One thing I don't like though is that it isn't very good for editing Javascript, CSS and HTML (great for CFML though). I remember when reviewing Eclipse some time ago that you can setup Eclipse (using plugins ??) too work with different languages, such as CSS, HTML, SQL, Java, PHP .. whatever..
I assume this can be done with cfBuilder as well... how do I setup these different eclipse environments in cfbuilder?
Many Thanks in advance
EDIT: for example.. can I load this eclipse IDE into cfBuilder?. http://www.eclipse.org/downloads/packages/eclipse-ide-javascript-web-developers/indigosr1
That to me looks like a complete Eclipse install with embedded plug-ins, rather than just a plug-in. So it would be to Eclipse what CFBuilder is to Eclipse; so you'd install it as well / instead of CFB, not as a plug-in within it.
Your question probably needs retagging: it's nothing to do with ColdFusion (which is the server end of things), and more to do with just "Eclipse" than "ColdFusion Builder", because the question is more "how does the Eclipse plug-in architecture work".
Perhaps the best way to start understanding how Eclipse plug-ins work would ebt o take a step back and have a look at vanilla Eclipse, and have a look at how CFEclipse installs (instructions here: http://trac.cfeclipse.org/wiki/InstallingCfeclipse). This'll give you an idea about how Eclipse plug-ins work, and they work exactly the same way if your Eclipse install happens to have CFB wrapped around it.
I'm not sure if that suggestion is any help, but it is how I would approach solving this problem if I had it.

c++ invisible app that launches an exe using native libraries

I'll begin with an apology since I am new to c++ and maybe my questions make no sense.
I have a c# app, unfortunately it requires .Net framework to be installed on the machine.
I'd like to make a c++ application that will copy a .Net installer from a cd, and run the installer on quite mode.
The c++ app must be hidden, no console or what so ever, and also the most important thing is: it must run on a clean install of windows xp/
Please help me :)
I have no idea how to approach this, since I've never used c++ before.
P.S. (if it's possible to run a c# app that can do the above, saying how would be appreciated).
I tried googling but failed to get an answer
I dont know why you want to have a c++ app to launch the dot net installer. This can be achieved from within DOT NET env itself.
Add a Setup project to your current solution. It can detect installed .net framework and depending on your application's dependencies can offer to install one automatically.
However by default it will try to download the framework but if you intend to supply it on your CD you can configure it to pick up the installer from a local location as well.
Refer here to get you started
http://support.microsoft.com/kb/307353

Remote developing with Eclipse

I'm trying to set-up a remote C++ development with Eclipse Galileo, but just can't make it work.
Trying the NetBeans 6.8 worked almost out of box, as described in this article:
http://netbeans.org/kb/docs/cnd/remotedev-tutorial.html
Is there any good article or tutorial, explaining how to setup such environment with Eclipse?
Thanks!
I tried it a few months back but it didn't work for me either. Instead I use X-windows to open Eclipse from a remote linux box onto my Mac. This works well in office ( both machines are on a LAN in the same geographical location), but not from home. When working from home use emacs-gui to do the same things. Its not the perfect scene...but gets the work done.. It would be nice to see it work in eclipse some day :)