Could not be compiled. Try rebuilding from source manually

I added an answer to this post with the solution I found to my problem. I had to inherit libraries and includes, as any other solution worked for me.

Thanks