diff options
-rw-r--r-- | src/gui/Makefile.am | 2 | ||||
-rw-r--r-- | src/gui/main.cpp | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/Makefile.am b/src/gui/Makefile.am index 0dc1326..f6a2ef2 100644 --- a/src/gui/Makefile.am +++ b/src/gui/Makefile.am @@ -1,4 +1,4 @@ -AM_CXXFLAGS = -I$(top_srcdir)/flowcanvas -I$(top_srcdir)/raul -I$(top_srcdir)/machina/src/engine -DPKGDATADIR=\"$(pkgdatadir)\" @LIBGLADEMM_CFLAGS@ @GNOMECANVASMM_CFLAGS@ @JACK_CFLAGS@ +AM_CXXFLAGS = -I$(top_srcdir)/flowcanvas -I$(top_srcdir)/raul -I$(top_srcdir)/machina/src/engine -DPKGDATADIR=\"$(pkgdatadir)\" @LIBGLADEMM_CFLAGS@ @GNOMECANVASMM_CFLAGS@ @JACK_CFLAGS@ @GTHREAD_CFLAGS@ EXTRA_DIST = machina.gladep diff --git a/src/gui/main.cpp b/src/gui/main.cpp index 034bc62..62de866 100644 --- a/src/gui/main.cpp +++ b/src/gui/main.cpp @@ -37,6 +37,9 @@ using namespace Machina; int main(int argc, char** argv) { + if ( ! Glib::thread_supported()) + Glib::thread_init(); + Raul::RDF::World rdf_world; SharedPtr<Machina::Machine> machine; |