Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vcos.h: No such file or directory #6

Open
chrisspen opened this issue Mar 17, 2016 · 2 comments
Open

vcos.h: No such file or directory #6

chrisspen opened this issue Mar 17, 2016 · 2 comments

Comments

@chrisspen
Copy link

I'm not sure if this is a bug or not, but attempting to build on Indigo running on an x86_64 platform gives me this error:

myproject/src/overlay/src/raspicam/src/RaspiCamControl.cpp:32:33: fatal error: interface/vcos/vcos.h: No such file or directory
 #include "interface/vcos/vcos.h"
                                 ^
compilation terminated.
[ 83%] Built target rpi_gpio_generate_messages_cpp
myproject/src/overlay/src/raspicam/src/RaspiCLI.cpp:46:33: fatal error: interface/vcos/vcos.h: No such file or directory
 #include "interface/vcos/vcos.h"
                                 ^
compilation terminated.
[ 83%] Built target rpi_gpio_generate_messages
make[2]: *** [raspicam/CMakeFiles/raspicamcontrol.dir/src/RaspiCamControl.cpp.o] Error 1
make[1]: *** [raspicam/CMakeFiles/raspicamcontrol.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[2]: *** [raspicam/CMakeFiles/raspicli.dir/src/RaspiCLI.cpp.o] Error 1
make[1]: *** [raspicam/CMakeFiles/raspicli.dir/all] Error 2
make: *** [all] Error 2
Invoking "make -j4 -l4" failed

I have all the required packages installed. Are the ARM/Raspbian packages the only ones that provide the vcos headers?

If I run the identical commands on the Pi, it builds fine.

It would be nice to be able to build on x86_64 and then push the binaries to the Pi just for ease of testing and faster performance. Should I be able to build this on a non-Pi platform?

@trishantroy
Copy link

trishantroy commented Jan 7, 2018

@chrisspen Is your problem solved?
Were you able to do it on a non-Pi platform?

Thanks

@chrisspen
Copy link
Author

No, I abandoned my efforts to cross-compile. It doesn't appear to be possible, short of using a virtual machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants