Skip to content

vcos.h: No such file or directory #6

@chrisspen

Description

@chrisspen

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions