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

GCC 6.3, need to remove parameters #39

Open
sebakerckhof opened this issue Oct 12, 2017 · 1 comment
Open

GCC 6.3, need to remove parameters #39

sebakerckhof opened this issue Oct 12, 2017 · 1 comment

Comments

@sebakerckhof
Copy link

sebakerckhof commented Oct 12, 2017

When I try to install this on debian stretch with GCC 6.3, the node-gyp rebuild step fails with the following error:

> v4l2camera@1.0.4 install /home/barco/test/node_modules/v4l2camera
> node-gyp rebuild

make: Entering directory '/home/barco/test/node_modules/v4l2camera/build'
  CC(target) Release/obj.target/v4l2camera/capture.o
In file included from ../capture.h:7:0,
                 from ../capture.c:1:
/usr/include/linux/videodev2.h:2126:20: error: field ‘timestamp’ has incomplete type
  struct timespec   timestamp;
                    ^~~~~~~~~
v4l2camera.target.mk:112: recipe for target 'Release/obj.target/v4l2camera/capture.o' failed
make: *** [Release/obj.target/v4l2camera/capture.o] Error 1
make: Leaving directory '/home/barco/test/node_modules/v4l2camera/build'
...

If I manually clone this repo to node_modules and remove the -std=c11 and -std=c++14 flags from the binding file, everything seems to build and work.

@RichAyotte
Copy link

RichAyotte commented Mar 21, 2018

Maybe a dup of #30

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