patrice wrote:
Hello, is there someone using MSVC that would give an help?
I'd like to know if adding this line to g_canvas.h would fix the gridflow external loading
EXTERN void canvas_setgraph(t_glist *x, int flag, int nogoprect);
You can add a line in the Property -> Linker -> Command Line -> Additional Options: /export: canvas_setgraph
Or you can write a text file something.def with this text: LIBRARY whatever.dll EXPORTS canvas_setgraph
Or you can change the line in g_canvas.h
__declspec(dllexport) void canvas_setgraph(t_glist *x, int flag, int nogoprect);
EXPORT would also do this, it's defined in m_pd.h. It seems you would also have to define PD_INTERNAL. And EXPORT also prefixes the keyword 'extern', which you may not want.
Martin
Vanilla doesn't compile on MinGW because it can not compile last releases of portaudio and portmidi
Also I've never used MSVC, is there a documentation somewhere for building pd with it?
thanks
-- Patrice Colet
Pd-dev mailing list Pd-dev@iem.at http://lists.puredata.info/listinfo/pd-dev