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 » 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 Go to previous messageGo to previous message
gertwin is currently offline  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. Razz

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


 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon5.gif
Previous Topic: SMTP non english error messages
Next Topic: bug? : operator "!" for "bool"
Goto Forum:
  


Current Time: Thu May 16 22:50:50 CEST 2024

Total time taken to generate the page: 0.01699 seconds