I've got Qt 4.3.2

imagefile reports an error

/home/cruise/svn/hydro/src/hydrodrivers/imagefile/driver.cpp: In constructor
‘imagefile::Driver::Driver(hydroimage::Config&, const hydroutil::Context&)’:
/home/cruise/svn/hydro/src/hydrodrivers/imagefile/driver.cpp:41: error:
‘Format_RGB888’ is not a member of ‘QImage’
make[2]: *** [src/hydrodrivers/imagefile/CMakeFiles/HydroImageFile.dir/driver.o]
Error 1
make[1]: *** [src/hydrodrivers/imagefile/CMakeFiles/HydroImageFile.dir/all]
Error 2
make: *** [all] Error 2

That format ‘Format_RGB888 is only available in Qt4.4.0 and greater
http://doc.trolltech.com/qtjambi-4.4/html/com/trolltech/qt/gui/QImage.Format.html

Alen


Thomas Burdick wrote:
imagefile shouldn't require any version of qt4 greater than qt 4.0.0
itself. otherwise I'd consider it a bug. it primarly uses QImage to
load an image and thats it.

-Tom

On 12/18/08, Ben Upcroft <upcroft@gmail.com> wrote:
  
Hey Alen,

    
imagecvcamera

if you run pkg-config --cflags opencv
You will get
-I/opt/opencv-1.0.0/include/opencv (or -I/isr/local/include/opencv)
So the compiler is complaing about the include files opencv/cv.h and
opencv/highgui.h
      
Should be fixed now. includes in imagecvcamera/driver.h have been changed
to:
#include <cv.h>
#include <highgui.h>

Not really sure how it was working before on anyone's system. How come
devdebian was still working? I would have thought that CDash would
come up with a bunch of errors.

Thanks for pointing out the problem. If I've done this somewhere else,
I'm happy for you to fix it.

Ben



    
Since FindOpenCV.cmake uses pkg-config I'm not sure how this compiles on
other systems?

imagefile

The version of imagefile requires QT 4.4.0, the only check is performed
for
Qt4>=4.2

Alen

________________________________

UTS CRICOS Provider Code: 00099F
DISCLAIMER: This email message and any accompanying attachments may
contain
confidential information. If you are not the intended recipient, do not
read, use, disseminate, distribute or copy this message or attachments. If
you have received this message in error, please notify the sender
immediately and delete this message. Any views expressed in this message
are
those of the individual sender, except where the sender expressly, and
with
authority, states them to be the views the University of Technology,
Sydney.
Before opening any attachments, please check them for viruses and defects.

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Orca-robotics-devel mailing list
Orca-robotics-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/orca-robotics-devel


      

--
Ben Upcroft
Staff House Road
Mansergh Shaw Building (#45)
Mechanical Engineering Division
The University of Queensland
St Lucia QLD 4072
Australia
Ph:  +61 7 3346 8751
Fax: +61 7 3365 4799
web: http://www.mech.uq.edu.au/staff/upcroft/

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Orca-robotics-devel mailing list
Orca-robotics-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/orca-robotics-devel

    

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Orca-robotics-devel mailing list
Orca-robotics-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/orca-robotics-devel
  

-- 
Alen Alempijevic

Research Associate
ARC - Centre of Excellence in Autonomous Systems
Mechatronics & Intelligent Systems Group
FEIT, University of Technology Sydney
PO Box 123, Broadway NSW 2007
P +61 2 9514 2963
F +61 2 9514 2655



UTS CRICOS Provider Code: 00099F
DISCLAIMER: This email message and any accompanying attachments may contain confidential information. If you are not the intended recipient, do not read, use, disseminate, distribute or copy this message or attachments. If you have received this message in error, please notify the sender immediately and delete this message. Any views expressed in this message are those of the individual sender, except where the sender expressly, and with authority, states them to be the views the University of Technology, Sydney. Before opening any attachments, please check them for viruses and defects.