General discussion

Locked

using windows to create linux app

By sireesht ·
i wanna create linux gui (Gnome or KDE) using VB or VC++ how to go for it?

This conversation is currently closed to new comments.

7 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

using windows to create linux app

by rick In reply to using windows to create l ...

I think the answer to this question too difficult for me. And I just wonder why you want to create a linux GUI like KDE or Gnome using VB or VC++. You should choose Kylix or Java that has platform independence...As to VB or VC++, I think it not suitable for you to take it into practice. Tks.

Collapse -

using windows to create linux app

by sireesht In reply to using windows to create l ...

Poster rated this answer

Collapse -

using windows to create linux app

by tjc In reply to using windows to create l ...

Visual Basic is Windows only type item. You could most likely get a way of creating an application that can run on WINE on Linux but it would not be a graphical user interface for linux since VB will need Windows api features only found in Windows and Wine.

Visual C++ I beleive would have the same problems.

What you need to do is learn GNU C that is free on Linux and learn to program and use linux calls for that operating system, since you will not need any Microsoft hardware hooks in your program.

Collapse -

using windows to create linux app

by sireesht In reply to using windows to create l ...

Poster rated this answer

Collapse -

using windows to create linux app

by Ktirf In reply to using windows to create l ...

Well, quite an exotic question...
So, to start with - forget about Visual Basic. It is impossible to create something cross-platform on it, first of all because there is no good Visual Basic compiler for Linux.
As for Visual C++:
1) It is a great development environment, so you may use it freely at least to type a code
2) Don't even think about editing Gtk+ or Qt resources with Visual C++ - it is unreal;
3) The compiler and the libraries for linking are the problem. There is GNU C compiler that works under Windows so you may try to hack Visual C++ a bit so that it uses GNU C compiler instead of the native one (I know it is not very hard because Intel compiler does this when being installed). The same thing with linker, of course. Concerning libraries - don't think that a compiler that works under Windows is able to link alien libraries But try, maybe you'll succeed.
4) Test-running. This is possible, but you need to have some kind of Linux emulator, for example, CygWin or kinda.

As a conclusion - if you like difficulties, go ahead, problems will find you everywhere, if you do. But if you only want to have a convenient development environment and do not intend to fight your system - you better try KDevelop...

Cheers! Hope I helped you.

Collapse -

using windows to create linux app

by sireesht In reply to using windows to create l ...

Poster rated this answer

Collapse -

using windows to create linux app

by sireesht In reply to using windows to create l ...

This question was closed by the author

Back to Windows Forum
7 total posts (Page 1 of 1)  

Related Forums