Archive for the ‘mac’ Category

Western Digital Drive with Leopard - “File system formatter failed.”

Tuesday, February 26th, 2008

I just bought a 1TB Western Digital drive. I am stoked. However, I tried to format the drive on my Mac (Leopard) and got the error "File system formatter failed" when I tried to format the disk as MacOS Extended (Journaled). Not cool. I found this forum thread which suggested ...

External Libraries in XCode

Wednesday, February 6th, 2008

I need to compile something and use the MySQL C++ library. I have mysql and mysql++ already compiled, I won't go over how to do that now. I added the following code to the top of my source: #include <mysql++.h> I got an error /Users/jhaddad/dev/search_engine/main.cpp:4:21: error: mysql++.h: No such file or directory Not ...

Tool for Testing API’s on a Mac

Wednesday, February 6th, 2008

I wasn't able to find anything that I liked. I basically wanted a front end for curl with bookmarks. Check out my cleverly named Api Tester. No docs yet, but I hope it's self explanatory. Click the plus on the bottom left to add a bookmark. ...

Regex Coach Mac Substitute

Sunday, December 2nd, 2007

For a while I had to use a Windows box for my development. Fortunately, I was able to make a good case for my company to switch me to a MacBook Pro. One of the tools that took me a while to track down was a regex testing ...

Compiling Imagemagick on MacOS X - Not finding libjpeg

Thursday, November 1st, 2007

I ran into an issue trying to get Imagemagick (convert) working on OSX last night. I had compiled libjpeg and installed it, but when I would compile convert, it would not have jpeg support. I found this post on dzone, which I followed and was able to use libjpeg just ...