Results 1 to 2 of 2

Thread: NEED HELP !! fatal error: qv4l2.h: No such file in directorary

  1. #1
    Join Date
    Nov 2013
    Location
    Hyderabad
    Posts
    52
    Qt products
    Qt4
    Platforms
    Unix/X11
    Thanks
    13
    Thanked 2 Times in 2 Posts

    Default NEED HELP !! fatal error: qv4l2.h: No such file in directorary

    Hi
    I'm working with Qt 4.7 on ubuntu 10.04. Here goes my problem
    Even after naming the header file with .h extension, my compiler gives this error both in terminal prompt and Code blocks in .cpp file. How can I fix this issue? please somebody help me...


    /home/kumar/qt/example/webca[SIZE=3][/SIZE]m/webcam/src/capture-win.cpp:10: fatal error: qv4l2.h: No such file or directory

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,714
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows
    Thanks
    21
    Thanked 418 Times in 411 Posts

    Default Re: NEED HELP !! fatal error: qv4l2.h: No such file in directorary

    you have to make sure that qv4l2.h is in your header search path.

    However I am trouble by the comment:
    Even after naming the header file with .h extension,
    Which header did you rename? what exactly is included in the code <qv4l2> or <qv4l3.h>?
    Renaming files is very probable not the way to go.
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. fatal error cannot open file 'qtmaind.lib'
    By guna8985 in forum Qt Programming
    Replies: 1
    Last Post: 12th August 2011, 15:17
  2. Replies: 3
    Last Post: 1st November 2010, 17:33
  3. Replies: 4
    Last Post: 9th May 2010, 17:18
  4. Fatal IO error with QGLWidget and reading a file
    By mcn in forum Qt Programming
    Replies: 1
    Last Post: 16th March 2010, 16:21

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.