Labplot Port: Make Error

Garvit Khatri garvitdelhi at gmail.com
Sat Feb 21 10:39:14 UTC 2015


Hi,

I am getting error in QtCore saying spreadsheetview.h

Here is the error:

16:07:01: Running steps for project LabPlot2...

16:07:01: Starting: "/usr/bin/make"

[ 1%] Automoc for target labplot2

[ 1%] Built target labplot2_automoc

[ 2%] Building CXX object
src/CMakeFiles/labplot2.dir/kdefrontend/GuiObserver.cpp.o

In file included from
/home/garvitdelhi/Qt5.3.0/5.3/gcc_64/include/QtCore/QModelIndex:1:0,

from
/home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/GuiObserver.h:32,

from
/home/garvitdelhi/dev/sok/labplot_port/src/kdefrontend/GuiObserver.cpp:30:

/home/garvitdelhi/Qt5.3.0/5.3/gcc_64/include/QtCore/qabstractitemmodel.h:29:29:
fatal error: SpreadsheetView.h: No such file or directory

#include "SpreadsheetView.h"

^

compilation terminated.

src/CMakeFiles/labplot2.dir/build.make:239: recipe for target
'src/CMakeFiles/labplot2.dir/kdefrontend/GuiObserver.cpp.o' failed

make[2]: *** [src/CMakeFiles/labplot2.dir/kdefrontend/GuiObserver.cpp.o]
Error 1

CMakeFiles/Makefile2:96: recipe for target
'src/CMakeFiles/labplot2.dir/all' failed

Makefile:123: recipe for target 'all' failed

make[1]: *** [src/CMakeFiles/labplot2.dir/all] Error 2

make: *** [all] Error 2

16:07:01: The process "/usr/bin/make" exited with code 2.

Error while building/deploying project LabPlot2 (kit: Desktop Qt 5.3.0 GCC
64bit)

When executing step 'Make'

16:07:01: Elapsed time: 00:00.

Cheers,
Garvit Khatri

On Sat, Feb 21, 2015 at 3:36 PM, Garvit Khatri <garvitdelhi at gmail.com>
wrote:

> > You get a lot of linker errors because many symbols are multiple
>> defined. Try
>> > to remove all moc-files in /backend/core/datatypes/ and compile again.
>>
>> This didn't help me much, I am still getting those errors. If you have
>> setup the Qt5 env can you please compile and test it, I will push
>> backend changes as well.
>>
> I just solved this thanks.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20150221/f3c5cf0b/attachment.html>


More information about the kde-edu mailing list