New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus • Advice and insight from world-class Apple enthusiasts • Exclusive access to members-only contests, giveaways and deals

Join today!

Start a Discussion

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

Development Project Roadblocks

Post Reply New Thread Subscribe

Thread Tools

Member Since: Jul 09, 2009
Location: Colorado
Posts: 356
mbohn will become famous soon enough

mbohn is offline
This is a rather long post but you may enjoy reading it. I'm not asking for any help but comments are welcome if you are so inclined.

I've been developing software with Delphi since V1.0 in 1994. When I was considering buying my MBP I thought I'd probably have to leave Delphi behind. But then I discovered Lazarus, an open-source, cross-platform Object Pascal IDE. Like many other old-time Delphi guys, I was excited about this possibility. Especially since I've got an app I've been working on for 2 years and need to deploy. I wasn't expecting the changeover to be perfectly smooth but....

I've documented the roadblocks here, just for grins. It involves two computers and three operating systems with Delphi on one, Lazarus on all three. Every roadblock felt like a steel-reinforced concrete wall 40 meters wide, 10 meters deep, and 10 meters high, partly because the solution of each involved joining forums, asking for help and generally getting a bunch of bad advice with an occasional gem tossed in.

It plays out like a Dilbert cartoon, except I've got no pointy-haired boss looking over my shoulder. I hope no one else has this kind of grief.

At this moment it looks like the Mac platform will be the solution. I guess I always hoped that would be the case since it's all new and bright and shiny, and generally really nice to work with. I may even go out and buy an Apple mouse and a large monitor to compliment my 13" MBP screen.

I hesitate to say I'm now moving forward again because every time I do, I get bit in the rear and have to recant my proclamation. But there is always hope. I'm nothing if not persistent.

Delphi to Lazarus Headaches

Nov '07 to Aug '09
Develop app in Delphi/XP on a Dell D610 laptop

Aug '09
Purchase Macbook Pro (MBP) as replacement for Dell laptop which is 4 years old. Install Lazarus on MBP and continue development of my app on that platform. Long-term plan is to deploy as a Linux console app

Oct '09
Upgrade MBP OS from 10.5.8 to 10.6.2 and find that Lazarus debugger stops working. Since there is about 9000 lines of code, proceeding without a debugger is not practical.

Go back to Delphi on Dell

Nov '09
Decide to install Ubuntu on a separate partition on the Dell HD to keep project moving towards goal of Linux console app, while waiting for the Lazarus developers to fix the debugger bug.

Try to install Clonezilla on Dell to allow me to make a HD image in case there is a problem with Ubuntu install. Tried to burn iso on several CDs but all failed. USB worked well and finally image the Dell HD to an external HDD.

Test Ubuntu 9.04 Live CD and it looks good.

Ubuntu 9.10 comes out and the consensus is to install that rather than 9.04 + upgrade.

After a couple of tries at burning the iso to CD I get one that works, and the repartitioning/install of Ubuntu goes well.

Dec '09
Discover that wireless doesn't work on Ubuntu 9.10. Use MBP as an Internet portal and/or borrow printer's ethernet so the Dell can connect.

Download Lazarus 0.9.29 for Linux via MBP, and after several attempts (is my MBP CD burner flakey?) burn to CD and install Lazarus on Dell/Ubuntu. Repeat for Lazarus on Dell/XP as backup plan #7c.

Start moving Delphi app to Lazarus/Ubuntu/Dell and begin converting it to the desired console app.

Discover a Lazarus/Ubuntu hang while doing a simple code edit operation. Report bug. All conversion work on 12/17 was lost.

Lazarus OSX debugger bug discovered in Oct 09 is reportedly fixed in 0.9.29 SVN/r23192. Download and install, looks good.

Resume conversion of app to console app, this time on Lazarus/OSX. Current plan: finish conversion work on Mac, build as Linux target and use Dell/Ubuntu machine for testing the console app only.
engine simulation software
QUOTE Thanks

Post Reply New Thread Subscribe

« Help needed on F_NOCACHE | bluefish installation issue »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread Starter
Last Post
Please help compile project _chaos_ OS X - Development and Darwin 1 07-17-2008 10:11 AM
Unable to open project files and XML Translation was aborted due to a critical error Fat Chocolate Movies and Video 1 04-06-2008 02:49 PM
Project Management Software CRH OS X - Apps and Games 3 01-19-2007 04:51 PM

All times are GMT -4. The time now is 07:33 PM.

Powered by vBulletin
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.

Welcome to

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!

(4 digit year)

Already a member?