info-inventor-dev
[Top] [All Lists]

Re: error compiling Open Inventor programs

To: Mr D P Williams <esuvs@xxxxxxxxxxxxxxxxx>
Subject: Re: error compiling Open Inventor programs
From: Jan Prikryl <prikryl@xxxxxxxx>
Date: Sat, 10 Feb 2001 22:57:08 +0100
Cc: info-inventor-dev@xxxxxxxxxxx
In-reply-to: <3A85AF27.F4E3485E@xxxxxxxxxxxxxxxxx>; from esuvs@xxxxxxxxxxxxxxxxx on So, úno 10, 2001 at 09:14:15 +0000
References: <3A85AF27.F4E3485E@xxxxxxxxxxxxxxxxx>
Sender: owner-info-inventor-dev@xxxxxxxxxxx
User-agent: Mutt/1.2.5i
Hello,

> [...] when I try to compile it I get an error like the following:
> 
> error in file included from SoSeperator.h:
>     class SoError has virtual functions but non-virtual constructor
>     class SoDebugError has virtual functions but non-virtual constructor
> 
> I installed Open Inventor on RedHat 7.0, and I am using it with qt 2.2.3
> and kdevelop, GCC version 2.96. My program does not use the two error
> classes mentioned in the message.

Strange, on my gcc 2.96 (gcc version 2.96 20000731) it generartes only
warnings - but it's on a RH 6.2 system. On the other hand we have a
colleague who uses the current RPMs on RH 7.0 apparently without
problems (besides some font troubles).

Are you sure you did not switch on something like "treat all warnings
as errors?" when compiling your example program? If I remember
correctly, gcc has got such an option.

-- jan

--------------------+------------------------------------------------------
 Jan Prikryl        | vr|vis center for virtual reality and visualisation
 <prikryl@xxxxxxxx> | http://www.vrvis.at
--------------------+------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>