Error while building DSView in Ubuntu(Ubuntu 15.04)

Topics about DSLogic software development
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
Posts: 2
Joined: Sat Nov 07, 2015 3:03 am

Same Error building DSView in Debian 8 Jessie.

To Fix this Error see this post

I then cloned your development branch using the command "git clone -b develop"

I do this and all OK.

Thanks Carl !

Posts: 14
Joined: Thu Nov 19, 2015 1:33 am

Return to DSLogic Software

Who is online
Users browsing this forum: No registered users and 1 guest