I followed all the instructions to install TinyCLR source to build the targets. It fails with the following output
collect2.exe: error: ld returned 1 exit status
C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major\bin\arm-none-eabi-objcopy.exe: 'C:\Tools\tinyCLR\TinyCLR-Ports\Build\release\FEZCLR\FEZCLR Firmware.axf': No such file
C:\Program Files (x86)\GNU Tools ARM Embedded\7 2017-q4-major\bin\arm-none-eabi-objcopy.exe: 'C:\Tools\tinyCLR\TinyCLR-Ports\Build\release\FEZCLR\FEZCLR Firmware.axf': No such file
Cannot read input file.
My guess is that it’s because you’re trying to build the source on the dev branch which has progressed since 0.11.0 was released while TinyCLR.h and the pre-compiled libraries are only for 0.11.0.
I’ve clarified the build steps docs to highlight this.
Hey everyone, I’m still having trouble building. I cloned the master branch, and followed the rest of the instructions, pasting the v0.11 files into the Core directory. Here’s a sample of the build errors:
In file included from D:\git\CLR\Targets\STM32F4xx\STM32F4_ADC.cpp:17:0:
D:\git\CLR\Targets\STM32F4xx\STM32F4.h:213:45: error: 'TinyCLR_SdCard_Provider'
does not name a type; did you mean 'TinyCLR_Uart_Provider'?
TinyCLR_Result STM32F4_SdCard_Acquire(const TinyCLR_SdCard_Provider* self, int3
2_t controller);
^~~~~~~~~~~~~~~~~~~~~~~
TinyCLR_Uart_Provider
D:\git\CLR\Targets\STM32F4xx\STM32F4.h:214:45: error: 'TinyCLR_SdCard_Provider'
does not name a type; did you mean 'TinyCLR_Uart_Provider'?
TinyCLR_Result STM32F4_SdCard_Release(const TinyCLR_SdCard_Provider* self, int3
2_t controller);
So, my first post is a fail. It turns out somehow I did move the dropdown to dev when I cloned. Recloned to master and now it is working correctly. Thanks!