How does this cause an error? What flags are you passing to the compiler? You should have at leastoseid wrote:Hello, I'm a relatively new raspberry pi user. I like doing graphics programming, so I was trying out EGL and GLES version 2. I wrote a minimal program, but when I tried to compile it, I keep getting issues with included vcos files. For example, /opt/vc/include/interface/vcos/vcos.h had the line #include "interface/vcos/vcos_init.h". However, vcos_init.h is in the same directory as vcos.h so this include causes a compilation error. I tried editing these files to include the correct file paths, but the same problem is happening with pretty much all the files. Has anyone else had this issue? Am I making some silly mistake?
Code: Select all
-I/opt/vc/include -I/opt/vc/include/interface/vmcs_host/linux -I/opt/vc/include/interface/vcos/pthreads