[Interest] more problems with virtual frame buffer

8 views
Skip to first unread message

Duane

unread,
Apr 3, 2012, 8:35:25 AM4/3/12
to inte...@qt-project.org
I've built a desktop version of 4.8.1 open source and I'm trying to make
the qvfb binary. I get a series of errors involving png_* like
png_structp does not name a type.

I have png support built. I have libpng installed. I've seen a few
posts on the web with this same issue but no solution. I'm using Fedora
16. My colleague using the latest Ubuntu doesn't have this issue. What
am I missing?

_______________________________________________
Interest mailing list
Inte...@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Thiago Macieira

unread,
Apr 3, 2012, 9:09:29 AM4/3/12
to inte...@qt-project.org
On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote:
> I've built a desktop version of 4.8.1 open source and I'm trying to make
> the qvfb binary. I get a series of errors involving png_* like
> png_structp does not name a type.
>
> I have png support built. I have libpng installed. I've seen a few
> posts on the web with this same issue but no solution. I'm using Fedora
> 16. My colleague using the latest Ubuntu doesn't have this issue. What
> am I missing?

What is the exact error?

--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

signature.asc

Duane

unread,
Apr 3, 2012, 9:16:24 AM4/3/12
to inte...@qt-project.org
On 04/03/2012 09:09 AM, Thiago Macieira wrote:
> On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote:
>> I've built a desktop version of 4.8.1 open source and I'm trying to make
>> the qvfb binary. I get a series of errors involving png_* like
>> png_structp does not name a type.
>>
>> I have png support built. I have libpng installed. I've seen a few
>> posts on the web with this same issue but no solution. I'm using Fedora
>> 16. My colleague using the latest Ubuntu doesn't have this issue. What
>> am I missing?
>
> What is the exact error?

There are 57 or so.

'png_structp' does not name a type
'png_infop' does not name a type
'png_structp' has not been declared
'png_bytep' has not been declared
'png_size_t' has not been declared

Konstantin Tokarev

unread,
Apr 3, 2012, 9:19:42 AM4/3/12
to duane....@group-upc.com, inte...@qt-project.org

03.04.2012, 17:16, "Duane" <duane....@group-upc.com>:


> On 04/03/2012 09:09 AM, Thiago Macieira wrote:
>
>>  On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote:
>>>  I've built a desktop version of 4.8.1 open source and I'm trying to make
>>>  the qvfb binary.  I get a series of errors involving png_*  like
>>>  png_structp does not name a type.
>>>
>>>  I have png support built.  I have libpng installed.  I've seen a few
>>>  posts on the web with this same issue but no solution.  I'm using Fedora
>>>  16.  My colleague using the latest Ubuntu doesn't have this issue.  What
>>>  am I missing?
>>  What is the exact error?
>
> There are 57 or so.
>
> 'png_structp' does not name a type
> 'png_infop'  does not name a type
> 'png_structp' has not been declared
> 'png_bytep' has not been declared
> 'png_size_t' has not been declared

You need libpng-devel or something alike.

--
Regards,
Konstantin

Thiago Macieira

unread,
Apr 3, 2012, 9:25:13 AM4/3/12
to inte...@qt-project.org
On terça-feira, 3 de abril de 2012 09.16.24, Duane wrote:
> On 04/03/2012 09:09 AM, Thiago Macieira wrote:
> > On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote:
> >> I've built a desktop version of 4.8.1 open source and I'm trying to make
> >> the qvfb binary. I get a series of errors involving png_* like
> >> png_structp does not name a type.
> >>
> >> I have png support built. I have libpng installed. I've seen a few
> >> posts on the web with this same issue but no solution. I'm using Fedora
> >> 16. My colleague using the latest Ubuntu doesn't have this issue. What
> >> am I missing?
> >
> > What is the exact error?
>
> There are 57 or so.
>
> 'png_structp' does not name a type
> 'png_infop' does not name a type
> 'png_structp' has not been declared
> 'png_bytep' has not been declared
> 'png_size_t' has not been declared

What are the *EXACT* errors?

signature.asc

Duane

unread,
Apr 3, 2012, 9:25:29 AM4/3/12
to inte...@qt-project.org
On 04/03/2012 09:19 AM, Konstantin Tokarev wrote:
>
>
> 03.04.2012, 17:16, "Duane"<duane....@group-upc.com>:
>> On 04/03/2012 09:09 AM, Thiago Macieira wrote:
>>
>>> On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote:
>>>> I've built a desktop version of 4.8.1 open source and I'm trying to make
>>>> the qvfb binary. I get a series of errors involving png_* like
>>>> png_structp does not name a type.
>>>>
>>>> I have png support built. I have libpng installed. I've seen a few
>>>> posts on the web with this same issue but no solution. I'm using Fedora
>>>> 16. My colleague using the latest Ubuntu doesn't have this issue. What
>>>> am I missing?
>>> What is the exact error?
>>
>> There are 57 or so.
>>
>> 'png_structp' does not name a type
>> 'png_infop' does not name a type
>> 'png_structp' has not been declared
>> 'png_bytep' has not been declared
>> 'png_size_t' has not been declared
>
> You need libpng-devel or something alike.

I had libpng-devel installed but I needed to install another one that
supports older versions. Now it's fine. Thanks for the tip.

Harri Pasanen

unread,
Apr 3, 2012, 9:35:14 AM4/3/12
to inte...@qt-project.org
On 04/03/2012 03:16 PM, Duane wrote:
> On 04/03/2012 09:09 AM, Thiago Macieira wrote:
>> On terça-feira, 3 de abril de 2012 08.35.25, Duane wrote:
>>> I've built a desktop version of 4.8.1 open source and I'm trying to make
>>> the qvfb binary. I get a series of errors involving png_* like
>>> png_structp does not name a type.
>>>
>>> I have png support built. I have libpng installed. I've seen a few
>>> posts on the web with this same issue but no solution. I'm using Fedora
>>> 16. My colleague using the latest Ubuntu doesn't have this issue. What
>>> am I missing?
>> What is the exact error?
> There are 57 or so.
>
> 'png_structp' does not name a type
> 'png_infop' does not name a type
> 'png_structp' has not been declared
> 'png_bytep' has not been declared
> 'png_size_t' has not been declared

What is the first error? That is typically the interesting one.

Looks like either some include is not picked up, or some define is
missing, or variation of those. /usr/include/png.h should define it.

In general you can corner missing defines by adding '-E' to gcc flags to
just run the preprocessor. Direct the output to file and be amazed at
how much stuff the compiler has to go through, and where the symbols
come from. grep mymissingsymbol /usr/include/* to see where it should
come from.

Just my 2 cents,

Harri

Duane

unread,
Apr 3, 2012, 9:37:26 AM4/3/12
to inte...@qt-project.org

Thanks.

Reply all
Reply to author
Forward
0 new messages