ThisIsNotRocketScience / GerberTools

Tools to load/edit/create/panelizer sets of gerber files
MIT License
718 stars 139 forks source link

Linux build failed - debian/ubuntu #84

Open nardev opened 5 years ago

nardev commented 5 years ago

I just tried to build GerberTools but first obstacle was the "#!/bin/sh" in build.sh. I changed that to "#!/bin/bash" and it started that build. However, now i have another issue:

Here is what i get gerbertools.install.log

fiskusmati commented 5 years ago

I'm running Ubuntu 18.04 and getting problems when trying to build:

user1@user1-Vostro-3550:~/Downloads/GerberTools-master$ sudo ./build.sh
./build.sh: 3: set: Illegal option -o pipefail

This was solved thanks to nardev (changing #!/bin/sh to #!/bin/bash). But still not building correctly:

user1@user1-Vostro-3550:~/Downloads/GerberTools-master$ ./build.sh
+ export TERM=xterm
+ TERM=xterm
+ nuget Triangle 0.0.6-Beta3
+ package=Triangle
+ version=0.0.6-Beta3
++ mktemp
+ zip=/tmp/tmp.qn8YqfzGg7.zip
+ url=https://www.nuget.org/api/v2/package/Triangle/0.0.6-Beta3
+ dir=GerberProjects/packages/Triangle.0.0.6-Beta3
+ test -d GerberProjects/packages/Triangle.0.0.6-Beta3
+ wget https://www.nuget.org/api/v2/package/Triangle/0.0.6-Beta3 -O /tmp/tmp.qn8YqfzGg7.zip
--2019-04-18 18:20:34--  https://www.nuget.org/api/v2/package/Triangle/0.0.6-Beta3
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/triangle.0.0.6-beta3.nupkg [following]
--2019-04-18 18:20:35--  https://az320820.vo.msecnd.net/packages/triangle.0.0.6-beta3.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 231470 (226K) [application/octet-stream]
Saving to: ‘/tmp/tmp.qn8YqfzGg7.zip’

/tmp/tmp.qn8YqfzGg7 100%[===================>] 226,04K  1,25MB/s    in 0,2s    

2019-04-18 18:20:39 (1,25 MB/s) - ‘/tmp/tmp.qn8YqfzGg7.zip’ saved [231470/231470]

+ mkdir -p GerberProjects/packages/Triangle.0.0.6-Beta3
+ unzip /tmp/tmp.qn8YqfzGg7.zip -d GerberProjects/packages/Triangle.0.0.6-Beta3
Archive:  /tmp/tmp.qn8YqfzGg7.zip
  inflating: GerberProjects/packages/Triangle.0.0.6-Beta3/_rels/.rels  
  inflating: GerberProjects/packages/Triangle.0.0.6-Beta3/Triangle.nuspec  
  inflating: GerberProjects/packages/Triangle.0.0.6-Beta3/lib/net35/Triangle.dll  
  inflating: GerberProjects/packages/Triangle.0.0.6-Beta3/lib/net45/Triangle.dll  
  inflating: GerberProjects/packages/Triangle.0.0.6-Beta3/lib/netstandard1.5/Triangle.dll  
  inflating: GerberProjects/packages/Triangle.0.0.6-Beta3/[Content_Types].xml  
 extracting: GerberProjects/packages/Triangle.0.0.6-Beta3/.signature.p7s  
+ rm /tmp/tmp.qn8YqfzGg7.zip
+ nuget DotNetZip 1.12.0
+ package=DotNetZip
+ version=1.12.0
++ mktemp
+ zip=/tmp/tmp.kCVMKwqZq1.zip
+ url=https://www.nuget.org/api/v2/package/DotNetZip/1.12.0
+ dir=GerberProjects/packages/DotNetZip.1.12.0
+ test -d GerberProjects/packages/DotNetZip.1.12.0
+ wget https://www.nuget.org/api/v2/package/DotNetZip/1.12.0 -O /tmp/tmp.kCVMKwqZq1.zip
--2019-04-18 18:20:39--  https://www.nuget.org/api/v2/package/DotNetZip/1.12.0
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/dotnetzip.1.12.0.nupkg [following]
--2019-04-18 18:20:40--  https://az320820.vo.msecnd.net/packages/dotnetzip.1.12.0.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 444408 (434K) [application/octet-stream]
Saving to: ‘/tmp/tmp.kCVMKwqZq1.zip’

/tmp/tmp.kCVMKwqZq1 100%[===================>] 433,99K  --.-KB/s    in 0,1s    

2019-04-18 18:20:40 (3,78 MB/s) - ‘/tmp/tmp.kCVMKwqZq1.zip’ saved [444408/444408]

+ mkdir -p GerberProjects/packages/DotNetZip.1.12.0
+ unzip /tmp/tmp.kCVMKwqZq1.zip -d GerberProjects/packages/DotNetZip.1.12.0
Archive:  /tmp/tmp.kCVMKwqZq1.zip
  inflating: GerberProjects/packages/DotNetZip.1.12.0/_rels/.rels  
  inflating: GerberProjects/packages/DotNetZip.1.12.0/DotNetZip.nuspec  
  inflating: GerberProjects/packages/DotNetZip.1.12.0/lib/net20/DotNetZip.dll  
  inflating: GerberProjects/packages/DotNetZip.1.12.0/lib/net20/DotNetZip.xml  
  inflating: GerberProjects/packages/DotNetZip.1.12.0/[Content_Types].xml  
  inflating: GerberProjects/packages/DotNetZip.1.12.0/package/services/metadata/core-properties/1c5f81090ccb439f94c7e61603c0eff0.psmdcp  
 extracting: GerberProjects/packages/DotNetZip.1.12.0/.signature.p7s  
+ rm /tmp/tmp.kCVMKwqZq1.zip
+ nuget OpenTK 3.0.1
+ package=OpenTK
+ version=3.0.1
++ mktemp
+ zip=/tmp/tmp.3HYv4hwi0F.zip
+ url=https://www.nuget.org/api/v2/package/OpenTK/3.0.1
+ dir=GerberProjects/packages/OpenTK.3.0.1
+ test -d GerberProjects/packages/OpenTK.3.0.1
+ wget https://www.nuget.org/api/v2/package/OpenTK/3.0.1 -O /tmp/tmp.3HYv4hwi0F.zip
--2019-04-18 18:20:40--  https://www.nuget.org/api/v2/package/OpenTK/3.0.1
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/opentk.3.0.1.nupkg [following]
--2019-04-18 18:20:41--  https://az320820.vo.msecnd.net/packages/opentk.3.0.1.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 3090642 (2,9M) [application/octet-stream]
Saving to: ‘/tmp/tmp.3HYv4hwi0F.zip’

/tmp/tmp.3HYv4hwi0F 100%[===================>]   2,95M  5,14MB/s    in 0,6s    

2019-04-18 18:20:42 (5,14 MB/s) - ‘/tmp/tmp.3HYv4hwi0F.zip’ saved [3090642/3090642]

+ mkdir -p GerberProjects/packages/OpenTK.3.0.1
+ unzip /tmp/tmp.3HYv4hwi0F.zip -d GerberProjects/packages/OpenTK.3.0.1
Archive:  /tmp/tmp.3HYv4hwi0F.zip
  inflating: GerberProjects/packages/OpenTK.3.0.1/lib/net20/OpenTK.xml  
  inflating: GerberProjects/packages/OpenTK.3.0.1/lib/net20/OpenTK.pdb  
  inflating: GerberProjects/packages/OpenTK.3.0.1/lib/net20/OpenTK.dll  
  inflating: GerberProjects/packages/OpenTK.3.0.1/content/OpenTK.dll.config  
  inflating: GerberProjects/packages/OpenTK.3.0.1/OpenTK.nuspec  
  inflating: GerberProjects/packages/OpenTK.3.0.1/package/services/metadata/core-properties/coreProp.psmdcp  
  inflating: GerberProjects/packages/OpenTK.3.0.1/_rels/.rels  
  inflating: GerberProjects/packages/OpenTK.3.0.1/[Content_Types].xml  
 extracting: GerberProjects/packages/OpenTK.3.0.1/.signature.p7s  
+ rm /tmp/tmp.3HYv4hwi0F.zip
+ nuget OpenTK.GLControl 3.0.1
+ package=OpenTK.GLControl
+ version=3.0.1
++ mktemp
+ zip=/tmp/tmp.DCx9oTnNK3.zip
+ url=https://www.nuget.org/api/v2/package/OpenTK.GLControl/3.0.1
+ dir=GerberProjects/packages/OpenTK.GLControl.3.0.1
+ test -d GerberProjects/packages/OpenTK.GLControl.3.0.1
+ wget https://www.nuget.org/api/v2/package/OpenTK.GLControl/3.0.1 -O /tmp/tmp.DCx9oTnNK3.zip
--2019-04-18 18:20:43--  https://www.nuget.org/api/v2/package/OpenTK.GLControl/3.0.1
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/opentk.glcontrol.3.0.1.nupkg [following]
--2019-04-18 18:20:44--  https://az320820.vo.msecnd.net/packages/opentk.glcontrol.3.0.1.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 35041 (34K) [application/octet-stream]
Saving to: ‘/tmp/tmp.DCx9oTnNK3.zip’

/tmp/tmp.DCx9oTnNK3 100%[===================>]  34,22K  --.-KB/s    in 0,002s  

2019-04-18 18:20:44 (18,4 MB/s) - ‘/tmp/tmp.DCx9oTnNK3.zip’ saved [35041/35041]

+ mkdir -p GerberProjects/packages/OpenTK.GLControl.3.0.1
+ unzip /tmp/tmp.DCx9oTnNK3.zip -d GerberProjects/packages/OpenTK.GLControl.3.0.1
Archive:  /tmp/tmp.DCx9oTnNK3.zip
  inflating: GerberProjects/packages/OpenTK.GLControl.3.0.1/lib/net20/OpenTK.GLControl.xml  
  inflating: GerberProjects/packages/OpenTK.GLControl.3.0.1/lib/net20/OpenTK.GLControl.pdb  
  inflating: GerberProjects/packages/OpenTK.GLControl.3.0.1/lib/net20/OpenTK.GLControl.dll  
  inflating: GerberProjects/packages/OpenTK.GLControl.3.0.1/OpenTK.GLControl.nuspec  
  inflating: GerberProjects/packages/OpenTK.GLControl.3.0.1/package/services/metadata/core-properties/coreProp.psmdcp  
  inflating: GerberProjects/packages/OpenTK.GLControl.3.0.1/_rels/.rels  
  inflating: GerberProjects/packages/OpenTK.GLControl.3.0.1/[Content_Types].xml  
 extracting: GerberProjects/packages/OpenTK.GLControl.3.0.1/.signature.p7s  
+ rm /tmp/tmp.DCx9oTnNK3.zip
+ nuget netDXF 2.0.2
+ package=netDXF
+ version=2.0.2
++ mktemp
+ zip=/tmp/tmp.pk5WrWETBJ.zip
+ url=https://www.nuget.org/api/v2/package/netDXF/2.0.2
+ dir=GerberProjects/packages/netDXF.2.0.2
+ test -d GerberProjects/packages/netDXF.2.0.2
+ wget https://www.nuget.org/api/v2/package/netDXF/2.0.2 -O /tmp/tmp.pk5WrWETBJ.zip
--2019-04-18 18:20:44--  https://www.nuget.org/api/v2/package/netDXF/2.0.2
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/netdxf.2.0.2.nupkg [following]
--2019-04-18 18:20:45--  https://az320820.vo.msecnd.net/packages/netdxf.2.0.2.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 268087 (262K) [application/octet-stream]
Saving to: ‘/tmp/tmp.pk5WrWETBJ.zip’

/tmp/tmp.pk5WrWETBJ 100%[===================>] 261,80K   536KB/s    in 0,5s    

2019-04-18 18:20:46 (536 KB/s) - ‘/tmp/tmp.pk5WrWETBJ.zip’ saved [268087/268087]

+ mkdir -p GerberProjects/packages/netDXF.2.0.2
+ unzip /tmp/tmp.pk5WrWETBJ.zip -d GerberProjects/packages/netDXF.2.0.2
Archive:  /tmp/tmp.pk5WrWETBJ.zip
  inflating: GerberProjects/packages/netDXF.2.0.2/_rels/.rels  
  inflating: GerberProjects/packages/netDXF.2.0.2/netDXF.nuspec  
  inflating: GerberProjects/packages/netDXF.2.0.2/lib/net45/netDxf.dll  
  inflating: GerberProjects/packages/netDXF.2.0.2/lib/net45/netDxf.xml  
  inflating: GerberProjects/packages/netDXF.2.0.2/[Content_Types].xml  
  inflating: GerberProjects/packages/netDXF.2.0.2/package/services/metadata/core-properties/cd50ab77a7e44819a2ed07ed2eb61673.psmdcp  
 extracting: GerberProjects/packages/netDXF.2.0.2/.signature.p7s  
+ rm /tmp/tmp.pk5WrWETBJ.zip
+ nuget netDXF 0.9.3
+ package=netDXF
+ version=0.9.3
++ mktemp
+ zip=/tmp/tmp.iehPvceHtI.zip
+ url=https://www.nuget.org/api/v2/package/netDXF/0.9.3
+ dir=GerberProjects/packages/netDXF.0.9.3
+ test -d GerberProjects/packages/netDXF.0.9.3
+ wget https://www.nuget.org/api/v2/package/netDXF/0.9.3 -O /tmp/tmp.iehPvceHtI.zip
--2019-04-18 18:20:46--  https://www.nuget.org/api/v2/package/netDXF/0.9.3
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/netdxf.0.9.3.nupkg [following]
--2019-04-18 18:20:47--  https://az320820.vo.msecnd.net/packages/netdxf.0.9.3.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 208165 (203K) [application/octet-stream]
Saving to: ‘/tmp/tmp.iehPvceHtI.zip’

/tmp/tmp.iehPvceHtI 100%[===================>] 203,29K   395KB/s    in 0,5s    

2019-04-18 18:20:48 (395 KB/s) - ‘/tmp/tmp.iehPvceHtI.zip’ saved [208165/208165]

+ mkdir -p GerberProjects/packages/netDXF.0.9.3
+ unzip /tmp/tmp.iehPvceHtI.zip -d GerberProjects/packages/netDXF.0.9.3
Archive:  /tmp/tmp.iehPvceHtI.zip
 extracting: GerberProjects/packages/netDXF.0.9.3/_rels/.rels  
  inflating: GerberProjects/packages/netDXF.0.9.3/netDXF.nuspec  
  inflating: GerberProjects/packages/netDXF.0.9.3/lib/netDxf.dll  
  inflating: GerberProjects/packages/netDXF.0.9.3/lib/netDxf.xml  
 extracting: GerberProjects/packages/netDXF.0.9.3/package/services/metadata/core-properties/8273be0e2b7f4aebb721c0e52e09ac78.psmdcp  
 extracting: GerberProjects/packages/netDXF.0.9.3/[Content_Types].xml  
 extracting: GerberProjects/packages/netDXF.0.9.3/.signature.p7s  
+ rm /tmp/tmp.iehPvceHtI.zip
+ nuget GlmNet 0.5.1
+ package=GlmNet
+ version=0.5.1
++ mktemp
+ zip=/tmp/tmp.BCf7WmDCvv.zip
+ url=https://www.nuget.org/api/v2/package/GlmNet/0.5.1
+ dir=GerberProjects/packages/GlmNet.0.5.1
+ test -d GerberProjects/packages/GlmNet.0.5.1
+ wget https://www.nuget.org/api/v2/package/GlmNet/0.5.1 -O /tmp/tmp.BCf7WmDCvv.zip
--2019-04-18 18:20:48--  https://www.nuget.org/api/v2/package/GlmNet/0.5.1
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/glmnet.0.5.1.nupkg [following]
--2019-04-18 18:20:48--  https://az320820.vo.msecnd.net/packages/glmnet.0.5.1.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 38070 (37K) [application/octet-stream]
Saving to: ‘/tmp/tmp.BCf7WmDCvv.zip’

/tmp/tmp.BCf7WmDCvv 100%[===================>]  37,18K  --.-KB/s    in 0,1s    

2019-04-18 18:20:49 (265 KB/s) - ‘/tmp/tmp.BCf7WmDCvv.zip’ saved [38070/38070]

+ mkdir -p GerberProjects/packages/GlmNet.0.5.1
+ unzip /tmp/tmp.BCf7WmDCvv.zip -d GerberProjects/packages/GlmNet.0.5.1
Archive:  /tmp/tmp.BCf7WmDCvv.zip
 extracting: GerberProjects/packages/GlmNet.0.5.1/_rels/.rels  
  inflating: GerberProjects/packages/GlmNet.0.5.1/GlmNet.nuspec  
  inflating: GerberProjects/packages/GlmNet.0.5.1/lib/net40/GlmNet.dll  
  inflating: GerberProjects/packages/GlmNet.0.5.1/lib/net40/GlmNet.pdb  
  inflating: GerberProjects/packages/GlmNet.0.5.1/lib/net40/GlmNet.XML  
 extracting: GerberProjects/packages/GlmNet.0.5.1/package/services/metadata/core-properties/49508ba9240f458fb08fe3d356c2a49d.psmdcp  
 extracting: GerberProjects/packages/GlmNet.0.5.1/[Content_Types].xml  
 extracting: GerberProjects/packages/GlmNet.0.5.1/.signature.p7s  
+ rm /tmp/tmp.BCf7WmDCvv.zip
+ nuget DockPanelSuite 3.0.6
+ package=DockPanelSuite
+ version=3.0.6
++ mktemp
+ zip=/tmp/tmp.js8yPvfILJ.zip
+ url=https://www.nuget.org/api/v2/package/DockPanelSuite/3.0.6
+ dir=GerberProjects/packages/DockPanelSuite.3.0.6
+ test -d GerberProjects/packages/DockPanelSuite.3.0.6
+ wget https://www.nuget.org/api/v2/package/DockPanelSuite/3.0.6 -O /tmp/tmp.js8yPvfILJ.zip
--2019-04-18 18:20:49--  https://www.nuget.org/api/v2/package/DockPanelSuite/3.0.6
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/dockpanelsuite.3.0.6.nupkg [following]
--2019-04-18 18:20:50--  https://az320820.vo.msecnd.net/packages/dockpanelsuite.3.0.6.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 273805 (267K) [application/octet-stream]
Saving to: ‘/tmp/tmp.js8yPvfILJ.zip’

/tmp/tmp.js8yPvfILJ 100%[===================>] 267,39K   514KB/s    in 0,5s    

2019-04-18 18:20:51 (514 KB/s) - ‘/tmp/tmp.js8yPvfILJ.zip’ saved [273805/273805]

+ mkdir -p GerberProjects/packages/DockPanelSuite.3.0.6
+ unzip /tmp/tmp.js8yPvfILJ.zip -d GerberProjects/packages/DockPanelSuite.3.0.6
Archive:  /tmp/tmp.js8yPvfILJ.zip
  inflating: GerberProjects/packages/DockPanelSuite.3.0.6/_rels/.rels  
  inflating: GerberProjects/packages/DockPanelSuite.3.0.6/DockPanelSuite.nuspec  
  inflating: GerberProjects/packages/DockPanelSuite.3.0.6/lib/net35-client/WeifenLuo.WinFormsUI.Docking.dll  
  inflating: GerberProjects/packages/DockPanelSuite.3.0.6/lib/net40/WeifenLuo.WinFormsUI.Docking.dll  
  inflating: GerberProjects/packages/DockPanelSuite.3.0.6/[Content_Types].xml  
  inflating: GerberProjects/packages/DockPanelSuite.3.0.6/package/services/metadata/core-properties/0a4099cd09a14d08b44eed91047a5256.psmdcp  
 extracting: GerberProjects/packages/DockPanelSuite.3.0.6/.signature.p7s  
+ rm /tmp/tmp.js8yPvfILJ.zip
+ nuget DockPanelSuite.ThemeVS2015 3.0.6
+ package=DockPanelSuite.ThemeVS2015
+ version=3.0.6
++ mktemp
+ zip=/tmp/tmp.3t19rfxdT7.zip
+ url=https://www.nuget.org/api/v2/package/DockPanelSuite.ThemeVS2015/3.0.6
+ dir=GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6
+ test -d GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6
+ wget https://www.nuget.org/api/v2/package/DockPanelSuite.ThemeVS2015/3.0.6 -O /tmp/tmp.3t19rfxdT7.zip
--2019-04-18 18:20:51--  https://www.nuget.org/api/v2/package/DockPanelSuite.ThemeVS2015/3.0.6
Resolving www.nuget.org (www.nuget.org)... 52.240.159.111
Connecting to www.nuget.org (www.nuget.org)|52.240.159.111|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://az320820.vo.msecnd.net/packages/dockpanelsuite.themevs2015.3.0.6.nupkg [following]
--2019-04-18 18:20:52--  https://az320820.vo.msecnd.net/packages/dockpanelsuite.themevs2015.3.0.6.nupkg
Resolving az320820.vo.msecnd.net (az320820.vo.msecnd.net)... 152.199.19.160
Connecting to az320820.vo.msecnd.net (az320820.vo.msecnd.net)|152.199.19.160|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 341719 (334K) [application/octet-stream]
Saving to: ‘/tmp/tmp.3t19rfxdT7.zip’

/tmp/tmp.3t19rfxdT7 100%[===================>] 333,71K   596KB/s    in 0,6s    

2019-04-18 18:20:53 (596 KB/s) - ‘/tmp/tmp.3t19rfxdT7.zip’ saved [341719/341719]

+ mkdir -p GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6
+ unzip /tmp/tmp.3t19rfxdT7.zip -d GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6
Archive:  /tmp/tmp.3t19rfxdT7.zip
  inflating: GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6/_rels/.rels  
  inflating: GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6/DockPanelSuite.ThemeVS2015.nuspec  
  inflating: GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6/lib/net35-client/WeifenLuo.WinFormsUI.Docking.ThemeVS2015.dll  
  inflating: GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6/lib/net40/WeifenLuo.WinFormsUI.Docking.ThemeVS2015.dll  
  inflating: GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6/[Content_Types].xml  
  inflating: GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6/package/services/metadata/core-properties/9648328fcc64478ebf7feaa0a8e6a277.psmdcp  
 extracting: GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6/.signature.p7s  
+ rm /tmp/tmp.3t19rfxdT7.zip
+ xbuild /p:Configuration=Debug GerberProjects/GerberProjects.sln
./build.sh: line 35: xbuild: command not found
user1@user1-Vostro-3550:~/Downloads/GerberTools-master$ 
irfinnew commented 5 years ago

@fiskusmati apt install mono-xbuild will clear that error up.

Meanwhile, on Debian testing (to be Debian 10), I'm running into these issues:

Core/GerberPanel.cs(13,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing an assembly reference?
Core/GerberPanel.cs(14,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
Core/GerberPanel.cs(15,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
Core/ImageCreator.cs(13,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing an assembly reference?
Core/ParsedGerber.cs(8,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
Core/ParsedGerber.cs(13,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
Core/ParsedGerber.cs(14,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
Core/ParsedGerber.cs(15,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
Core/SickOfBeige.cs(13,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing an assembly reference?

I've been trying to replace the nuget function in build.sh with the actual Nuget package manager to get decent dependency management, but I'm stumbling from one problem into the next...

EuphoricCatface commented 5 years ago

I'm getting same errors as @nardev.

...

Build FAILED.

Warnings:

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln:  warning : Don't know how to handle GlobalSection Performance, Ignoring.

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln (default targets) ->
(Build target) ->
/home/[username]/kicad/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'DotNetZip, Version=1.12.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.IO.Compression' not resolved
    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.IO.Compression.FileSystem' not resolved
    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Data.DataSetExtensions' not resolved
    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'Triangle, Version=0.0.6.0, Culture=neutral, processorArchitecture=MSIL' not resolved

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln (default targets) ->
(Build target) ->
/home/[username]/kicad/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Data.DataSetExtensions' not resolved
    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'System.Net.Http' not resolved

     8 Warning(s)
     0 Error(s)

Time Elapsed 00:00:03.0446890

Running under Crostini on ChromeOS ARM variant, though I don't believe that's causing the problem. I know not much about mono, but tried nuget restore on the .sln file. All the installation of each package seems to go well, but it still makes same "not resolved" warnings and fail.

EuphoricCatface commented 5 years ago

installed mono-complete than just mono-xbuild. It seems to go a couple of steps further, - and looks more like @mmoreaux's! - but that's mostly about it.

...

Build FAILED.

Warnings:

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln:  warning : Don't know how to handle GlobalSection Performance, Ignoring.

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln (default targets) ->
(Build target) ->
/home/[username]/kicad/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'DotNetZip, Version=1.12.0.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL' not resolved
    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets:  warning : Reference 'Triangle, Version=0.0.6.0, Culture=neutral, processorArchitecture=MSIL' not resolved

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln (default targets) ->
(Build target) ->
/home/[username]/kicad/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    Core/Primitives/PointD.cs(10,18): warning CS0661: `GerberLibrary.Core.Primitives.PointD' defines operator == or operator != but does not override Object.GetHashCode()
    Core/Primitives/PointD.cs(10,18): warning CS0659: `GerberLibrary.Core.Primitives.PointD' overrides Object.Equals(object) but does not override Object.GetHashCode()

Errors:

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln (default targets) ->
(Build target) ->
/home/[username]/kicad/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.CSharp.targets (CoreCompile target) ->

    Core/GerberPanel.cs(13,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing an assembly reference?
    Core/GerberPanel.cs(14,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
    Core/GerberPanel.cs(15,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
    Core/ImageCreator.cs(13,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing an assembly reference?
    Core/ParsedGerber.cs(8,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
    Core/ParsedGerber.cs(13,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
    Core/ParsedGerber.cs(14,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
    Core/ParsedGerber.cs(15,7): error CS0246: The type or namespace name `TriangleNet' could not be found. Are you missing an assembly reference?
    Core/SickOfBeige.cs(13,7): error CS0246: The type or namespace name `Ionic' could not be found. Are you missing an assembly reference?

     5 Warning(s)
     9 Error(s)

Time Elapsed 00:00:04.6827050
CGrassin commented 5 years ago

I have the same build issue under Linux Mint with mono-complete installed.

EuphoricCatface commented 5 years ago

Downloaded 2018-08-10 source. fails in similar fashion except DotNetZip version shows 1.11.0.0 Reverted local git to "Build and dependency fixes." 7af196ab98ed27396be88d2f42999f20badfcc75. It now shows 97 warnings and 11 errors, where warnings are actually regarding to the code itself, like "assigneed but not used" except for the following two

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln:  warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring.
/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln:  warning : Don't know how to handle GlobalSection Performance, Ignoring.

and the errors are all like

/home/[username]/kicad/GerberTools/GerberProjects/GerberProjects.sln (default targets) ->
(Build target) ->
/home/[username]/kicad/GerberTools/FitBitmapToOutlineAndMerge/FitBitmapToOutlineAndMerge.csproj (default targets) ->
/usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GenerateResources target) ->

    /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: error : Tool exited with code: 1. Output: Error: Invalid ResX input.
Position: Line 505, Column 5.
Inner exception: XOR data length expected 2046820352, read 1481
Parameter name: stream

I'm totally lost and frustrated. HALP :(

nardev commented 5 years ago

Still not possible. :(

xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<<

EuphoricCatface commented 5 years ago

I moved on to PCBnew standalone mode for panelizing the board.

itavero commented 5 years ago

Updating the Ionic package, removed the error about the Ionic namespace for me on Mac OS. Still looking into the TriangleNet stuff ;)

kenyapcomau commented 5 years ago

Using the prebuilt package GerberTools_2018_8_10.zip I'm getting similar errors to EuphoricCatface.

$ mono GerberPanelizer.exe Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: XOR data length expected 2046820352, read 1370 Parameter name: stream at System.Drawing.Icon.InitFromStreamWithSize (System.IO.Stream stream, System.Int32 width, System.Int32 height) [0x0052e] in <959c23c34b61469a978cd8f9c424f69f>:0 at System.Drawing.Icon..ctor (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x00095] in <959c23c34b61469a978cd8f9c424f69f>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in :0 --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in :0 at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in :0 at System.Reflection.MonoCMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0002f] in :0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0 at System.Reflection.RuntimeConstructorInfo.SerializationInvoke (System.Object target, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x00000] in :0 at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject (System.Object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x00059] in :0 at System.Runtime.Serialization.ObjectManager.FixupSpecialObject (System.Runtime.Serialization.ObjectHolder holder) [0x00088] in :0 at System.Runtime.Serialization.ObjectManager.DoFixups () [0x0005a] in :0 at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize (System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Runtime.Serialization.Formatters.Binary.__BinaryParser serParser, System.Boolean fCheck, System.Boolean isCrossAppDomain, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) [0x00077] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Boolean fCheck, System.Boolean isCrossAppDomain, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) [0x000a2] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Boolean fCheck, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Boolean fCheck) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in :0 at System.Resources.ResourceReader.DeserializeObject (System.Int32 typeIndex) [0x00019] in :0 at System.Resources.ResourceReader._LoadObjectV2 (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x0035c] in :0 at System.Resources.ResourceReader.LoadObjectV2 (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x00000] in :0 at System.Resources.ResourceReader.LoadObject (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x00022] in :0 at System.Resources.RuntimeResourceSet.GetObject (System.String key, System.Boolean ignoreCase, System.Boolean isString) [0x000be] in :0 at System.Resources.RuntimeResourceSet.GetObject (System.String key, System.Boolean ignoreCase) [0x00000] in :0 at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x00028] in :0 at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in :0 at GerberCombinerBuilder.GerberPanelizerParent.InitializeComponent () [0x00c08] in <4c0c6cc0943e4803a6dcff3fea38c2f8>:0 at GerberCombinerBuilder.GerberPanelizerParent..ctor () [0x00006] in <4c0c6cc0943e4803a6dcff3fea38c2f8>:0 at (wrapper remoting-invoke-with-check) GerberCombinerBuilder.GerberPanelizerParent..ctor() at GerberCombinerBuilder.Program.Main () [0x0000b] in <4c0c6cc0943e4803a6dcff3fea38c2f8>:0 [ERROR] FATAL UNHANDLED EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: XOR data length expected 2046820352, read 1370 Parameter name: stream at System.Drawing.Icon.InitFromStreamWithSize (System.IO.Stream stream, System.Int32 width, System.Int32 height) [0x0052e] in <959c23c34b61469a978cd8f9c424f69f>:0 at System.Drawing.Icon..ctor (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x00095] in <959c23c34b61469a978cd8f9c424f69f>:0 at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke(System.Reflection.MonoCMethod,object,object[],System.Exception&) at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00002] in :0 --- End of inner exception stack trace --- at System.Reflection.MonoCMethod.InternalInvoke (System.Object obj, System.Object[] parameters) [0x00014] in :0 at System.Reflection.MonoCMethod.DoInvoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0007a] in :0 at System.Reflection.MonoCMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0002f] in :0 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0 at System.Reflection.RuntimeConstructorInfo.SerializationInvoke (System.Object target, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x00000] in :0 at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject (System.Object obj, System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) [0x00059] in :0 at System.Runtime.Serialization.ObjectManager.FixupSpecialObject (System.Runtime.Serialization.ObjectHolder holder) [0x00088] in :0 at System.Runtime.Serialization.ObjectManager.DoFixups () [0x0005a] in :0 at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize (System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Runtime.Serialization.Formatters.Binary.__BinaryParser serParser, System.Boolean fCheck, System.Boolean isCrossAppDomain, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) [0x00077] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Boolean fCheck, System.Boolean isCrossAppDomain, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) [0x000a2] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Boolean fCheck, System.Runtime.Remoting.Messaging.IMethodCallMessage methodCallMessage) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler, System.Boolean fCheck) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream, System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000] in :0 at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream serializationStream) [0x00000] in :0 at System.Resources.ResourceReader.DeserializeObject (System.Int32 typeIndex) [0x00019] in :0 at System.Resources.ResourceReader._LoadObjectV2 (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x0035c] in :0 at System.Resources.ResourceReader.LoadObjectV2 (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x00000] in :0 at System.Resources.ResourceReader.LoadObject (System.Int32 pos, System.Resources.ResourceTypeCode& typeCode) [0x00022] in :0 at System.Resources.RuntimeResourceSet.GetObject (System.String key, System.Boolean ignoreCase, System.Boolean isString) [0x000be] in :0 at System.Resources.RuntimeResourceSet.GetObject (System.String key, System.Boolean ignoreCase) [0x00000] in :0 at System.Resources.ResourceManager.GetObject (System.String name, System.Globalization.CultureInfo culture, System.Boolean wrapUnmanagedMemStream) [0x00028] in :0 at System.Resources.ResourceManager.GetObject (System.String name) [0x00000] in :0 at GerberCombinerBuilder.GerberPanelizerParent.InitializeComponent () [0x00c08] in <4c0c6cc0943e4803a6dcff3fea38c2f8>:0 at GerberCombinerBuilder.GerberPanelizerParent..ctor () [0x00006] in <4c0c6cc0943e4803a6dcff3fea38c2f8>:0 at (wrapper remoting-invoke-with-check) GerberCombinerBuilder.GerberPanelizerParent..ctor() at GerberCombinerBuilder.Program.Main () [0x0000b] in <4c0c6cc0943e4803a6dcff3fea38c2f8>:0

No idea what this means. An older build from 2017 from this post https://github.com/ThisIsNotRocketScience/GerberTools/issues/14#issuecomment-344358766 worked.

maludwig commented 4 years ago

I was able to get commit 95d5c403b1da2338430e5bf0c12f9ea41e87dec3 working. 2019-09-22, so a lot more recent than 2017.

CRImier commented 4 years ago

did you use the ./build.sh script for that?

trembel commented 4 years ago

Any solutions to this?

46cv8 commented 3 years ago

I was able to get commit 95d5c403b1da2338430e5bf0c12f9ea41e87dec3 working. 2019-09-22, so a lot more recent than 2017.

I was able to get close to building it using 95d5c403b1da2338430e5bf0c12f9ea41e87dec3 on ubuntu 20.04 with mono-complete installed but I ran into some errors about a missing class "vec2" which appears to be in the codebase so I don't know why xbuild couldn't find it. In order to get it to properly detect Triangle I had also do the following.

"mv GerberProjects/packages/Triangle.0.0.6-Beta3/ GerberProjects/packages/Triangle.0.0.6/"

Any other specifics about how you actually got this to build would be appreciated as it certainly was a useful tool when I used windows.

dromer commented 3 years ago

debian Buster with mono-xbuild installed:

Full build log

``` $ ./build.sh + export TERM=xterm + TERM=xterm + nuget Triangle 0.0.6-Beta3 + package=Triangle + version=0.0.6-Beta3 ++ mktemp + zip=/tmp/tmp.p4Uleid7dz.zip + url=https://www.nuget.org/api/v2/package/Triangle/0.0.6-Beta3 + dir=GerberProjects/packages/Triangle.0.0.6-Beta3 + test -d GerberProjects/packages/Triangle.0.0.6-Beta3 + nuget DotNetZip 1.12.0 + package=DotNetZip + version=1.12.0 ++ mktemp + zip=/tmp/tmp.aDTRDlSHhN.zip + url=https://www.nuget.org/api/v2/package/DotNetZip/1.12.0 + dir=GerberProjects/packages/DotNetZip.1.12.0 + test -d GerberProjects/packages/DotNetZip.1.12.0 + nuget OpenTK 3.0.1 + package=OpenTK + version=3.0.1 ++ mktemp + zip=/tmp/tmp.lQtaTYrWfk.zip + url=https://www.nuget.org/api/v2/package/OpenTK/3.0.1 + dir=GerberProjects/packages/OpenTK.3.0.1 + test -d GerberProjects/packages/OpenTK.3.0.1 + nuget OpenTK.GLControl 3.0.1 + package=OpenTK.GLControl + version=3.0.1 ++ mktemp + zip=/tmp/tmp.sbTOZ6hgOA.zip + url=https://www.nuget.org/api/v2/package/OpenTK.GLControl/3.0.1 + dir=GerberProjects/packages/OpenTK.GLControl.3.0.1 + test -d GerberProjects/packages/OpenTK.GLControl.3.0.1 + nuget netDXF 2.0.2 + package=netDXF + version=2.0.2 ++ mktemp + zip=/tmp/tmp.FW4sUdzQk2.zip + url=https://www.nuget.org/api/v2/package/netDXF/2.0.2 + dir=GerberProjects/packages/netDXF.2.0.2 + test -d GerberProjects/packages/netDXF.2.0.2 + nuget netDXF 0.9.3 + package=netDXF + version=0.9.3 ++ mktemp + zip=/tmp/tmp.VDDK99C3vv.zip + url=https://www.nuget.org/api/v2/package/netDXF/0.9.3 + dir=GerberProjects/packages/netDXF.0.9.3 + test -d GerberProjects/packages/netDXF.0.9.3 + nuget GlmNet 0.5.1 + package=GlmNet + version=0.5.1 ++ mktemp + zip=/tmp/tmp.xnytCflD5e.zip + url=https://www.nuget.org/api/v2/package/GlmNet/0.5.1 + dir=GerberProjects/packages/GlmNet.0.5.1 + test -d GerberProjects/packages/GlmNet.0.5.1 + nuget DockPanelSuite 3.0.6 + package=DockPanelSuite + version=3.0.6 ++ mktemp + zip=/tmp/tmp.HDpDhxUeNz.zip + url=https://www.nuget.org/api/v2/package/DockPanelSuite/3.0.6 + dir=GerberProjects/packages/DockPanelSuite.3.0.6 + test -d GerberProjects/packages/DockPanelSuite.3.0.6 + nuget DockPanelSuite.ThemeVS2015 3.0.6 + package=DockPanelSuite.ThemeVS2015 + version=3.0.6 ++ mktemp + zip=/tmp/tmp.P4xo30RUcH.zip + url=https://www.nuget.org/api/v2/package/DockPanelSuite.ThemeVS2015/3.0.6 + dir=GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6 + test -d GerberProjects/packages/DockPanelSuite.ThemeVS2015.3.0.6 + xbuild /p:Configuration=Debug GerberProjects/GerberProjects.sln >>>> xbuild tool is deprecated and will be removed in future updates, use msbuild instead <<<< XBuild Engine Version 14.0 Mono, Version 5.18.0.240 Copyright (C) 2005-2013 Various Mono authors Build started 11/13/2020 9:18:09 PM. __________________________________________________ /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring. /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln: warning : Don't know how to handle GlobalSection Performance, Ignoring. Project "/home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln" (default target(s)): Target ValidateSolutionConfiguration: Building solution configuration "Debug|Any CPU". Target Build: Project "/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/GerberLibrary.csproj" (default target(s)): Target PrepareForBuild: Configuration: Debug Platform: AnyCPU Target GetFrameworkPaths: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.8' not supported by this toolset (ToolsVersion: 14.0). Target GetReferenceAssemblyPaths: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.8'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior. Target ResolveAssemblyReferences: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} Considered ../GerberProjects/packages/DotNetZip.1.13.8/lib/net40/DotNetZip.dll, but it does not exist. For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL, but could not find in any pkg-config files. For searchpath {GAC} Considered DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL, but could not find in the GAC. For searchpath {RawFileName} Considered 'DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/DotNetZip' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/DotNetZip.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/DotNetZip.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} Considered ../GerberProjects/packages/ExcelLibrary.1.2011.7.31/lib/ExcelLibrary.dll, but it does not exist. For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL, but could not find in any pkg-config files. For searchpath {GAC} Considered ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL, but could not find in the GAC. For searchpath {RawFileName} Considered 'ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/ExcelLibrary' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/ExcelLibrary.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/ExcelLibrary.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} Considered ../GerberProjects/packages/System.ValueTuple.4.5.0/lib/net47/System.ValueTuple.dll, but it does not exist. For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL, but could not find in any pkg-config files. For searchpath {GAC} Considered System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL, but could not find in the GAC. For searchpath {RawFileName} Considered 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.ValueTuple' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.ValueTuple.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.ValueTuple.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Windows.Forms' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} HintPath attribute not found For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered System.Windows.Forms, but could not find in any pkg-config files. For searchpath {GAC} Considered System.Windows.Forms, but could not find in the GAC. For searchpath {RawFileName} Considered 'System.Windows.Forms' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Windows.Forms' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Windows.Forms.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Windows.Forms.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Data.DataSetExtensions' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} HintPath attribute not found For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered System.Data.DataSetExtensions, but could not find in any pkg-config files. For searchpath {GAC} Considered System.Data.DataSetExtensions, but could not find in the GAC. For searchpath {RawFileName} Considered 'System.Data.DataSetExtensions' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Data.DataSetExtensions' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Data.DataSetExtensions.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Data.DataSetExtensions.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.CSharp' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} HintPath attribute not found For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered Microsoft.CSharp, but could not find in any pkg-config files. For searchpath {GAC} Considered Microsoft.CSharp, but could not find in the GAC. For searchpath {RawFileName} Considered 'Microsoft.CSharp' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/Microsoft.CSharp' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/Microsoft.CSharp.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/Microsoft.CSharp.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Xml.Serialization' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} HintPath attribute not found For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered System.Xml.Serialization, but could not find in any pkg-config files. For searchpath {GAC} Considered System.Xml.Serialization, but could not find in the GAC. For searchpath {RawFileName} Considered 'System.Xml.Serialization' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Xml.Serialization' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Xml.Serialization.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/bin/Debug/System.Xml.Serialization.dll' as a file, but the file does not exist Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target _GenerateTargetFrameworkMonikerAttribute: Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Done building project "/home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/GerberLibrary.csproj".-- FAILED Project "/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj" (default target(s)): Target PrepareForBuild: Configuration: Debug Platform: AnyCPU Target GetFrameworkPaths: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.8' not supported by this toolset (ToolsVersion: 14.0). Target GetReferenceAssemblyPaths: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.8'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior. Target ResolveAssemblyReferences: /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Data.DataSetExtensions' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} HintPath attribute not found For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered System.Data.DataSetExtensions, but could not find in any pkg-config files. For searchpath {GAC} Considered System.Data.DataSetExtensions, but could not find in the GAC. For searchpath {RawFileName} Considered 'System.Data.DataSetExtensions' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/System.Data.DataSetExtensions' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/System.Data.DataSetExtensions.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/System.Data.DataSetExtensions.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.CSharp' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} HintPath attribute not found For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered Microsoft.CSharp, but could not find in any pkg-config files. For searchpath {GAC} Considered Microsoft.CSharp, but could not find in the GAC. For searchpath {RawFileName} Considered 'Microsoft.CSharp' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/Microsoft.CSharp' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/Microsoft.CSharp.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/Microsoft.CSharp.dll' as a file, but the file does not exist /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Net.Http' not resolved For searchpath {CandidateAssemblyFiles} Warning: {CandidateAssemblyFiles} not supported currently For searchpath {HintPathFromItem} HintPath attribute not found For searchpath {TargetFrameworkDirectory} For searchpath {PkgConfig} Considered System.Net.Http, but could not find in any pkg-config files. For searchpath {GAC} Considered System.Net.Http, but could not find in the GAC. For searchpath {RawFileName} Considered 'System.Net.Http' as a file, but the file does not exist For searchpath bin/Debug/ Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/System.Net.Http' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/System.Net.Http.exe' as a file, but the file does not exist Considered '/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/bin/Debug/System.Net.Http.dll' as a file, but the file does not exist Target GenerateSatelliteAssemblies: No input files were specified for target GenerateSatelliteAssemblies, skipping. Target _GenerateTargetFrameworkMonikerAttribute: Skipping target "_GenerateTargetFrameworkMonikerAttribute" because its outputs are up-to-date. Done building project "/home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj".-- FAILED Task "MSBuild" execution -- FAILED Done building target "Build" in project "/home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln".-- FAILED Done building project "/home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln".-- FAILED Build FAILED. Warnings: /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln: warning : Don't know how to handle GlobalSection ExtensibilityGlobals, Ignoring. /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln: warning : Don't know how to handle GlobalSection Performance, Ignoring. /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetFrameworkPaths target) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.8' not supported by this toolset (ToolsVersion: 14.0). /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetReferenceAssemblyPaths target) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.8'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior. /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/dreamer/Sources/_downloads/GerberTools/GerberLibrary/GerberLibrary.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'DotNetZip, Version=1.13.8.0, Culture=neutral, PublicKeyToken=6583c7c814667745, processorArchitecture=MSIL' not resolved /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'ExcelLibrary, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL' not resolved /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL' not resolved /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Windows.Forms' not resolved /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Data.DataSetExtensions' not resolved /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.CSharp' not resolved /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Xml.Serialization' not resolved /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetFrameworkPaths target) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : TargetFrameworkVersion 'v4.8' not supported by this toolset (ToolsVersion: 14.0). /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (GetReferenceAssemblyPaths target) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.8'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior. /home/dreamer/Sources/_downloads/GerberTools/GerberProjects/GerberProjects.sln (default targets) -> (Build target) -> /home/dreamer/Sources/_downloads/GerberTools/DirtyPCBs/Base64Extractor/DirtyPCB_Base64Extractor.csproj (default targets) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets (ResolveAssemblyReferences target) -> /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Data.DataSetExtensions' not resolved /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'Microsoft.CSharp' not resolved /usr/lib/mono/xbuild/14.0/bin/Microsoft.Common.targets: warning : Reference 'System.Net.Http' not resolved 16 Warning(s) 0 Error(s) Time Elapsed 00:00:00.7466700 ```

cjdg commented 3 years ago

Using Ubuntu 20.10 and cannot both run or compile

positron96 commented 3 years ago

Hi all, I've managed to build the project in ubuntu. Here are the needed changes: https://github.com/ThisIsNotRocketScience/GerberTools/pull/128/files

kemerelab commented 3 years ago

Thanks @positron96 - I just cloned your repository and was able to compile in Ubuntu 20.04!

CRImier commented 3 years ago

@positron96 @kemerelab build - yes, but how about running, too?

kemerelab commented 3 years ago

I'm a new user, so that's harder for me to assess. My first test project failed to produce all the expected layers, but I think that may be a failure of the naming of my initial files.

kemerelab commented 3 years ago

Notes on running with @positron96's changes:

positron96 commented 3 years ago

As noted here: https://github.com/ThisIsNotRocketScience/GerberTools/issues/71#issuecomment-455454543, the right side panel might be unfixable since the library is windows-only.

taotieren commented 3 years ago

Winelib is a development toolkit which allows you to compile your Windows applications on Unix.

https://wiki.winehq.org/Winelib_User's_Guide

CRImier commented 3 years ago

@taotieren If it weren't for you sharing a free and open-source tool, I'd be 100% certain your comment is spam. Having said that, thank you for your suggestion!

taotieren commented 3 years ago

Sorry, I prefer gerbertool to support the Linux platform.