Closed rei-vilo closed 12 years ago
Commit d55041b works fine!
Selecting the right generic %
or *
for makefile isn't that easy.
Except that mentioning #include "Blink.pde"
in main.cpp raises the error
Builds/Blink.o: In function 'loop': /Users/OlS/Desktop/mpideXcode_g/Builds/Blink.cpp:56: multiple definition of 'loop' Builds/main.o:/Users/OlS/Desktop/mpideXcode_g/Blink.pde:55: first defined here
I think trying to include the .pde is going to be a little awkward - I recommend just putting the main()
inside the .pde file so you don't have to try and #include
it.
Fine, no more duplicate declaration.
Included in mpideXcode Feb 08, 2012 release f
• Code-sense and click-to-error with standard targets • Code check-as-you-type only with Index as target (continous compiling)
I've found the solution: just comment line 272
LOCAL_PDE_SRCS = $(wildcard *.pde)
to avoid duplicate include of pde.
There's one trick detailed here but it's hard to get it work properly.