Re: [Flightgear-devel] jpeg-factory in simgear and flightgear

2005-10-28 Thread Oliver Schroeder
Am Thursday 27 October 2005 16:55 schrieb Curtis L. Olson:
> Oliver Schroeder wrote:
> >Hi list.
> >
> >I just stumbled over the jpeg-factory again. Simgear defaults to build
> > with jpeg factory enabled, while flightgear defaults to build without it.
> > So one either has to supply "--without-jpeg-factory" to simgears
> > configure or "--with-jpeg-factory" to flightgears.
> >This should be harmonised. I experienced it under Linux and didn't look
> > into it. Maybe the defaults are correctly set under other environments.
>
> I believe the defaults are correctly set to both build without, but once
> you build and install simgear with it, the header file is installed so
> flightgear autodetects it.  If you later build simgear without, that
> header file will still be installed and flightgear gets confused.  You
> just need to remove the installed simgear header file for jpeg factory
> and you should be good from that point on.

Your are right. Deleting the header file solved this problem.
Just for the record, it's $(INLCUDEDIR)/simgear/screen/jpgfactory.hxx

regards,
Oliver

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


Re: [Flightgear-devel] jpeg-factory in simgear and flightgear

2005-10-27 Thread Curtis L. Olson

Oliver Schroeder wrote:


Hi list.

I just stumbled over the jpeg-factory again. Simgear defaults to build with 
jpeg factory enabled, while flightgear defaults to build without it. So one 
either has to supply "--without-jpeg-factory" to simgears configure or 
"--with-jpeg-factory" to flightgears.
This should be harmonised. I experienced it under Linux and didn't look into 
it. Maybe the defaults are correctly set under other environments.
 



I believe the defaults are correctly set to both build without, but once 
you build and install simgear with it, the header file is installed so 
flightgear autodetects it.  If you later build simgear without, that 
header file will still be installed and flightgear gets confused.  You 
just need to remove the installed simgear header file for jpeg factory 
and you should be good from that point on.


Curt.

--
Curtis Olsonhttp://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:2f585eeea02e2c79d7b1d8c4963bae2d


___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] jpeg-factory in simgear and flightgear

2005-10-27 Thread Oliver Schroeder
Hi list.

I just stumbled over the jpeg-factory again. Simgear defaults to build with 
jpeg factory enabled, while flightgear defaults to build without it. So one 
either has to supply "--without-jpeg-factory" to simgears configure or 
"--with-jpeg-factory" to flightgears.
This should be harmonised. I experienced it under Linux and didn't look into 
it. Maybe the defaults are correctly set under other environments.

regards,
Oliver.

___
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d