Open ulidtko opened 6 years ago
This is obsoleted, build.sh now fetches the deps & builds things, there are still issues with corrupted icons in the resource files though.
I'm running Linux Mint 20.3 with mono-complete installed. build.sh fails with "The type or namespace name `Ionic' could not be found". Any suggestions on how to proceed?
@celem you'd proceed just the same as any other dependency (for C# code in this case): step 1, find out what it is; step 2, install it so that the compiler is able to locate it.
For example, step 1 — grep the source for Ionic
. You'll find using Ionic.Zip;
lines — those are imports in C#. Obviously, since you're getting the error, it's not available in mono-complete
; thus, an external dependency. Pretty easy to find its package.
The nuget package page says:
⚠ This package has been deprecated as it is legacy and is no longer maintained. Suggested Alternatives DotNetZip 1.9.1.8
... Did you follow the instructions? Also see PRs #128 #41.
This is how you build the GerberPanelizer from source on Linux.
Get @runesoeknudsen branch
Obtain dependency:
Triangle.dll
This one is clean and easy.
Obtain dependency:
DotNetZip.dll
This repo has it: https://github.com/haf/DotNetZip.Semverd Can be done from source, but requires Ruby tools for that. I preferred to pull the
DotNetZip.1.11.0.nupkg
package from their Appveyor CI. The.nupkg
is just a zip file, the dll is inside.Obtain dependency:
OpenTK
https://www.nuget.org/packages/OpenTK/3.0.0-pre https://www.nuget.org/packages/OpenTK.GLControl/3.0.0-pre
Patch up the source a bit
This diff was somehow necessary to get it to compile as well:
Start compilation
Finally, run it