Hi Tom,
w.r.t. the Makefile not being created: On OSX when I do a qmake --help, it
says the following:
<snip>
Mode:
-project Put qmake into project file generation mode
In this mode qmake interprets files as files to be built,
defaults to *.c; *.ui; *.y; *.l; *.ts; *.xlf; *.qrc; *.h; *.hpp; *.hh;
*.hxx; *.H;*.cpp; *.cc; *.cxx; *.C
-makefile Put qmake into makefile generation mode (default)
In this mode qmake interprets files as project files to
be processed, if skipped qmake will try to find a project
file in your current working directory
</snip>
<snip>
Options:
* You can place any variable assignment in options and it will be *
* processed as if it was in [files]. These assignments will be parsed *
* before [files]. *
-o file Write output to file
-unix Run in unix mode
-win32 Run in win32 mode
-macx Run in Mac OS X mode
</snip>
However, also when using "qmake -makefile -macx pvQT.pro" or "qmake
-makefile -unix pvQT.pro" I don't get a Makefile. I suppose it is a bug in
qmake 4.4.1 (?). (Even though the --help says it defaults to makefile, bit
sloppy in their cross-platform texts)
So OSX developers/builders need to use the Xcode project (something for in
your pvQt-build.txt), which is not a problem at all, but deviates from the
standard makefile.
For the time being I wait for your new 0.2.35 version.
Harry
2008/10/27 Tom Sharpless <[EMAIL PROTECTED]>
>
> PS the proper typename is "GLint" for singed, "GLuint" for unsigned,
> not "glInt"
>
> On Oct 27, 10:38 am, Tom Sharpless <[EMAIL PROTECTED]> wrote:
> > Hi Harry
> >
> > Yes, this is a confusing bit. In fact if you just run the qmake
> > command again, it works, because the first run creates the build
> > directory -- but not until after the lines that failed. So an even
> > easier fix is to move those lines to the bottom of the .pro file.
> >
> > On Oct 27, 7:28 am, "Harry van der Wolf" <[EMAIL PROTECTED]> wrote:
> >
> > > Hi Tom,
> >
> > > w.r.t. the error when I run the "qmake pvQt.pro":
> >
> > > build/pvQtVersion.h: No such file or directory
> >
> > > It does that when I have a "fresh" pvQt-0.2.34-src directory and when I
> run
> > > it for the first time. The first time the directory does not contain a
> build
> > > directory. Therefore the script can't copy the pvQtVersion.h into this
> build
> > > directory. I made a quick patch for the pvQT.pro file, but only for the
> non
> > > windows side of it (does it work on windows?).
> > > You can find the diff attached.
> >
> > > Harry
> >
> > > 2008/10/26 Harry van der Wolf <[EMAIL PROTECTED]>
> >
> > > > 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
> >
> > > pvQt.pro.diff
> > > < 1KViewDownload
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---