Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.

Compile with Lazarus

kneekoo's profile image kneekoo posted 9 years ago in General Permalink
:) Hello! I just found out about HeidiSQL and I like it already. The thing is I'm using Linux (Mint 9, based on Ubuntu 10.04 "Lucid Lynx") and although I successfully ran the software in Wine, I thought it would be cool if I would try to compile it in Linux so I can have a native app.

I installed Lazarus and I opened main.dpr, then I tried building it but I got some missing libraries errors, which I fixed like this:

sudo ln -s /usr/lib/libgtk-x11-2.0.so.0.2000.1 /usr/lib/libgtk-x11-2.0.so
sudo ln -s /usr/lib/libgdk_pixbuf-2.0.so.0.2000.1 /usr/lib/libgdk_pixbuf-2.0.so
sudo ln -s /usr/lib/libgtk-x11-2.0.so.0.2000.1 /usr/lib/libgtk-x11-2.0.so
sudo ln -s /usr/lib/libgdk-x11-2.0.so.0.2000.1 /usr/lib/libgdk-x11-2.0.so
sudo ln -s /usr/lib/libpango-1.0.so.0.2800.0 /usr/lib/libpango-1.0.so
sudo ln -s /usr/lib/libcairo.so.2.10800.10 /usr/lib/libcairo.so


To my surprise, I didn't encounter any error after that - the build went perfectly. The thing is I'm not familiar enough with compiling stuff like this so can anyone help me (and others) set up a project file to include all the source and dependencies so we can build it with Lazarus?

Considering the code is so clean/compatible with Lazarus I think this might be reasonably easy to accomplish. What do you guys think about it? Would you give it a try?

http://lazarus.freepascal.org/
ansgar's profile image ansgar posted 9 years ago Permalink
Feel very free to try that! I had done so some time before but not with enough time, and I ended up in having one million problems so I gave up. Wine is nice but a native app would bring more speed and less inconveniance.
kneekoo's profile image kneekoo posted 9 years ago Permalink
Well that's the problem I'm facing - I'm not used to Delphi/FreePascal development so this would definitely take some time if I'd try. I just don't have enough time so I passed the information in here hoping that it might be picked by someone else. I still hope that. HeidiSQL is a beautiful application. :)
Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.
ansgar's profile image ansgar posted 9 years ago Permalink
Having a native Linux binary would be really cool so I would be glad to spend some more time on Lazarus. Only I'm very sure that HeidiSQL's Windows API calls and its use of Windows messages cannot succeed on Linux, so I might get stuck again, while having serious bugs to kill now. Probably later.
kneekoo's profile image kneekoo posted 9 years ago Permalink
I see. Well... at least I tried. Thank you for taking time to answer.smileGood luck!

Please login to leave a reply, or register at first.




Ads were blocked - no problem. But keep in mind that developing HeidiSQL, user support and hosting takes time and money. You may want to send a donation instead.