summaryrefslogtreecommitdiffstats
path: root/src/engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/ClientBroadcaster.cpp1
-rw-r--r--src/engine/ClientBroadcaster.hpp1
-rw-r--r--src/engine/Engine.cpp4
-rw-r--r--src/engine/HTTPEngineReceiver.cpp1
-rw-r--r--src/engine/wscript4
5 files changed, 6 insertions, 5 deletions
diff --git a/src/engine/ClientBroadcaster.cpp b/src/engine/ClientBroadcaster.cpp
index d754f072..f13743f6 100644
--- a/src/engine/ClientBroadcaster.cpp
+++ b/src/engine/ClientBroadcaster.cpp
@@ -30,7 +30,6 @@
#include "ConnectionImpl.hpp"
#include "AudioDriver.hpp"
#include "ObjectSender.hpp"
-#include "OSCClientSender.hpp"
using namespace std;
using Ingen::Shared::ClientInterface;
diff --git a/src/engine/ClientBroadcaster.hpp b/src/engine/ClientBroadcaster.hpp
index b0963610..efb58450 100644
--- a/src/engine/ClientBroadcaster.hpp
+++ b/src/engine/ClientBroadcaster.hpp
@@ -21,7 +21,6 @@
#include <string>
#include <list>
#include <map>
-#include <lo/lo.h>
#include <pthread.h>
#include <raul/SharedPtr.hpp>
#include "interface/ClientInterface.hpp"
diff --git a/src/engine/Engine.cpp b/src/engine/Engine.cpp
index 7445abc5..2e995281 100644
--- a/src/engine/Engine.cpp
+++ b/src/engine/Engine.cpp
@@ -39,7 +39,9 @@
#include "PostProcessor.hpp"
#include "events/CreatePatchEvent.hpp"
#include "events/EnablePatchEvent.hpp"
+#ifdef HAVE_LIBLO
#include "OSCEngineReceiver.hpp"
+#endif
#ifdef HAVE_SOUP
#include "HTTPEngineReceiver.hpp"
#endif
@@ -173,6 +175,7 @@ Engine::start_jack_driver()
void
Engine::start_osc_driver(int port)
{
+#ifdef HAVE_LIBLO
if (_event_source) {
cerr << "WARNING: Replacing event source" << endl;
_event_source.reset();
@@ -180,6 +183,7 @@ Engine::start_osc_driver(int port)
_event_source = SharedPtr<EventSource>(new OSCEngineReceiver(
*this, pre_processor_queue_size, port));
+#endif
}
diff --git a/src/engine/HTTPEngineReceiver.cpp b/src/engine/HTTPEngineReceiver.cpp
index 1b21e184..58b2bbe8 100644
--- a/src/engine/HTTPEngineReceiver.cpp
+++ b/src/engine/HTTPEngineReceiver.cpp
@@ -22,7 +22,6 @@
#include <boost/format.hpp>
#include "types.hpp"
#include <raul/SharedPtr.hpp>
-#include <raul/AtomLiblo.hpp>
#include "interface/ClientInterface.hpp"
#include "module/Module.hpp"
#include "serialisation/serialisation.hpp"
diff --git a/src/engine/wscript b/src/engine/wscript
index 33809ab0..c10dc028 100644
--- a/src/engine/wscript
+++ b/src/engine/wscript
@@ -29,8 +29,6 @@ def build(bld):
MidiTriggerNode.cpp
NodeBase.cpp
NodeFactory.cpp
- OSCClientSender.cpp
- OSCEngineReceiver.cpp
ObjectSender.cpp
OutputPort.cpp
PatchImpl.cpp
@@ -79,6 +77,8 @@ def build(bld):
obj.source += ' LV2Node.cpp '
if bld.env()['HAVE_SOUP']:
obj.source += ' HTTPEngineReceiver.cpp '
+ if bld.env()['HAVE_LIBLO']:
+ obj.source += ' OSCEngineReceiver.cpp OSCClientSender.cpp '
obj.includes = ['..', '../common', './events']
obj.name = 'libingen_engine'
obj.target = 'ingen_engine'