WildernessLabs / Netduino_SDK

32 stars 21 forks source link

Compilation errors while trying to build master for Netduino Plus 2 #23

Open Anatoliuz opened 5 years ago

Anatoliuz commented 5 years ago

I've tried different combinations Win 10 + VS 2010 (gcc 7.2.1 | Keil MDK v 5.11) Win 10 + VS 2013 (gcc 7.2.1 | Keil MDK v 5.11) Win 10 + VS 2015 (gcc 7.2.1 | Keil MDK v 5.11) Win 10 + VS 2017 (I know that this configuration isn't currently supported) (gcc 7.2.1 | Keil MDK v 5.11) Win 7 + VS 2013 (gcc 7.2.1 | Keil MDK v 5.11) Win 8.1 + VS 2015 (gcc 7.2.1 | Keil MDK v 5.11) Nothing works (compilation errors at the end)

Currently I stuck with Win 10 + VS 2015 (gcc 7.2.1 | Keil MDK v 5.11). I've done steps from master branch in Pre-requisites section. Installed Universal Windows App Development Tools and checked all of the items in the folder. While going through building guide I couldn't build any single firmware without compilation errors. I don't understand the logic of my actions. The real strange thing that some firmwares appear in BuildOutput Bin folder after compilation errors. My thoughts it's a weird thing that shouldn't happen. Could you please give me an advice what steps maybe not evident for newbie?

Anatoliuz commented 5 years ago

one of the errors

C:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\tools\targets\Microsoft.SPOT.System.GCC.targets(292,5): error MSB3
073: выход из команды " "c:\gcc\bin\arm-none-eabi-gcc.exe" -xc++ -Wno-invalid-offsetof -fcheck-new  -fno-default-inline
  -mabi=aapcs -ffunction-sections -fomit-frame-pointer -mlong-calls -fdollars-in-identifiers -fshort-wchar -fno-excepti
ons  -funsigned-char -mstructure-size-boundary=8 -DTINYCLR_ENABLE_SOURCELEVELDEBUGGING  -DCOMPILE_THUMB2  -DVERSION_MAJ
OR=4 -DVERSION_MINOR=3 -DVERSION_BUILD=1 -DVERSION_REVISION=0 -DOEMSYSTEMINFOSTRING="\"Netduino Plus 2 (Netduino.IP v1.
0.1) by Wilderness Labs LLC\"" -DPLATFORM_ARM_STM32 -DPLATFORM_ARM_NetduinoPlus2 -DTARGETLOCATION_FLASH -DLITTLE_ENDIAN
 -DGCC  -DPLATFORM_DEPENDENT_HEAP_SIZE_THRESHOLD=10240 -DPLATFORM_DEPENDENT_HEAP_SIZE_THRESHOLD_UPPER=131072 -DPLATFORM
_NO_CLR_TRACE=1 -DTINYCLR_NO_IL_INLINE=1    -mfloat-abi=soft   -mcpu=cortex-m3 -mlittle-endian  -g1 -Os -DNDEBUG  -IC:\
Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\Libraries\CorLib -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3
_NETMF\DeviceCode\include -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\DeviceCode\Cores\arm -IC:\Netduino_SDK
-ipsupportwork\Netduino_2_and_3_NETMF\Support\Include   -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\crypto\i
nc  -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\Include -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3
_NETMF\CLR\Libraries\CorLib -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\Libraries\SPOT -IC:\Netduino_SDK
-ipsupportwork\Netduino_2_and_3_NETMF\CLR\Libraries\SPOT_Hardware -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETM
F\CLR\Libraries\SPOT_Graphics -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\Libraries\SPOT_Net -Ic:\gcc\li
b\gcc\arm-none-eabi\7.2.1\include -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\Solutions\NetduinoPlus2 -IC:\N
etduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\devicecode\Targets\Native\Netduino_STM32 -IC:\Netduino_SDK-ipsupportwo
rk\Netduino_2_and_3_NETMF\DeviceCode\Cores\arm -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\DeviceCode\Cores\
arm\Include -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\DeviceCode -IC:\Netduino_SDK-ipsupportwork\Netduino_
2_and_3_NETMF\DeviceCode\Include -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\Include -IC:\Netduino_SDK-i
psupportwork\Netduino_2_and_3_NETMF\DeviceCode\Targets\Native\STM32\NetduinoPlus2 -IC:\Netduino_SDK-ipsupportwork\Netdu
ino_2_and_3_NETMF\Support\Include -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\DeviceCode\include -IC:\Netdui
no_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\include -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\Crypto\i
nc -IC:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\libraries\corlib -IC:\Netduino_SDK-VS2015_installer_updat
es\Netduino_2_and_3_NETMF\BuildOutput\THUMB2\GCC7.2\le\ANY_MEDIA\release\lib   -Wabi   -o C:\Netduino_SDK-VS2015_instal
ler_updates\Netduino_2_and_3_NETMF\BuildOutput\THUMB2\GCC7.2\le\ANY_MEDIA\release\obj\CLR\Libraries\CorLib\CorLib_fastc
ompile.obj -c C:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\Libraries\CorLib\CorLib_fastcompile.cpp " с кодо
м 1. [C:\Netduino_SDK-ipsupportwork\Netduino_2_and_3_NETMF\CLR\Libraries\CorLib\dotnetmf.proj]