Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
hi
i am newer of linux...
my thread is i have vc++ code in windows...now we convert code in linux.but i donot know conversions..i am see google...to convert vc++ project in to kdevelop..but i am newer,so i am not understand pls help me any one of u
If what you want to convert is the "project" as in "the file which tells vs what source files are part of your application", I think you will need to do it manually.
If you are talking about "porting" the application to run on linux, then there's no straight answer, since we know nothing at all about your application. If the application uses standard C++ code, it should just compile fine with few or no modification. If you use vc specific stuff, directx or any other win-only marvel, then you need to rewrite some parts of it, or maybe start from scratch. It just depends on what do you meant, and how your application is written.
If it was written with portability in mind you will have a much easier time.
The difficulty level of moving the code from Windows to Linux depends on the complexity of the code. If it has a lot of Windows GUI, then it can become a pain in the ...
I am not aware of any free tool that can guarantee a 100% perfect result - there is always some amount of fiddling the source code.
Instead of moving towards KDE-coding you could also consider transferring to some toolkit like FLTK, FoxToolkit or wxWindows. These kits provide code wrappers for GUI stuff that can compile on both Windows, Linux and even Macs. You still have to convert your code, but if that's done, then you will have to maintain only one code branch (hopefully). That should make it easier in the future.
Of course, KDE also runs on Windows, but I don't know anyone who bought QT's Windows version just to build software on that platform as well (obviously, I do not know all persons on this planet :-)
we convert vc++ project....its a scantool that means to scan the all the local area networks...this coding we use socket programming....i think...is it possible to converting linux or not...how to procede convertions...
As said, it might not be trivial. You should start trying to compile it with g++ and continue from there. The errors will tell you what the missing parts are.
I assume that it uses a GUI in Windows, you will have to reprogram from scratch that part using a graphical toolkit for linux. Usually gtk, qt, fltk, or a similar thing.
Or, as suggested previously, use winelib. In any case this can't be done with a magic wand, you are going to put effort into it if you want to succeed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.