[Bitcloud] Compiling WSNDemo under AS7 fails - Page 1
Forum section: electronics / general

author: danergo
author_rank: Regular Contributor
timestamp: October 31, 2016, 06:59:23 pm
content: Hello, I've just had an issue with running WSNDemo under the latest Atmel Studio 7.It asks if I want to migrate the structure, but even if I choose yes, or no, I get the results of a bunch of missing .o files when building:Code:------ Build started: Project: Atmega256rfr2, Configuration: All_MegaRf_Atmega256rfr2_16Mhz_Gcc AVR ------Build started.Project "Atmega256rfr2.cproj" (default targets):Target "PreBuildEvent" skipped, due to false condition; ('$(PreBuildEvent)'!='') was evaluated as (''!='').Target "CoreBuild" in file "C:\Program Files (x86)\Atmel\Studio\7.0\Vs\Compiler.targets" from project "C:\Users\xxx\Downloads\BitCloud_MEGARF_3_2_0\Applications\WSNDemo\atmelStudio_projects\Atmega256rfr2.cproj" (target "Build" depends on it):Using "RunCompilerTask" task from assembly "C:\Program Files (x86)\Atmel\Studio\7.0\Extensions\Application\AvrGCC.dll".Task "RunCompilerTask"Shell Utils Path C:\Program Files (x86)\Atmel\Studio\7.0\shellUtilsC:\Program Files (x86)\Atmel\Studio\7.0\shellUtils\make.exe -C "C:\Users\xxx\Downloads\BitCloud_MEGARF_3_2_0\Applications\WSNDemo\atmelStudio_projects\..\makefiles\Atmega256rfr2" -f "Makefile_All_MegaRf_Atmega256rfr2_16Mhz_Gcc" allmake: Entering directory 'C:/Users/xxx/Downloads/BitCloud_MEGARF_3_2_0/Applications/WSNDemo/makefiles/Atmega256rfr2'avr-gcc -Wl,-Map=All_MegaRf_Atmega256rfr2_16Mhz_Gcc/List/WSNDemo.map -Wl,--gc-sections -Wl,--script=../../linkerScr/atmega256rfr2.ld -Wl,--section-start=.data=0x800200 -mmcu=atmega256rfr2 -Wl,--relax All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNSensorManager.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNEndDevice.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNCoord.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNVisualizer.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNMessageSender.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNCommandHandler.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNRouter.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNDemoApp.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNUARTManager.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsMemAccess.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsTimer.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsMem.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsWriteData.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsCrcService.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsInit.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsEvents.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsDataServer.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/fakePds.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsTypesConverter.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsTaskManager.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsSecurity.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsInit.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsDataServer.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/S_Nv.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/S_XNv.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/S_Nv-External.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/D_Nv.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/S_Nv_Stub.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysIdleHandler.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysSleep.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysStat.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysEventsHandler.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysQueue.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysUtils.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysAssert.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysDuplicateTable.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysInit.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysTaskManager.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/dbg.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysMutex.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysTimer.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/xyl2rgb.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/bspVoltageSensor.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/bspTaskManager.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/bspTempSensor.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/hs2xy.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/buttons.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/MaxL.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/lcd.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/bspUid.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/leds.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/fakeBSP.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/usbFifoVirtualUsart.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/usbFifoFT245RL.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/csPersistentMem.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/csMem.o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/configServer.o -Wl,-\( ../../../../BitCloud/lib/libBc_All_Atmega256rfr2_Atmega256rfr2_Gcc.a ../../../../BitCloud/lib/libHAL_MegaRf_Atmega256rfr2_16Mhz_Gcc.a ../../../../BitCloud/lib/WdtInitatmega256rfr2_Gcc.o -Wl,-\) -o All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Exe/WSNDemo.elfavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNSensorManager.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNEndDevice.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNCoord.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNVisualizer.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNMessageSender.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNCommandHandler.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNRouter.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNDemoApp.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/WSNUARTManager.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsMemAccess.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsTimer.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsMem.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsWriteData.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsCrcService.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsInit.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsEvents.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/stdPdsDataServer.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/fakePds.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsTypesConverter.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsTaskManager.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsSecurity.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsInit.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/wlPdsDataServer.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/S_Nv.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/S_XNv.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/S_Nv-External.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/D_Nv.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/S_Nv_Stub.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysIdleHandler.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysSleep.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysStat.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysEventsHandler.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysQueue.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysUtils.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysAssert.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysDuplicateTable.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysInit.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysTaskManager.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/dbg.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysMutex.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/sysTimer.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/xyl2rgb.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/bspVoltageSensor.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/bspTaskManager.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/bspTempSensor.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/hs2xy.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/buttons.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/MaxL.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/lcd.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/bspUid.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/leds.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/fakeBSP.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/usbFifoVirtualUsart.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/usbFifoFT245RL.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/csPersistentMem.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/csMem.o: No such file or directoryavr-gcc(0,0): error: All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Obj/configServer.o: No such file or directoryC:\Users\xxx\Downloads\BitCloud_MEGARF_3_2_0\Applications\WSNDemo\makefiles\Atmega256rfr2\All_MegaRf_Atmega256rfr2_16Mhz_Gcc\Exe\Makefile_All_MegaRf_Atmega256rfr2_16Mhz_Gcc(168,1): error: recipe for target 'All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Exe/WSNDemo.elf' failedmake: *** [All_MegaRf_Atmega256rfr2_16Mhz_Gcc/Exe/WSNDemo.elf] Error 1make: Leaving directory 'C:/Users/xxx/Downloads/BitCloud_MEGARF_3_2_0/Applications/WSNDemo/makefiles/Atmega256rfr2'The command exited with code 2.Done executing task "RunCompilerTask" -- FAILED.Done building target "CoreBuild" in project "Atmega256rfr2.cproj" -- FAILED.Done building project "Atmega256rfr2.cproj" -- FAILED.Build FAILED.========== Build: 0 succeeded or up-to-date, 1 failed, 0 skipped ==========It seems AS7 doesn't like to compile anything before running the linker.How can I overcome of this?

author: danergo
author_rank: Regular Contributor
timestamp: October 31, 2016, 07:20:56 pm
content: Okay, I found the makefile bug and the right correction here:http://www.avrfreaks.net/forum/atmel-studio-7-and-bitcloud-demos