Hi Harry,

Thanks for all your work on this.  I do hope we can release a Mac
version built by you very soon, as people have been asking for one.

When I said "add casts" I meant things like "(glInt) x" that ask the
compiler to give x the type glInt, if it can ( in C++ equivalently
"glInt(x)" which I like better because it looks like the type-
conversion function that it really is).

However, on reconsideration, I realized that those variables should be
declared as glInt in the first place.  I've tried to do that in the
source I'm about to upload.  The main improvement, though, is that the
latest version does show images on OpenGL 1.4, while the one I just
released (0.2.34) does not.  I also fixed a couple of bad spots in the
UI, and the build directory problem.

So please take a look soon for SVN version 35 and build from it.

Regards, Tom

On Oct 26, 3:04 pm, "Harry van der Wolf" <[EMAIL PROTECTED]> wrote:
> Hi Tom,
>
> > It does not fail on the pvQtVersion.h. It does this in the second build
> > when
> > > I "clean" my target before building. It also removes the pvQtVersion.h.
> > This
> > > is my fault.
>
> > pvQtVersion.h is not removed by "clean" on my Windows and ubuntu
> > system.
>
> Sorry I was not specific enough. I said "when I "clean" my ..". If I do it
> via the Xcode IDE it remains where it is. Most of the times when things are
> not working as expected I just remove the entire build directory (rm -rf
> build).
>
>
>
>
>
> > > If I compile in Xcode on Leopard 10.5 with "default universal"  settings
> > it
> > > compiles fine.
>
> > > On the other hand: when compiling in Xcode (on Leopard 10.5) with
> > deployment
> > > target 10.4 (Tiger) it does say:
> > > /Users/Shared/development/pvqt/src/pvQtView.cpp:609: error: invalid
> > > conversion from 'int*' to 'GLint*'
> > > /Users/Shared/development/pvqt/src/pvQtView.cpp:609: error:
> > initializing
> > > argument 4 of 'void glGetTexLevelParameteriv(GLenum, GLint, GLenum,
> > GLint*)'
>
> > I guess GLint is not identical to int on your OpenGL -- please add
> > casts and try again.
>
>  It has to do with the OpenGl version it has to be compiled against: on
> Tiger (10.4.x) it is 1.4.x. On Leopard (10.5.x) it is 1.5.x. When I compile
> the default way, e.g. OpenGl 1.5 on Leopard, it works. When I cross-compile
> downward compatible, e.g. for OSX 10.4 (and up) on 10.5 I do get the error.
> I attached the gl.h from Tiger and Leopard to the mail. On Tiger Glint is a
> long, on Leopard it is an int.
>
> I connected my USB drive with Tiger to my macbook and rebooted and tried to
> build it. The error on Tiger is exactly the same as on Leopard when
> compiling for Tiger and up (which is obvious but better safe than sorry).
>
> You mention "please add casts and try again." I googled a bit but I'm still
> lost.
> So: Tell me how master, and your obedient servant will try ;-)
>
> (Another option might be to test for the MacOSX version.
> on Tiger "uname -sr" gives "Darwin 8.11.1"
> on Leopard it gives "Darwin 9.5.0")
>
> Harry
>
>
>
>
>
>  gl.h.Tiger
> 200KViewDownload
>
>  gl.h.leopard
> 203KViewDownload
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/hugin-ptx
-~----------~----~----~----~------~----~------~--~---

Reply via email to