[PD-dev] external on windows

Dominique Fober fober at grame.fr
Wed Oct 6 08:37:22 CEST 2010


Thanks, it solves my problem.
Thanks also to Hans-Christoph Steiner who helped with my "GUI external" question.
I have now a 'guido' pd external to display music scores based on the Guido Engine (http://guidolib.sourceforge.net) running on linux, mac os and windows. It works but could become very slow in drawing the music score, depending on the drawing area size and on your platform (windows seems not to be very efficient). 
This is due to the way to give the score image to Tcl/Tk. 

Now I have a 'newbie in externals dev' question: what is the best place to share that with Pd users? I can build binaries for Mac OS and windows but it's a little bit more complex for linux, or is there a main target platform to build binaries for (for example Ubuntu 10.04 32 or 64 bits).

Dominique

 

Le 4 oct. 2010 à 16:58, <martin.peach at sympatico.ca> <martin.peach at sympatico.ca> a écrit :

> 
> I usually use the pd.lib from one of Miller's builds, as he uses MSVC:
> http://crca.ucsd.edu/~msp/Software/pd-0.42-5.msw.zip
> The c interface is different between MS and gcc; some things just crash, for example opening a file in code linked with MSVCRT80 and accessing it from code linked against libc.
> 
> Martin
> 
> 
> Dominique wrote:
>> 
>> I'm developing a GUI external that compiles on linux, mac os x... but not yet on windows.
>> I've tried to use the Visual C++ tools : due to the missing pd.lib file, the dll generation is forced at link time using the /FORCE:UNRESOLVED flag. My problem is that when I try to use this external, I get a missing MSVCRT80.dll error, and when I put this dll with my external, then I get the following error message "An application has made an attempt to load the C runtime incorrectly".
>> Note that since I'm not fond of the MS tools, I've first tried to use gcc (via MingW) to compile. However, then the trouble is with gdiplus since it isn't included in the mingw distribution (missing gdiplus.h and gdiplus.lib).
>> Does anybody know how to (quickly) solve this problem.
>> --
>> Dominique
>> 
>> 
>> _______________________________________________
>> Pd-dev mailing list
>> Pd-dev at iem.at
>> http://lists.puredata.info/listinfo/pd-dev
> 		 	   		  




More information about the Pd-dev mailing list