Hi Tim,
Thanks for replying so quickly! I gave the above a good try and had to copy the contents of
c:\arduino\hardware\pic32\compiler\pic32-tools
to
c:\arduino\hardware\tools\pic32
as it didn't exist. This is possibly due to the newer version I'm using although it still says May 2011, not so great versioning!!
Anyway after trying to compile it seems as though it's getting hung up on a missing file called syscalls_PIC32.c.o.
The MPIDE output is too long to post, so here is the line which is ok in MPIDE (note the missing : which seems to have been stripped when I copied the text!):
C \Arduino/hardware/pic32/compiler/pic32-tools/bin/pic32-g++ -Os -Wl,--gc-sections -mdebugger -mprocessor=32MX440F256H -o C C \Users\Daniel\AppData\Local\Temp\build3818776942718976953.tmp\TouchTest.cpp.o C \Users\Daniel\AppData\Local\Temp\build3818776942718976953.tmp\core.a -LC \Users\Daniel\AppData\Local\Temp\build3818776942718976953.tmp -lm -T C \Arduino\hardware\pic32\cores\pic32/chipKIT-application-32MX440F256.ld -TC \Arduino\hardware\pic32\cores\pic32/chipKIT-application-COMMON.ld
but fails under VM:
"c:\arduino/hardware/pic32/compiler/pic32-tools/bin/pic32-g++" -Os -Wl,--gc-sections -mdebugger -mprocessor=32MX440F256H "-Tc:\arduino\hardware\pic32\variants\Fubarino_SD/chipKIT-BL-mega.ld" _sd_seeed/TouchTest.map" -o /TouchTest.elf" ed" -lm -lgcc -mthumb -Wl,--cref -Wl,--check-sections -Wl,--gc-sections -Wl,--entry=Reset_Handler -Wl,--unresolved-symbols=report-all -Wl,--warn-common -Wl,--warn-section-align -Wl,--warn-unresolved-symbols -Wl,--start-group /syscalls_PIC32.c.o" \TouchTest.cpp.o" "c:\arduino\hardware\pic32\variants\Fubarino_SD/{build.variant_system_lib}" /core.a" -Wl,--end-group
Visual studio reports this:
pic32-g++* : : syscalls_PIC32.c.o: No such file or directory
pic32-g++* : : c:\arduino\hardware\pic32\variants\Fubarino_SD\{build.variant_system_lib}: No such file or directory
Error creating .elf
I still don't think it's that far off, especially seen as I get the error with or without the external touchscreen library. I tried both to be sure this wasn't an issue either by commenting out the library include and all references to it. This left 4 basic pin defines and a serial.begin(9600). Maybe it's something that's expected to be in the variants folder or maybe the syscalls file is generated internally, I just don't know.
I can zip everything up and either email it or send you a dropbox link, or I can test anything else you need?!
I'll probably do a little dance and power punch the air when I see it all working, I have faith in it working at some point and sorry about the formatting above
Have a cracking Christmas Tim!!