changeset 122:2380d5865355

Build fix, + run in debug mode for the mo
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 27 Oct 2016 14:52:30 +0100
parents 56e537a7bb99
children 6b11ca6bb0a3
files vamp-client/ProcessQtTransport.h vamp-json/VampJson.h
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vamp-client/ProcessQtTransport.h	Thu Oct 27 14:01:35 2016 +0100
+++ b/vamp-client/ProcessQtTransport.h	Thu Oct 27 14:52:30 2016 +0100
@@ -66,7 +66,7 @@
         m_process->setProcessChannelMode(QProcess::ForwardedErrorChannel);
 
         m_process->start(QString::fromStdString(processName),
-                         { QString::fromStdString(formatArg) });
+                         { "-d", QString::fromStdString(formatArg) });
         
         if (!m_process->waitForStarted()) {
             if (m_process->state() == QProcess::NotRunning) {
--- a/vamp-json/VampJson.h	Thu Oct 27 14:01:35 2016 +0100
+++ b/vamp-json/VampJson.h	Thu Oct 27 14:52:30 2016 +0100
@@ -38,6 +38,7 @@
 #include <vector>
 #include <string>
 #include <sstream>
+#include <iterator>
 
 #include <json11/json11.hpp>
 #include <base-n/include/basen.hpp>