It would be easier if you provided a main() and #include's - basically something complete that should compile.
Then using that code, copy/paste the errors that Portland is giving you.

gg