Welcome, Guest

Author Topic: compiling PIC32-MAXI-WEB v1.00.mcw  (Read 6234 times)

lamda

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
compiling PIC32-MAXI-WEB v1.00.mcw
« on: September 17, 2013, 09:55:11 AM »
Hi,
I'm trying to compile the PIC32-MAXI-WEB v1.00.mcw and the error message is:
Executing: "C:\Program Files\Microchip\MPLAB C32 Suite\bin\pic32-gcc.exe" -mprocessor=32MX795F512L -x c -c "taskTCPIP.c" -o"Intermediary\taskTCPIP.o" -MMD -MF"Intermediary\taskTCPIP.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib" -D__DEBUG -g
In file included from ..\Microchip\Include/Graphics\/DisplayDriver.h:89:0,
                 from ..\Microchip\Include/Graphics\Graphics.h:95,
                 from includes.h:31,
                 from taskTCPIP.c:15:
..\Microchip\Include/Graphics\drvTFT001.h:107:33: warning: missing terminating ' character
..\Microchip\Include/Graphics\drvTFT001.h:110:33: warning: missing terminating ' character
..\Microchip\Include/Graphics\drvTFT001.h:117:33: warning: missing terminating ' character
..\Microchip\Include/Graphics\drvTFT001.h:124:33: warning: missing terminating ' character
In file included from ..\Microchip\Include/TCPIP Stack/TCPIP.h:284:0,
                 from taskTCPIP.c:16:
..\Microchip\Include/TCPIP Stack/Helpers.h:64:8: error: conflicting types for 'ultoa'
c:\program files\microchip\mplab c32 suite\bin\../lib/gcc/pic32mx/4.5.1/../../../../pic32mx/include/stdlib.h:96:15: note: previous declaration of 'ultoa' was here
Halting build on first failure as requested.

Any sugestions?
Thank you
Kostas

Stanimir5F

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +2/-0
Re: compiling PIC32-MAXI-WEB v1.00.mcw
« Reply #1 on: September 17, 2013, 02:07:01 PM »
Hi Kostas.

I'm surprised to see you are trying to compile this project since this is very, very, very old version of the demo. I suppose the problem is that you aren't using the correct version of the compiler. But I suggest you to leave it and just download the latest version (1.03) from this link: https://www.olimex.com/Products/PIC/Development/PIC32-MAXI-WEB/ . It is more reliable, supports both ILI9320 and ILI9325 revisions of the display and uses newer versions of graphic library, RTOS and TCP/IP stack than the one you are trying to compile. You can see the build info (IDE, compiler, etc.) inside the readme.txt file.

Stanimir, Olimex
May the Source be with You!

lamda

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
Re: compiling PIC32-MAXI-WEB v1.00.mcw
« Reply #2 on: September 18, 2013, 01:04:18 PM »
Hi Stanimir,
thank you for your reply. I downloaded the file. I noticed that the Output folders (containing the XXX.a files) were missing from the decompressed file and I copied the old ones (V1.0).
Now I have problem with the linker:
----------------------------------------------------------------------
Release build of project `C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\MainProgram.mcp' started.
Language tool versions: xc32-as.exe v1.21, xc32-gcc.exe v1.21, xc32-ld.exe v1.21, xc32-ar.exe v1.21
Wed Sep 18 12:59:42 2013
----------------------------------------------------------------------
Clean: Deleting intermediary and output files.
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\usb_descriptors.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\usb_function_hid.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\usb_device.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\BSP.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\smb380_drv.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\main.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\UartComm.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\taskIO.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\taskTest.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\TaskControls.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\taskGUI.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\TouchScreen.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\Fonts.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\rtcc.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\pics.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\taskTCPIP.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\CustomHTTPApp.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\taskUSBMouse.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\Intermediary\MPFSImg2.o".
Clean: Deleted file "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\MainProgram.mcs".
Clean: Done.
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "usb_descriptors.c" -o"Intermediary\usb_descriptors.o" -MMD -MF"Intermediary\usb_descriptors.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\Microchip\USB\HID Device Driver\usb_function_hid.c" -o"Intermediary\usb_function_hid.o" -MMD -MF"Intermediary\usb_function_hid.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\Microchip\USB\usb_device.c" -o"Intermediary\usb_device.o" -MMD -MF"Intermediary\usb_device.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\CommonElements\BSP.c" -o"Intermediary\BSP.o" -MMD -MF"Intermediary\BSP.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\CommonElements\smb380_drv.c" -o"Intermediary\smb380_drv.o" -MMD -MF"Intermediary\smb380_drv.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "main.c" -o"Intermediary\main.o" -MMD -MF"Intermediary\main.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "..\CommonElements\UartComm.c" -o"Intermediary\UartComm.o" -MMD -MF"Intermediary\UartComm.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "taskIO.c" -o"Intermediary\taskIO.o" -MMD -MF"Intermediary\taskIO.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "taskTest.c" -o"Intermediary\taskTest.o" -MMD -MF"Intermediary\taskTest.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "TaskControls.c" -o"Intermediary\TaskControls.o" -MMD -MF"Intermediary\TaskControls.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "taskGUI.c" -o"Intermediary\taskGUI.o" -MMD -MF"Intermediary\taskGUI.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "TouchScreen.c" -o"Intermediary\TouchScreen.o" -MMD -MF"Intermediary\TouchScreen.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "Fonts.c" -o"Intermediary\Fonts.o" -MMD -MF"Intermediary\Fonts.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "rtcc.c" -o"Intermediary\rtcc.o" -MMD -MF"Intermediary\rtcc.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "pics.c" -o"Intermediary\pics.o" -MMD -MF"Intermediary\pics.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "taskTCPIP.c" -o"Intermediary\taskTCPIP.o" -MMD -MF"Intermediary\taskTCPIP.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "CustomHTTPApp.c" -o"Intermediary\CustomHTTPApp.o" -MMD -MF"Intermediary\CustomHTTPApp.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "taskUSBMouse.c" -o"Intermediary\taskUSBMouse.o" -MMD -MF"Intermediary\taskUSBMouse.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L -x c -c "MPFSImg2.c" -o"Intermediary\MPFSImg2.o" -MMD -MF"Intermediary\MPFSImg2.d" -I"." -I"..\CommonElements" -I"..\AdcServer" -I"..\FreeRTOS" -I"..\FreeRTOS\Source\include" -I"..\FreeRTOS\Source\portable\MPLAB\PIC32MX" -I"..\Microchip\Include" -I"..\Microchip\Include\MDD File System" -I"..\TCPIP stack_lib" -I"..\SDcard_lib" -I"..\Graphics_lib"  -g
Executing: "C:\Program Files\Microchip\xc32\v1.21\bin\xc32-gcc.exe" -mprocessor=32MX795F512L "Intermediary\usb_descriptors.o" "Intermediary\usb_function_hid.o" "Intermediary\usb_device.o" "Intermediary\BSP.o" "Intermediary\smb380_drv.o" "Intermediary\main.o" "Intermediary\UartComm.o" "Intermediary\taskIO.o" "Intermediary\taskTest.o" "Intermediary\TaskControls.o" "Intermediary\taskGUI.o" "Intermediary\TouchScreen.o" "Intermediary\Fonts.o" "Intermediary\rtcc.o" "Intermediary\pics.o" "Intermediary\taskTCPIP.o" "Intermediary\CustomHTTPApp.o" "Intermediary\taskUSBMouse.o" "Intermediary\MPFSImg2.o" "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\SDcard_lib\Output\SDcard_lib.a" "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\FreeRTOS\Output\FreeRTOS.a" "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\AdcServer\Output\AdcServer.a" "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a" "C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\TCPIP stack_lib\Output\TCPIP_lib.a" -o"Output\MainProgram.elf" -Wl,
-L"C:\Program Files\Microchip\MPLAB C30\lib",--defsym=__MPLAB_BUILD=1,--defsym=_min_heap_size=65536,-Map="Output\MainProgram.map"
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(drvTFT001.o): In function `SetReg':
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib/../Microchip/Graphics/Drivers/drvTFT001.c:202: multiple definition of `SetReg'
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(DisplayDriver.o):F:\Users\Lyubcho7\Desktop\DemoSoft\Graphics_lib/../Microchip/Graphics//Drivers/drvTFT001.c:204: first defined here
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(drvTFT001.o): In function `GetReg':
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib/../Microchip/Graphics/Drivers/drvTFT001.c:240: multiple definition of `GetReg'
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(DisplayDriver.o):F:\Users\Lyubcho7\Desktop\DemoSoft\Graphics_lib/../Microchip/Graphics//Drivers/drvTFT001.c:168: first defined here
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(drvTFT001.o): In function `ResetDevice':
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib/../Microchip/Graphics/Drivers/drvTFT001.c:317: multiple definition of `ResetDevice'
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(DisplayDriver.o):F:\Users\Lyubcho7\Desktop\DemoSoft\Graphics_lib/../Microchip/Graphics//Drivers/drvTFT001.c:229: first defined here
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(drvTFT001.o): In function `PutPixel':
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib/../Microchip/Graphics/Drivers/drvTFT001.c:771: multiple definition of `PutPixel'
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(DisplayDriver.o):F:\Users\Lyubcho7\Desktop\DemoSoft\Graphics_lib/../Microchip/Graphics//Drivers/drvTFT001.c:713: first defined here
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(drvTFT001.o): In function `GetPixel':
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib/../Microchip/Graphics/Drivers/drvTFT001.c:819: multiple definition of `GetPixel'
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(DisplayDriver.o):F:\Users\Lyubcho7\Desktop\DemoSoft\Graphics_lib/../Microchip/Graphics//Drivers/drvTFT001.c:760: first defined here
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(drvTFT001.o): In function `Bar':
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib/../Microchip/Graphics/Drivers/drvTFT001.c:987: multiple definition of `Bar'
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(DisplayDriver.o):F:\Users\Lyubcho7\Desktop\DemoSoft\Graphics_lib/../Microchip/Graphics//Drivers/drvTFT001.c:928: first defined here
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(drvTFT001.o): In function `ClearDevice':
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib/../Microchip/Graphics/Drivers/drvTFT001.c:1067: multiple definition of `ClearDevice'
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(DisplayDriver.o):F:\Users\Lyubcho7\Desktop\DemoSoft\Graphics_lib/../Microchip/Graphics//Drivers/drvTFT001.c:1008: first defined here
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\TCPIP stack_lib\Output\TCPIP_lib.a(Delay.o): In function `DelayMs':
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\TCPIP stack_lib/../Microchip/TCPIP Stack/Delay.c:58: multiple definition of `DelayMs'
C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\Graphics_lib\Output\Graphics_lib.a(DisplayDriver.o):F:\Users\Lyubcho7\Desktop\DemoSoft\Graphics_lib/../Microchip/Graphics//Drivers/drvTFT001.c:120: first defined here
c:/program files/microchip/xc32/v1.21/bin/../lib/gcc/pic32mx/4.5.2/../../../../pic32mx/bin/ld.exe: Link terminated due to previous error(s).
collect2: ld returned 1 exit status
Link step failed.
----------------------------------------------------------------------
Release build of project `C:\MPLAB\pic32\DemoSoft PIC32-MAXI-WEB v1.03\MainProgram\MainProgram.mcp' failed.
Language tool versions: xc32-as.exe v1.21, xc32-gcc.exe v1.21, xc32-ld.exe v1.21, xc32-ar.exe v1.21
Wed Sep 18 13:00:05 2013
----------------------------------------------------------------------
BUILD FAILED

Could you please give me your guidance to continue and complete the build
Thank you in advance

Stanimir5F

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +2/-0
Re: compiling PIC32-MAXI-WEB v1.00.mcw
« Reply #3 on: September 18, 2013, 01:47:39 PM »
They are missing because they are generated by the rest of the projects. Check README.txt point 3:
Quote
3. How to use this demo
   To download the firmware to the board you need some sort of programmer/debugger compatible with the PIC32MX795F512L processor. Please note that ICD2 is not compatible with this processor.

   The fastest possible way to get things running is to download the precompiled hex file to the processor memory. The file needed is "PIC32-MAXI-WEB demo 1.03 Prebuilt.hex" in the root directory. Import this file in MPLAB/MPLABX and select processor PIC32MX795F512L.

   An alternative is to open the workspace (\PIC32-MAXI-WEB demo 1.03.mcw) in MPLAB, compile the projects inside (MainProgram project must be the last one because other generates library files used in it) and then debug the application. This sample workspace may also be your starting point in developing new applications using the board.

   Build info:
      IDE: MPLAB IDE v8.91 or MPLABX 1.80
      Compiler: XC32 v1.21
      Microchip Graphics Library v3.06
      FreeRTOS v7.3.0

   Debugger used:
      PICKit3 by Microchip

NOTE: Since there is no external memory on the board the data for network configurations is stored on the flash. So if you decide to edit the demo for your own project please check the address defined with APP_CONFIG_ADDRESS macro in the "HardwareProfile - PIC32MX795F512L PIM.h" file. Find a proper address where the data can be stored! Otherwise saving network configurations may cause errors during execution of your program!!!our program!!!

Open the whole workspace in the root directory with all the 6 projects (5 libraries and MainProgram), not a separate project.

Can you try this and tell me if it is ok?
May the Source be with You!

lamda

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
Re: compiling PIC32-MAXI-WEB v1.00.mcw
« Reply #4 on: September 18, 2013, 02:30:58 PM »
Hi Stanimir,
thanks alot. Managed to do it. There was a "missing files" warning in the MPLAB IDE that's why I transfered the files. It should help next buyers if you add it an explanation about it in the readme file.
Thank you again

Stanimir5F

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +2/-0
Re: compiling PIC32-MAXI-WEB v1.00.mcw
« Reply #5 on: September 18, 2013, 03:22:41 PM »
Do you remember which of the files were noted as "missing"? Because all the files in my project are fine but I suppose they were included in the project with their absolute path and that's why I do not have that problem, but you have it. If you have list of those "missing files" I will try to fix it.
May the Source be with You!

lamda

  • Newbie
  • *
  • Posts: 17
  • Karma: +1/-0
Re: compiling PIC32-MAXI-WEB v1.00.mcw
« Reply #6 on: September 19, 2013, 11:44:55 AM »
Hi Stanimir,
yes the "missing files" were all the inputs to the Library Files from the MainProgram.mcp: AdcServer.a, FreeRTOS.a, Graphics_lib.a, SDcard_lib.a and TCPIP_lib.a. And if you check in the original DemoSoft_PIC32-MAXI-WEB_v1_03.zip file there do not appear, since as you said there would be created during the compiling (and they do so in the working path).
Now I have a problem with the Ethernet, I cannot see the board. The IP address shown in the Hyperterminal is New IP Address: 192.168.0.113
New IP Address: 169.254.226.192
I assume that the second is given by the DHCP server. Altough there is no response to either a ping or a browser search. Any ideas?
Thank you.

Stanimir5F

  • Jr. Member
  • **
  • Posts: 80
  • Karma: +2/-0
Re: compiling PIC32-MAXI-WEB v1.00.mcw
« Reply #7 on: September 23, 2013, 08:46:51 AM »
Oh, I see! I thought that there are source or header files marked as "missing". That's why I thought they are added in the project with their absolute path.
As for the library files (*.a) it is normal for them to be missing since they are "generated" files just like: object files (*.o); binary (*hex, *bin); memory map files (*map) etc.
The idea is to make the project archive smaller, that's why first you have to build 5 library projects ("Set as active" option, followed by build) and then MainProject at the end of the build process.

As for your second question. Yes, the second IP is given by the DHCP but it is strange that it is 169.254.*.* Usually this is a sign of problem in the network settings. Maybe IP/MAC address or DHCP configurations of the router. I can't tell you for sure what exactly is the problem. I can suggest you to check this thread. This guy had similar to your problem:
https://getsatisfaction.com/coolcomponents/topics/i_have_just_received_a_pic32_maxi_web_when_i_power_it_up_the_demo_works_fine_but_when_i
May the Source be with You!