On Thursday 03 February 2005 20:06, Joel Rodriguez wrote:
> finally founding some time..after my geophysics thesis :)
> this might be trivial, but found this error when compiling,.
> 
> make[2]: Entering directory `/usr/packages/ogsim-050202/src'
> if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I/opt/kde/include 
> -I/usr/lib/qt-3.2.3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W 
> -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE 
> -Wcast-align -Wconversion -Wchar-subscripts -O2 -Wformat-security 
> -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common  
> -MT ogsim.o -MD -MP -MF ".deps/ogsim.Tpo" -c -o ogsim.o ogsim.cpp; \
> then mv -f ".deps/ogsim.Tpo" ".deps/ogsim.Po"; else rm -f 
> ".deps/ogsim.Tpo"; exit 1; fi
> In file included from ogsim.cpp:26:
> ogsimwidget.h:31: base class `ogsimWidget' has incomplete type
> ogsimwidget.h:35: type specifier omitted for parameter `WFlags'
> ogsimwidget.h:35: syntax error before `=' token
> ogsimwidget.h:54: `QListViewItem' was not declared in this scope
> ogsimwidget.h:54: syntax error before `,' token
> ogsimwidget.h:31: warning: `class ogsimWidget' has virtual functions but
>    non-virtual destructor
> ......

Interesting. I once had a compile error like this, and it turned out that 
one of the .ui files hadn't been processed correctly (the uic is supposed 
to create a header and a source file from the UI description). This is 
likely an autotools problem, but I don't really know where to look. A clean 
rebuild fixed it in my case, and if it doesn't fix it for you, it may be 
due to missing KDE development files or an old version of automake etc. 
(for the record, I'm using automake 1.9.4).

cu,
Nicolai

> 
> regards
> 
> Joel Rodriguez
> [EMAIL PROTECTED]

Attachment: pgpBgxHRnFTRh.pgp
Description: PGP signature

_______________________________________________
Open-graphics mailing list
[email protected]
http://lists.duskglow.com/mailman/listinfo/open-graphics
List service provided by Duskglow Consulting, LLC (www.duskglow.com)

Reply via email to