Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » External resources » tutorial 609dev2 image03 BUG
tutorial 609dev2 image03 BUG [message #5186] Sat, 09 September 2006 19:22 Go to next message
nicomesas is currently offline  nicomesas
Messages: 104
Registered: September 2006
Location: Barcelona, Spain
Experienced Member
In file tutorial/Image03/main.cpp line 42
	ImageBuffer ib = img;

it causes an error
----- Image03 ( GUI MAIN GCC32 DEBUG SHARED DEBUG_FULL BLITZ LINUX ) (10 / 10)
main.cpp
/home/nico/upp/tutorial/Image03/main.cpp: In member function ‚€˜virtual void MyApp::LeftDown(Point, dword)‚€™:
/home/nico/upp/tutorial/Image03/main.cpp:42: error: no se encuentra una funci√≥n coincidente para la llamada a ‚
	€˜ImageBuffer::ImageBuffer(ImageBuffer)‚€™
/home/nico/upp/uppsrc/Draw/Image.h:99: nota: los candidatos son: ImageBuffer::ImageBuffer(ImageBuffer&)
/home/nico/upp/uppsrc/Draw/Image.h:98: nota:                     ImageBuffer::ImageBuffer(ImageDraw&)
/home/nico/upp/uppsrc/Draw/Image.h:97: nota:                     ImageBuffer::ImageBuffer(Image&)
/home/nico/upp/uppsrc/Draw/Image.h:96: nota:                     ImageBuffer::ImageBuffer(Size)
/home/nico/upp/tutorial/Image03/main.cpp:42: error:   initializing temporary from result of ‚€˜ImageBuffer::Image
	Buffer(Image&)‚€™
Image03: 1 file(s) built in (0:02.74), 2746 msecs / file, duration = 2758 msecs

There were errors. (0:02.88)


I correct this error by adding the next code:

ImageBuffer ib ;
ib=img ;


Nico
Re: tutorial 609dev2 image03 BUG [message #5189 is a reply to message #5186] Sun, 10 September 2006 00:09 Go to previous message
mirek is currently offline  mirek
Messages: 12105
Registered: November 2005
Ultimate Member
Thanks, fixed.

Mirek
Previous Topic: C++ language usage by B.S and others...
Next Topic: OpenMoko
Goto Forum:
  


Current Time: Wed Nov 20 20:57:40 CET 2019

Total time taken to generate the page: 0.01509 seconds