I had that error before as well and it did work with the complete path.
But Panoramic counts the line numbers incorrectly then and gives you errors in lines, where no error exists, because it counts correct internaly, but not in the editor because of the included files.
Kind regards, Fordi