Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 want to port gLabels to Windows because I still have to use Windows sometimes, and I need to able to access my labels and business cards at all times. But I can't figure out how to do it, I'm not a big c++ person and a newbie to Linux. All I've got the source code, can someone point me in the right direction, I want to make it use the libraries that the GIMP, GAIM, Inkscape, etc. use.
- find the librairy for the platform you want to port to. In your case, check out for a GTK+ librairy windows version. I dont use GTK, but I know the windows version of the librairy does exist. It is used in the windows port of GAIM.
So get the librairy and install it on your system
- Setup your environment. That one can be tricky. Depending on what compiler you want to use. Mings, cygwin version of gcc, visual studio, etc.
If you use a make file based cmpiler, you will need to get familiar with makefiles. But the make file for the linux port should provide a good starting point.
- Start compiling. ... (that is actually the only easy step!)
- Check out the errors that came out. You might be extremely lucky and not get any errors. But I doubt it. You will most likely get some errors. Now you will need to corret these. The errors you will get will be compile and linkig errors because there might be none portable code in there.
If its the case, you will need to fix those issues.
- redo last 2 steps until you get a fully working application
Note that porting an application is not the easyest task out there. It really depends on the software you want to port. Vrey well written software, will compile "out of the box" on any platform as long as you have the librairies. But you never know until you try it. And errors can be hard to fix.
If you really want to do it, go for it! But be aware its not a project that will only take a few hours. You are looking at a lot of work, speacilly if you are not used to programming.
"I want to make it use the libraries that the GIMP, GAIM, Inkscape, etc. use."
They use the Gtk+ libraries
"I want to port gLabels to Windows because I still have to use Windows sometimes, and I need to able to access my labels and business cards at all times. But I can't figure out how to do it, I'm not a big c++ person and a newbie to Linux. All I've got the source code, can someone point me in the right direction"
i havent used that prog. but i do cross build gimp and plugins for fedora and win xp
i use MinGW for win builds . first i would read all the info on building gimp in mingw then do a gimp build ( that way you will have compatable libs . then try a build of gLabels most likley ./configure --with-gtk=//your path
and see tor's page on gtk and gimp
So far, I've actually made a VC++ project out of it. Does anyone know where to get the following header files for Windows? They are required for gLabels:
try grabing the libs from mingw or gnuwin32 and the headers from mingw
and reright a copy fo the win headers to work as the mingw
i my self gave up on this aproch and do ALL my linux to win with mingw and not in visual stuido .net