Voronoi thingo


Made this a little while back, it takes an image and uses random points fed into ofxVoronoi to define some regions, then averages the colour in each region.


It’s not a real time thing so that clip took ages to render the final frames.

Source is up here https://github.com/petewerner/generative/tree/master/voronoi

i am trying to to run the code, but i allways get an error when compiling. it appears that “Voronoi2D.h” in the ofxVoronoi addon is not being compiled.all funtions in "Voronoi2D.h"are being declaired as “undefined reference”. i tried diffrent changes but i allways get this error messege:

../../../addons/obj/linux64/Release/ofxVoronoi/src/ofxVoronoi.o: In function `ofxVoronoi::generateVoronoi()':
ofxVoronoi.cpp:(.text+0x302): undefined reference to `Voronoi2D::setup(double, double, double, double, int, int, int)'
ofxVoronoi.cpp:(.text+0x350): undefined reference to `voro::container_2d::put(int, double, double)'
ofxVoronoi.cpp:(.text+0x4a1): undefined reference to `bool voro::voro_compute_2d<voro::container_2d>::compute_cell<voro::voronoicell_2d>(voro::voronoicell_2d&, int, int, int, int)'
../../../addons/obj/linux64/Release/ofxVoronoi/src/ofxVoronoi.o: In function `ofxVoronoi::ofxVoronoi()':
ofxVoronoi.cpp:(.text+0x644): undefined reference to `Voronoi2D::Voronoi2D()'
ofxVoronoi.cpp:(.text+0x6c7): undefined reference to `Voronoi2D::~Voronoi2D()'
../../../addons/obj/linux64/Release/ofxVoronoi/src/ofxVoronoi.o: In function `ofxVoronoi::~ofxVoronoi()':
ofxVoronoi.cpp:(.text+0x723): undefined reference to `Voronoi2D::~Voronoi2D()'
collect2: error: ld returned 1 exit status
make[1]: *** [bin/voronoi] Error 1
make: *** [Release] Error 2

could you please help me with that.

cheers and thank you

somehow i missed this reply. how did it go?