[Bf-python] libpng conflict between wxPython and Blender
www.stani.be
s_t_a_n_i at yahoo.com
Fri Sep 5 20:09:37 CEST 2003
I got the following reply of a Linux user:
Hi Stani,
please forward this to blender developers.
>> Blender does not use libpng.
Blender DOES use libpng (it can handle png images
after all).
>> The releases of blender are built with
>> the regular (NaN) make environment. If you check
the nan_link.mk file
>> in source, you'll see that there's no reference to
png. Also, doing a
>> "ldd blender" does not show that blender depends on
libpng.
It's statically linked against libpng therefore ldd
doesn't show it.
It's added in source/Makefile on line 136:
COMLIB += $(NAN_PNG)/lib/libpng.a
I was able to produce a blender that segfaults when
trying to start
spe.py and one that works fine. All I had to do is to
point the
variable NAN_PNG (in nan_definitions.mk) to libpng
v1.0.15 in the first
case and to v1.2.5 in the latter case.
Since there's also the libpng.dll v1.2.x (for windows
obviously)
included in blender cvs I see no reason why blender
uses
v1.0.12 on Linux (and maybe other OS too).
I still believe that this is a general problem of
blender
(precompiled binaries) - not just of python and maybe
not platform
dependent.
Bye,
Tina
--- Michel Selten <michel.s at home.nl> wrote:
> On Sat, 2003-08-30 at 17:01, www.stani.be wrote:
> > Hi,
> >
> > I don't know if this is the right forum, but
> according
> > to a spe user (see feedback below) wxPython seems
> to
> > conflict with the Linux Blender version. As this
> is
> > out of my reach, could someone please check this?!
> If
> > it is true, this conflict makes it unfortunately
> > impossible to run spe (or any other wxPython
> > application) from Blender. How can we solve this
> > problem?
>
> This is definately ok to ask here :)
>
> > This was the feedback from a Linux user:
> > spe running from within blender 1:
> > It runs fine with blender I compiled myself
> however
> > the official binary from blender3d.com breaks with
> a
> > couple of errors. After doing some tests I found
> out
> > that it's a problem with incompatible versions of
> > libpng, i.e. 1.0.x vs. 1.2.x. It is/was actually
> not
> > just a
> > problem of spe/blender but one I had already many
> > months ago with other apps (but those vanished
> over
> > time). It seems that blender is compiled with
> 1.0.x
> > but (I think) most users have the newer version
> now.
> > There
> > are two reasons why I could not start spe from
> within
> > blender:
> > 1. spe uses png images (wx is compiled with libpng
> > 1.2.x).
> > 2. I use a gtk2 theme engine that uses png images
> > (compiled with libpng
> > 1.2.x).
> > After changing the theme to standard and changing
> all
> > the png stuff in
> > spe to e.g. tiff I could start it.
>
> Blender does not use libpng. The releases of blender
> are built with the
> regular (NaN) make environment. If you check the
> nan_link.mk file in
> source, you'll see that there's no reference to png.
> Also, doing a "ldd
> blender" does not show that blender depends on
> libpng.
>
> So the problem must be somewhere else.
>
> With regards,
> Michel
>
>
> _______________________________________________
> Bf-python mailing list
> Bf-python at blender.org
> http://www.blender.org/mailman/listinfo/bf-python
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
More information about the Bf-python
mailing list