Main Site Documentation

Error building FEZ_Hydra default Solution


#1

Hi Support,

I am attempting to build the mainboard solution for the Hydra
@ Main\Mainboards\GHIElectronics\FEZ Hydra\Software\NETMF 4.1 Firmware\Solutions\FEZ_Hydra
\dotnetmf.proj

— > I am getting 5 errors when compiling (see error below)
It appears I am missing projects that were not included in the netmf 4.1 or the Gadgeteer source.
Any help would be appreciated

I followed these directions:

  1. Install NETMF 4.1 PK
  2. install ARM network pack 4.1
  3. Install Crypto pack 4.1
  4. Copy everything from this folder to C:\MicroFrameworkPK_v4_1 overwriting any existing files
  5. Build FEZ Hydra solution. (I used MSBUILD.EXE /t:build /p:flavor=release;memory=flash) in the project directory

I have installed the GCC lite version which was recommended in the porting kit walkthrough.
http://www.codesourcery.com/sgpp/lite/arm/portal/release316

And source for Hydra board is version 16371
gadgeteer-16371.zip

ERRORS:
“D:\MicroFrameworkPK_v4_1\Solutions\FEZ_Hydra\dotnetmf.proj” (build target) (1)
->
(BuildDependencies target) ->
D:\MicroFrameworkPK_v4_1\tools\targets\Microsoft.SPOT.System.Targets(314,5):
error MSB3202: The project file “NativeSample\NativeSample.proj” was not found.
[D:\MicroFrameworkPK_v4_1\Solutions\FEZ_Hydra\dotnetmf.proj]
D:\MicroFrameworkPK_v4_1\tools\targets\Microsoft.SPOT.System.Targets(314,5):
error MSB3202: The project file “PortBooter\portBooter.proj” was not found. [D:
\MicroFrameworkPK_v4_1\Solutions\FEZ_Hydra\dotnetmf.proj]
D:\MicroFrameworkPK_v4_1\tools\targets\Microsoft.SPOT.System.Targets(314,5):
error MSB3202: The project file “PortBooter\portBooterloader.proj” was not foun
d. [D:\MicroFrameworkPK_v4_1\Solutions\FEZ_Hydra\dotnetmf.proj]
D:\MicroFrameworkPK_v4_1\tools\targets\Microsoft.SPOT.System.Targets(314,5):
error MSB3202: The project file “TinyBooter\TinyBooterDecompressor.proj” was no
t found. [D:\MicroFrameworkPK_v4_1\Solutions\FEZ_Hydra\dotnetmf.proj]
“D:\MicroFrameworkPK_v4_1\Solutions\FEZ_Hydra\dotnetmf.proj” (build target) (1)
->
“D:\MicroFrameworkPK_v4_1\Solutions\FEZ_Hydra\TinyCLR\TinyCLR.proj” (Build targ
et) (76) ->
(BuildAXF target) ->
D:\MicroFrameworkPK_v4_1\tools\targets\Microsoft.SPOT.System.GCC.targets(306,
5): error MSB3073: The command ““c:\gcc\bin\arm-none-eabi-ld.exe” -static --g
c-sections --no-warn-mismatch --library-path=D:\MicroFrameworkPK_v4_1\BuildOutp
ut\ARM\GCC4.2\le\FLASH\release\FEZ_Hydra\lib --library-path=D:\MicroFrameworkPK
v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib -u ARM_Vectors -u star
t --Map D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\FLASH\release\FEZ_Hy
dra\bin\tinyclr.map --output=D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le
\FLASH\release\FEZ_Hydra\bin\tinyclr.axf --script=D:\MicroFrameworkPK_v4_1\Buil
dOutput\ARM\GCC4.2\le\FLASH\release\FEZ_Hydra\bin\tinyclr_scatterfile.ldf D:\Mi
croFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\FLASH\release\FEZ_Hydra\obj\Solut
ions\FEZ_Hydra\TinyCLR\tinyclr_dat.obj D:\MicroFrameworkPK_v4_1\BuildOutput\ARM
\GCC4.2\le\FLASH\release\FEZ_Hydra\obj\Solutions\FEZ_Hydra\TinyCLR\allocator.ob
j D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\FLASH\release\FEZ_Hydra\ob
j\Solutions\FEZ_Hydra\TinyCLR\tinyclr.obj -( D:\MicroFrameworkPK_v4_1\BuildOutp
ut\ARM\GCC4.2\le\ANY_MEDIA\release\lib\Core.lib D:\MicroFrameworkPK_v4_1\BuildO
utput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\Hardware.lib D:\MicroFrameworkPK_v4_1
\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\InterruptHandler.lib D:\MicroF
rameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\HeapPersistence
.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\I
2C.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib
\IOPort.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\releas
e\lib\Serialization.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY

MEDIA\release\lib\Stream.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le
\ANY_MEDIA\release\lib\Debugger.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GC
C4.2\le\ANY_MEDIA\release\lib\Debugger_full.lib D:\MicroFrameworkPK_v4_1\BuildO
utput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\Diagnostics.lib D:\MicroFrameworkPK_v
4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\Graphics_Bmp.lib D:\MicroFr
ameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\Graphics.lib D:
MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\Graphics

Gif.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\li
b\Graphics_Jpeg.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDI
A\release\lib\CorLib.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY
MEDIA\release\lib\SPOT.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le
ANY_MEDIA\release\lib\SPOT_Crypto.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM
GCC4.2\le\ANY_MEDIA\release\lib\SPOT_Serialization.lib D:\MicroFrameworkPK_v4_1
\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\SPOT_Graphics.lib D:\MicroFram
eworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\SPOT_Hardware.lib
D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\SPOT_T
ouch.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\l
ib\SPOT_Hardware_SerialPort.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2
\le\ANY_MEDIA\release\lib\SPOT_Hardware_Usb.lib D:\MicroFrameworkPK_v4_1\BuildO
utput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\Xml.lib D:\MicroFrameworkPK_v4_1\Buil
dOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\System_Xml.lib D:\MicroFrameworkPK

v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\SPOT_IO.lib D:\MicroFramew
orkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\SPOT_Net.lib D:\Micr
oFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\Messaging.lib
D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release\lib\CLRSt
artup.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\release
lib\CRC.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_MEDIA\releas
e\lib\WireProtocol.lib D:\MicroFrameworkPK_v4_1\BuildOutput\ARM\GCC4.2\le\ANY_M
EDIA\release\lib\SPOT_Messaging_stub.lib D:\MicroFrameworkPK_v4_1\BuildOutput\A
RM\GCC4.2\le\ANY_MEDIA\release\lib\RPC_stub.lib D:\MicroFrameworkPK_v4_1\BuildO
utput\ARM\GCC4.2\le\FLASH\release\FEZ_Hydra\lib\tmp_tinyclr.lib D:\MicroFramewo
rkPK_v4_1\BuildOutput\ARM\GCC4.2\le\FLASH\release\FEZ_Hydra\lib\InteropAssembli
esTable.lib -) -( “c:\gcc\arm-none-eabi\lib\libm.a” “c:\gcc\arm-none-eabi\lib
\libc.a” “c:\gcc\lib\gcc\arm-none-eabi\4.2.1\libgcc.a” -) -( -)” exited with
code 1. [D:\MicroFrameworkPK_v4_1\Solutions\FEZ_Hydra\TinyCLR\TinyCLR.proj]

32 Warning(s)
5 Error(s)

#2

One of the problems we had in hydra sources was in the long paths that exceeded windows limits!! I was surprised too!

We just finished porting to 4.2 and while doing so, we renamed everything possible to shorten the paths.

This should be announced and made public this week or early next week.