Re: [PD] MinGW + Eclipse + MSWIN helloworld

2011-07-18 Thread luca paganotti
be overridden by setting an env var PD_PATH. This should currently work in Eclipse and the cmd line: make PD_PATH=/c/programmi/pd showsetup .hc On Jul 15, 2011, at 11:40 AM, luca paganotti wrote: Hi Hans running 'make showsetup' from eclipse gives: Build of configuration Default

Re: [PD] MinGW + Eclipse + MSWIN helloworld

2011-07-15 Thread luca paganotti
Hi Hans, Perhaps Eclipse sets CFLAGS or LDFLAGS, which is overriding things in the Makefile? I double check my eclipse configuration and this doesn't seem to be the case. I must admit that I'm working with my development box which is rather confused, at the moment, and probably my

Re: [PD] MinGW + Eclipse + MSWIN helloworld

2011-07-15 Thread luca paganotti
Great! ... I finally added some getting started instructions, hopefully this is useful: https://puredata.info/docs/developer/LibraryTemplate .hc ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -

Re: [PD] MinGW + Eclipse + MSWIN helloworld

2011-07-15 Thread luca paganotti
Perhaps Eclipse sets CFLAGS or LDFLAGS, which is overriding things in the Makefile? I got it. eclipse is joking ...and i'm trusting it ... I added the pd library in the project properties in the Libraries tab using the Add... button and then the File system ... button and eclipse added this

Re: [PD] MinGW + Eclipse + MSWIN helloworld

2011-07-15 Thread luca paganotti
mycobject.dll is created by eclipse at the price of defining: *CFLAGS = -IC:/Programmi/pd/src -Wall -W -g* in place of *CFLAGS = -I$(PD_INCLUDE)/pd -Wall -W -g* *PD_PATH = c:/programmi/pd* in place of *PD_PATH = $(shell cd $(PROGRAMFILES)/pd pwd)* and declaring *CC = gcc* Perhaps Eclipse

[PD] MinGW + Eclipse + MSWIN helloworld

2011-07-14 Thread luca paganotti
Hi all, i'm beginning hacking pd externals, I'm trying to use Eclipse Helios (3.6) with 1. CDT Version: 7.0.2.201102110609 Build id: 201102110609 2. pd-extended 0.42.5 3. MingW installed using mingw-get so I think the last stable version (gnu make 3.82, gcc 4.2.5 etc ...) So i

Re: [PD] MinGW + Eclipse + MSWIN helloworld

2011-07-14 Thread luca paganotti
Hi Mathieu, thank you for the prompt answer, here it is the portion of my makefile that governs the windows build: # --- NT --- pd_nt: $(TARGETS) MINGWCFLAGS = -DPD -O2 -funroll-loops -fomit-frame-pointer \ -Wall -W -Wshadow -Wstrict-prototypes

Re: [PD] MinGW + Eclipse + MSWIN helloworld

2011-07-14 Thread luca paganotti
Hi Hans, I can read only part of your answer. I can read till you say: ... If you use the and then no more Anyway I must say that I've no problem with the same example under a linux box running fedora 14. ___ Pd-list@iem.at mailing list UNSUBSCRIBE

Re: [PD] MinGW + Eclipse + MSWIN helloworld

2011-07-14 Thread luca paganotti
On Thu, Jul 14, 2011 at 7:02 PM, Hans-Christoph Steiner h...@at.or.atwrote: On Thu, 14 Jul 2011 12:44 -0400, Mathieu Bouchard ma...@artengine.ca wrote: On Thu, 14 Jul 2011, luca paganotti wrote: but ... I get 'undefined reference' (s) for all the pd symbols that are used