Hi
Im trying to compile hbasic and i get this error
Code:
rm testlib.moc.cpp
make[1]: Leaving directory `/var/tmp/pisi/hbasic-0.9.9o-2/work/autocheck'
make -C src
make[1]: Entering directory `/var/tmp/pisi/hbasic-0.9.9o-2/work/src'
i686-pc-linux-gnu-gcc -mtune=i686 -O2 -pipe -fomit-frame-pointer -g -c -I/usr/qt/3/include -Ino -I../source_editor -I ../include -I../src -I../runtime_lib -I../runtime_lib/interpreter -I../gui_db_access -o basic_document.o basic_document.cpp
In file included from basic_document.cpp:84:
../dialogs/select_kpart.h:4:31: kparts/mainwindow.h: No such file or directory
/usr/kde/3.5/include/kparts/mainwindow.h this is the file where belongs in my system, but compiler not able to find it.
And i have tried several variations in part of Makefile.in file like this
This is some part of the Makefile.in normaly it looks like this
------------------------------------------------
INCLUDE = -I$(QT_INCDIR) -Isrc -Iinclude -Iruntime_lib
LIBPATH = -L$(QT_LIBDIR) -L$(KDE_LIBDIR)
LIBS = $(LIBDL) $(LIBEXECINFO) -lstdc++ $(QT_LIB) $(KDE_LIB)
------------------------------------------------
And here is my attempts
------------------------------------------------
- INCLUDE = -I$(QT_INCDIR) -I/usr/kde/3.5/include/kparts/mainwindow.h -Isrc -Iinclude -Iruntime_lib
- INCLUDE = -I$(QT_INCDIR) -I/usr/kde/3.5/include/kparts -Isrc -Iinclude -Iruntime_lib
- INCLUDE = -I$(QT_INCDIR) -I/usr/kde/3.5/include/ -Isrc -Iinclude -Iruntime_lib
- INCLUDE = -I$(QT_INCDIR) -I/usr/kde/3.5 -Isrc -Iinclude -Iruntime_lib
- INCLUDE = -I$(QT_INCDIR) -I$(KDE_INCDIR) -Isrc -Iinclude -Iruntime_lib
------------------------------------------------
but no hope.
i also changed dialogs/select_kpart.h
#include <kparts/mainwindow.h> this part of file
----------------------------------------------------
- #include </usr/kde/3.5/include/kparts/mainwindow.h>
and
- #include "/usr/kde/3.5/include/kparts/mainwindow.h"
----------------------------------------------------
but nothing happend
I need help!!!
thanX