Skip to content

Commit

Permalink
Fixup last commit linker error (Future's algorithm)
Browse files Browse the repository at this point in the history
.. last commit introduced a compiler error on missing global variables.

   the intention here is to take future's algorithm, embed into a class
   and add wrappers for user charts / datafilters.
  • Loading branch information
Mark Liversedge authored and Mark Liversedge committed Sep 28, 2021
1 parent 53ee8f3 commit dfdf0c5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/Core/main.cpp
Expand Up @@ -76,6 +76,15 @@ QDesktopWidget *desktop = NULL;
HttpListener *listener = NULL;
#endif

// future's algorithm (needs to be refactored into a class)
extern "C" {
#include "../contrib/voronoi/vdefs.h"
int sorted, triangulate, plot, debug, nsites, siteidx ;
float xmin, xmax, ymin, ymax ;
Site * sites ;
Freelist sfl ;
}

// R is not multithreaded, has a single instance that we setup at startup.
#ifdef GC_WANT_R
#include <RTool.h>
Expand Down

0 comments on commit dfdf0c5

Please sign in to comment.