I have installed QuantLib on Mac. I also compiled the bermudaswaption successfully, as an example.
I tried to modify/debug the code of QuantLib like analyticeuropeanengin