Bukharitsyn / qt-opencv-multithreaded

Automatically exported from code.google.com/p/qt-opencv-multithreaded
0 stars 0 forks source link

QT creator complaining about "can't include file Buffer.h?" #5

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.I could have things running well in qt creator in other projects.
2.I comment out "#PKGCONFIG += opencv" and add my opencv configurations and 
then compile. 

What is the expected output? What do you see instead?
qt creator complains about can't include file Buffer.h, But I find Buffer.h 
lays right there!!

What version of the product are you using? On what operating system?
I am using qt 5.1 for vs2012, opencv 2.4.9 in windows 7 32bit.

Thanks!

Original issue reported on code.google.com by flankec...@gmail.com on 15 May 2014 at 9:50

GoogleCodeExporter commented 8 years ago
Jep same here with Visual Studio 13 compiler.
With MinGW there is another error. No openCV command works.
With Ubuntu and gcc it works great.

Original comment by jens.ba...@gmail.com on 26 May 2014 at 1:44

GoogleCodeExporter commented 8 years ago
Buffer.h happens to me as well , 
QT 5.2.1 for qt creator 3
Any ideas what can we do in order to fix it ?

Original comment by amir...@gmail.com on 28 May 2014 at 9:03

GoogleCodeExporter commented 8 years ago
@amirhev: Are you using Windows as well?

I'll look into this issue this weekend.

Original comment by nickdad...@gmail.com on 28 May 2014 at 10:42

GoogleCodeExporter commented 8 years ago
Well, for my situation, I just change all #include <Buffer.h> to #include 
"Buffer.h". 
And no errors remain.
Hopefully this may help.
I think it's just compiler and IDE goes wrong with local and global path.

Original comment by flankec...@gmail.com on 29 May 2014 at 3:21

GoogleCodeExporter commented 8 years ago
@flankechen: Many thanks.

r175 addresses this issue. One line change in SharedImageBuffer.h:
https://code.google.com/p/qt-opencv-multithreaded/source/detail?r=175

@Windows Users: Please let me know if your header include issues are resolved 
with this fix.

Original comment by nickdad...@gmail.com on 1 Jun 2014 at 10:12

GoogleCodeExporter commented 8 years ago
As mentioned previously, fixed in 
https://code.google.com/p/qt-opencv-multithreaded/source/detail?r=175

Original comment by nickdad...@gmail.com on 9 Sep 2014 at 6:03