Problems with Kdevelop 1.4.1
John Gluck
john.gluck at sympatico.ca
Tue Apr 17 21:47:59 BST 2001
Hi All
I am trying to get started with Kdevelop on KDE 2.1.1 and I am having
problems...
As long as I stick with using classes from KDE or Qt everything works
fine. The KDE project type is KDE 2 Normal.
If I try including header files from the standard library for example
string.h or string I get errors from the include files.
If I try to include audiofile.h from /opt/kde/include I also get errors
from the include file.
Sorry if the post is a bit long... I included a header file and the
error messages.
Thanks for any help...
John
The following is the header for a class that causes errors:
/***************************************************************************
kwedaudiofile.h - description
-------------------
begin : Sun Apr 15 2001
copyright : (C) 2001 by John GLuck
email :
***************************************************************************/
#ifndef KWEDAUDIOFILE_H
#define KWEDAUDIOFILE_H
#include <string>
#include <audiofile.h>
class kwedAudioFile
{
private:
string filePath;
AFfilehandle inFile;
public:
kwedAudioFile(char* path = NULL);
~kwedAudioFile();
float getFrameSize();
int readFrames(void* pStore, const int count);
int seekFrame(int frame);
int getFileFormat();
int getByteOrder();
double getSampleRate();
int getSampleFormat();
};
#endif //KWEDAUDIOFILE_H
____________________________________________________________________________
The error messages:
bash-2.04# make
make all-recursive
make[1]: Entering directory `/root/kwed'
Making all in kwed
make[2]: Entering directory `/root/kwed/kwed'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include
-I/usr/lib/qt/include -I/usr/X11R6/include -O2 -fno-exceptions
-fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -Wno-long-long -Wnon-virtual-dtor -fno-builtin -O0 -g3
-Wall -c kwedaudiofile.cpp
In file included from /usr/local/egcs-1.1.2/include/g++-2/cstddef:6,
from
/usr/local/egcs-1.1.2/include/g++-2/std/bastring.h:35,
from /usr/local/egcs-1.1.2/include/g++-2/string:6,
from kwedaudiofile.h:12,
from kwedaudiofile.cpp:9:
/usr/local/egcs-1.1.2/lib/gcc-lib/i686-linux/egcs-2.91.66/include/stddef.h:118:
syntax error before `typedef'
In file included from /usr/local/egcs-1.1.2/include/g++-2/iterator:34,
from
/usr/local/egcs-1.1.2/include/g++-2/std/bastring.h:44,
from /usr/local/egcs-1.1.2/include/g++-2/string:6,
from kwedaudiofile.h:12,
from kwedaudiofile.cpp:9:
/usr/local/egcs-1.1.2/include/g++-2/stl_iterator.h:110: warning: ANSI
C++ forbids typedef which does not specify a type
/usr/local/egcs-1.1.2/include/g++-2/stl_iterator.h:110: parse error
before `;'
/usr/local/egcs-1.1.2/include/g++-2/stl_iterator.h:119: warning: ANSI
C++ forbids typedef which does not specify a type
/usr/local/egcs-1.1.2/include/g++-2/stl_iterator.h:119: parse error
before `;'
/usr/local/egcs-1.1.2/include/g++-2/stl_iterator.h:426: parse error
before `>'
/usr/local/egcs-1.1.2/include/g++-2/stl_iterator.h:438: `value_type'
redeclared as different kind of symbol
/usr/local/egcs-1.1.2/include/g++-2/stl_iterator.h:438: sorry, not
implemented: `overload' not supported by dump_decl
:438: previous declaration of `'
/usr/local/egcs-1.1.2/include/g++-2/stl_iterator.h:438: confused by
earlier errors, bailing out
make[2]: *** [kwedaudiofile.o] Error 1
make[2]: Leaving directory `/root/kwed/kwed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kwed'
make: *** [all-recursive-am] Error 2
bash-2.04#
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list