Page 1 of 1

How to release source code?

Posted: Fri Apr 03, 2009 10:15 pm
by Louigi Verona
Hey guys )

Say I've written an app with wxDev-C++ and I want to release it under GPL. That means supplying source code. But source code here would require a person to install wxDev-C++ (or wxWidgets) to compile. Which is okay, since it is also free software. But is there a way to get the code which would not rely on wxDev-C++? Or really it is okay and I should just make a package of my project folder available with all the source files in it?

Posted: Sat Apr 04, 2009 7:24 am
by protocol
You should try to de-couple it from wxDev, if possible.

But, it should be fine as long as you specify the requirements.

Posted: Tue Apr 07, 2009 5:58 am
by Louigi Verona
I zipped project files, but when tried to open them with wxDev-C++ on another computer, it couldn't include several files.
How to export a project that would be guaranteed to open on a machine that has wxDev-C++?

Posted: Tue Apr 07, 2009 2:42 pm
by Auria
Moving to wxDev-C++ forum :)

Posted: Wed Apr 08, 2009 5:56 am
by Louigi Verona
Yep, thanks, I think it fits here better...

So - guys! Any advice? Please, please, please!

Posted: Wed Apr 08, 2009 11:01 am
by NinjaNL
If you zip up your project folder (assuming that this folder includes all files needed to build your project - images etc.) then this should suffice.

If any user wishes to build your project in a development environment other that wxDevC++ then he should create a suitable project in his own development environment.

If he needs a library to correctly build and run the program then this should be mentioned, but simply listing all used libraries should be sufficient.

I have sucessfully taken source from other environments and built them in wxDev and vice versa.

The only caveat I have is that it is possible for code that successfully builds in one environment to fail in another, but this is due to differences in the compiler mostly (and how standards compatible it is).

One other caution, is to remove all intermediate files and executables before you zip up the project folder, in order to make the archive as small as possible.

Posted: Wed Apr 08, 2009 11:22 am
by Louigi Verona
can you then please try to open a project from here? I couldn't do it on another computer - during compilation it issued errors saying it couldn't find files from wx/ folder, although the machine had wxDev-C++ same version installed. ... a=59108580

Posted: Wed Apr 08, 2009 12:21 pm
by NinjaNL
Works for me.

Forgetting form import errors, just creating an empty wxWidgets project, adding source files to project and then compile and run.

Posted: Wed Apr 08, 2009 7:42 pm
by Louigi Verona
Ah! Create an empty project.... I see! Thank you very much for your help =)