Discussion Locked

using windows to create linux app

0 helpful
7 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
i wanna create linux gui (Gnome or KDE) using VB or VC++ how to go for it?

7 replies

by rick

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.

by tjc

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.

by ktirf

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.

This discussion is closed to new replies.