amazing... I managed to remove the references to the GUI and compile it on Linux!!
Basically I've added #include <cstdlib> at the beginning, I've downloaded the SDK from https://github.com/steinbergmedia/vst3sdk (there is the link to steinberg's website), and I've followed the help there: http://teragonaudio.com/article/Buildin … Linux.html
Then I've run those commands:
g++ -fPIC -c -I/tmp/VST_SDK/VST2_SDK -D__cdecl="" chipwave.cpp
g++ -shared -o chipwave.so *.o
and got the chipwave.so VST in Linux format!
And the best part is it's working in Ardour (which cannot load VST in windows format, unfortunately, but as a workaround I was using the Festige app which can load windows VST in .dll and it can be rerouted to Ardour using Jack)
I've put my binary there if someone is interested: http://garvalf.online.fr/var/upload/temp/chipwave.so