Home » U++ Library support » U++ Library : Other (not classified elsewhere) » geom package?
Re: geom package? [message #9902 is a reply to message #9900] |
Fri, 08 June 2007 00:28 |
gertwin
Messages: 25 Registered: May 2007 Location: Netherlands
|
Promising Member |
|
|
pap2k wrote on Thu, 07 June 2007 11:33 | It work now on windows !
In a first time i'm using a splitter and "it fall in work) !
After i undertand that i've to use :
Add(plot);
to init my instance of MyPlot. That was my mistake.
I'm a upp newbie ...
What's wrong on linux ?
I'm also interested by a working version on linux!
(i've got compiling pb on mingw too).
|
I'm also a upp newbie, i hope there are more experienced geom package users on this forum to help us a little.
g++ reports many problems of this from:
decl:
void Rescale(RasterEncoder& tgt, Size tsz, Raster& src, const Rect& src_rc);
call:
Rescale(ImageWriter(put->block, org.TopLeft()), org.Size(), ImageBufferRaster(block.block), RUNIT);
g++ complains:
no matching function for call to 'Rescale(Upp::ImageWriter, Upp::Size_<int>, Upp::ImageBufferRaster, const Upp::Rect&)
I don't know if the references are ment to be output parameters, guess not because the var is contructed in the call so maybe the decl must use const parameters.
Does the microsoft compiler generates warnings compiling this kind of code?
So i changed it, this wil compile:
ImageWriter iw(put->block, org.TopLeft());
ImageBufferRaster ibr(block.block);
Rescale(iw, org.Size(), ibr, RUNIT);
I went through the geom package solving all this kind of problems.
My first goal is make it compilable, not worrieing about functionality.
The only problem i have now is a linking problem, after that i can start using the geom package.
Problem is that i created my own copy of the geom package wich i changed, i don't want to do that after each release.
Maybe i can provide a patchfile for the geom maintainer.
Gertwin
|
|
|
|
|
geom package?
By: gertwin on Fri, 25 May 2007 22:45
|
|
|
Re: geom package?
By: mirek on Sat, 26 May 2007 07:53
|
|
|
Re: geom package?
By: gertwin on Sat, 26 May 2007 14:35
|
|
|
Re: geom package?
By: mirek on Mon, 28 May 2007 14:43
|
|
|
Re: geom package?
By: gertwin on Mon, 28 May 2007 22:15
|
|
|
Re: geom package?
By: rylek on Mon, 28 May 2007 23:29
|
|
|
Re: geom package?
By: gertwin on Tue, 29 May 2007 22:56
|
|
|
Re: geom package?
By: pap2k on Fri, 01 June 2007 16:19
|
|
|
Re: geom package?
By: gertwin on Mon, 04 June 2007 08:34
|
|
|
Re: geom package?
By: pap2k on Tue, 05 June 2007 09:20
|
|
|
Re: geom package?
By: gertwin on Wed, 06 June 2007 12:41
|
|
|
Re: geom package?
By: pap2k on Thu, 07 June 2007 11:33
|
|
|
Re: geom package?
By: gertwin on Fri, 08 June 2007 00:28
|
|
|
Re: geom package?
By: tlukanov on Thu, 16 August 2007 09:45
|
Goto Forum:
Current Time: Fri Nov 01 00:19:57 CET 2024
Total time taken to generate the page: 0.00530 seconds
|