Home » Community » Newbie corner » U++ App for linux
U++ App for linux [message #35046] |
Wed, 04 January 2012 11:49 |
Wolfgang
Messages: 146 Registered: November 2011 Location: Germany
|
Experienced Member |
|
|
Hi,
just a little question. I'm using Win7 (32bit) to run U++ but want to create a small app for my linux system. Can I create it on my windows machine and if yes, how (compile, test... etc.)?
Thanks!
best regards,
Wolfgang
By the way, happy new year!
|
|
|
|
Re: U++ App for linux [message #35048 is a reply to message #35046] |
Wed, 04 January 2012 12:46 |
|
Hi Wolfgang,
The easiest way is to use virtualization With some simple, free virtualization tool (e.g. VirtualBox), you can maintain a number of linux distros that you want to support.
Another option might be using cygwin. If I remember correctly there used to be gcc package that compiled linux binaries. Google will sure give you some more info
I'd definitely recommend you the first way.
Best regards,
Honza
|
|
|
|
|
Re: U++ App for linux [message #35054 is a reply to message #35050] |
Wed, 04 January 2012 21:07 |
|
Wolfgang wrote on Wed, 04 January 2012 17:38 | thank you, then I'll choose the virtual box cause i've already installed one on my local system (to do the server stuff)...
If I understand it the right way I just have to use apt to install ultimate++ and then compile it in my commandoline (on the linux machine I don't have an X)?
|
If you have headless server, you probably don't want to install the packages, as they would pull X and a ton of other dependencies into your system I think I should make a separate package for umk, with minimal dependencies. Then you could use that together with sources from svn. I'll look into it, give me couple days
Honza
|
|
|
|
|
|
|
|
Re: U++ App for linux [message #35062 is a reply to message #35046] |
Fri, 06 January 2012 07:20 |
|
Hi Wolfgang,
I've created package 'umk'. It is currently in nightly builds PPA only, later when it is tested properly, I'll move it to stable as well.
If you combine it with SVN checkout of U++ sources you should have all you need for building without X. Note that this setup is best for building command line applications. If you want to build GUI apps, you'll need to install some libraries, the usual bunch is: libatk, libcairo2, libexpat1, libfontconfig1, libfreetype6, libgdk-pixbuf, libglib libgtk, libnotify1, libnotify1-gtk, libpango, libpng, libx11, libxcursor, libxext6, libxfixes3, libxft, libxi, libxinerama, libxrandr and libxrender. It will probably pull in at least half of the packages that X would require, but you'd still have the advantage of not having to run X server.
Honza
PS: It would be great if you (or anyone else ) could try the umk package and report possible problems. I could not test it much, as I don't have any ubuntu machine anymore
[Updated on: Fri, 06 January 2012 07:22] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jun 03 23:41:56 CEST 2024
Total time taken to generate the page: 0.01529 seconds
|