Page 1 of 1

Error while building DSView in Ubuntu(Ubuntu 15.04)

PostPosted: Sun Nov 08, 2015 12:41 am
by robomon
I was building DSView on my ubuntu machine. I am getting the below error.

Is this an error in the code ? Could anyone let me know who to fix the issue.

Code: Select all
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:203:5: note: QVariant::QVariant(int)
     QVariant(int i);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:194:5: note: QVariant::QVariant(QVariant::Type) <near match>
     QVariant(Type type);
     ^
/usr/include/x86_64-linux-gnu/qt5/QtCore/qvariant.h:194:5: note:   no known conversion for argument 1 from ‘uint64_t {aka long unsigned int}’ to ‘QVariant::Type’
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qjsonarray.h:37:0,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QtCore:56,
                 from /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/QtConcurrentDepends:3,
                 from /usr/include/x86_64-linux-gnu/qt5/QtConcurrent/QtConcurrent:3,
                 from /home/robo/tools/DSView/DSView/pv/sigsession.h:47,
                 from /home/robo/tools/DSView/DSView/pv/mainwindow.h:32,
                 from /home/robo/tools/DSView/DSView/pv/mainwindow.cpp:49:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qjsonvalue.h:89:23: note: initializing argument 1 of ‘static QJsonValue QJsonValue::fromVariant(const QVariant&)’
     static QJsonValue fromVariant(const QVariant &variant);
                       ^
CMakeFiles/DSView.dir/build.make:361: recipe for target 'CMakeFiles/DSView.dir/pv/mainwindow.cpp.o' failed
make[2]: *** [CMakeFiles/DSView.dir/pv/mainwindow.cpp.o] Error 1
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/DSView.dir/all' failed
make[1]: *** [CMakeFiles/DSView.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

Re: Error while building DSView in Ubuntu(Ubuntu 15.04)

PostPosted: Thu Nov 19, 2015 5:56 pm
by jolinux
Same Error building DSView in Debian 8 Jessie.

To Fix this Error see this post

http://www.dreamsourcelab.com/forum/viewtopic.php?f=19&t=123

++++++++++++++++++++++++++
I then cloned your development branch using the command "git clone -b develop https://github.com/DreamSourceLab/DSView.git"
++++++++++++++++++++++++++

I do this and all OK.


Thanks Carl !


Jo