Page 1 of 1

First steps with freeware and CodeLite. Need some help

Posted: Wed Oct 03, 2012 2:31 pm
by Fox Mulder
Hi all,
Im very new to this forums and to CodeLite too, in general Im not very experienced C++ programmer. Im not a complete newbe but I dont implement more than 10 projects i think. I learned C++ and C# by myself and used it with the Visual Studio suite. Before now it was only private so there was no problem with it, but now I have to implement a bigger project on a commercial basis and my company cant afford the money for VS right now. Beside that I feel somekind of overwhelmed by the VS IDE, I cant explain it corectly but there is something wrong with this IDE.
After a long searching on the web I ended up with CodeLite and Qt Creator. Dont worry Im not going to start a debatte on this.(there are enough of them on the web and I red them all :geek: )
CodeLite is some kind of more congenial for me and I give it my first try.
Before I do so I have some questoins.

Im not familiar with all the freeware ideologies couse I use windows since my first day and I will stick with it for some time.
So my question is about the licence. What does GPLv2 mean for me. (I red the agreements but dont undestend them to the last degree)
I want to develop a piece of software with CodeLite - wich uses wxWidgets and destribute it. Do I need to packege my software with some kind of wxLibrary or any agreement definitions?

My other question is should I use wxWidgets at all? Can I use the raw WinAPI if needed and can I mix this two like with the .Net framework where I can call direct WinAPI calls if the framework dont support something.
I want to use a fairly big library "OpenCV". All I can undestand is that I have to build it myself for the GCC compiler but is MinGW the same. Im very curios about all this GCC vs MinGW, builds, makefiles,Cmakes aso. couse I never used something else than MS VS.

I hope I can get some input from you here to support me on my first steps in the world of freeware.
Btw. english is not my native language, so laugh about it or apologize it.

Greeting


I want to believe.

Re: First steps with freeware and CodeLite. Need some help

Posted: Wed Oct 03, 2012 3:17 pm
by eranif
Fox Mulder wrote: What does GPLv2 mean for me. (I red the agreements but dont undestend them to the last degree)
I want to develop a piece of software with CodeLite - wich uses wxWidgets and destribute it. Do I need to packege my software with some kind of wxLibrary or any agreement definitions?
In short: you can package your application in which ever license you want. You can use codelite to develop commercial apps without worrying about codelite's license restrictions

In details:
The GPLv2 means (in general): if you plan on distribute codelite - you must distribute its sources. If you plan on using codelite source files (e.g. copy functions from codelite source code or copy an entire source files from codelite's sources) it means that *your* source files must be GPL as well (i.e. you must provide the sources of your application).

However, since my guess is that you are only going to use codelite as a tool and maybe use wxWidgets/MinGW that I package with codelite - then you can close / distribute your sources in which ever license you find appropriate
Fox Mulder wrote:I want to develop a piece of software with CodeLite - wich uses wxWidgets and destribute it. Do I need to packege my software with some kind of wxLibrary or any agreement definitions?
No. Use which ever license you find suitable for you
Fox Mulder wrote:My other question is should I use wxWidgets at all?
Depends on your final goal. If you plan on making a cross platform application, then use wxWidgets or Qt
If you only plan on making your app for Windows - then there is nothing wrong with using WinAPI. Note that wxWIdgets is just a thin wrapper around WinAPI
This means, that if something is missing, you can always get a handle to the underlying HWND and add platform specific code
Fox Mulder wrote:Im very curios about all this GCC vs MinGW, builds
GCC = MinGW

MinGW stands for Minimalist GNU for Windows
the MinGW package contains gcc / g++ / gdb etc all the tools that you need to develop and debug an application
Fox Mulder wrote:builds, makefiles,Cmakes aso. couse I never used something else than MS VS
codelite generates makefiles based on your project files and execute them - so you don't need to bother yourself with this.

Eran

Re: First steps with freeware and CodeLite. Need some help

Posted: Wed Oct 03, 2012 4:42 pm
by Fox Mulder
Wow thanks allot for your very good (human understandble) explanation.
No question left.


I want to believe.