Trouble compiling butterfly.cpp

Recommended Posts

I ordered a Papilio One and while waiting for it to get here I downloaded and installed Xylinx ISE. I now need to get the butterfly.cpp to compile and get the following error:

butterfly.cpp:308:1: fatal error: opening dependency file .deps/butterfly.Tpo: Permission denied

compilation terminated.

Any suggestions? I'm running Ubuntu 12.04 LTS. There are no other errors reported. I can't even find this file. Forgive me but I'm an analog hardware engineer, programming is not my strongest side (but I'm trying to learn, maybe it will help me find a job). I want to use FPGA's in current mode power supplies.


Share this post

Link to post
Share on other sites

Do a "ls -al" to check the permissions and ownership of the files. Or just "sudo bash" and do the compilation as root, it's not the recommended approach but will make things easier.


Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now