-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linux build failed #71
Comments
Did you find a solution? I am running into the same problem. |
I don't use windows, don't know C# also know nothing about Mono. There is just too many errors to process. |
Thanks for responding :) I think the error from vec2 is solved by adding I don't have time to further look into it either. |
(I added the build script) I didn't see this in my build environment (Fedora 29), however, even if you get past this, there are other issues that need to be addressed, namely weird icon files embedded in the resources that confuse Mono. These need to be extracted, processed with Gimp & re-added to the resources: You can see this at the end of your error messages |
@deece I don't know C# and don't want to ever use windows for anything. If anybody could document the project structure then i can re-implement the whole thing in different language which provide better compatibility across different platforms. I know it's too much to ask but i see no harm in asking. |
@kprasadvnsi The resource files are XML containers. You can extract the embedded icons with a text editor, base64 decode them, load them in Gimp, resave them. base64 encode them and paste it back into the resource file. You don't need Windows for that. |
Did some diagnosis, and it looks like at this point it will not run on linux/osx. |
@keeferty Thanks for doing the research, would you be able to submit a PR for the resource files? It brings us one step closer to a working Linux build (even if we can't run it), which at the very least could enable some CI. |
There are few issues with the build:
These changes fixed the compilation for me (xubuntu 18.10). The executables can be found in /bin/Debug/ directory. |
You shouldn't need the changes to build.sh - what problem were you trying to solve with this? The other changes look good, please send a PR |
If build.sh is left with /bin/sh I get this error: ./build.sh: 3: set: Illegal option -o pipefail and the script does nothing - just exits without attempting to build at all with /bin/bash it works fine on my linux machine. Edit: this is how my /bin/sh is symlinked: ls -alF /bin/sh lrwxrwxrwx 1 root root 4 Dec 1 12:30 /bin/sh -> dash* |
What kind of changes do you use? |
Thanks, since there's no pipes in the scripts, we can remove -o pipefail from the script without losing anything. We can also remove set -x, as I used that while writing the script and forgot to remove it when i committed it. |
All of them are the same, like that:
As I wrote earlier, change the .bytearray. to .binary. |
Hi all, I've managed to build the project in ubuntu. Stuffed the changes into PR: https://github.com/ThisIsNotRocketScience/GerberTools/pull/128/files Dunno if the patch breaks compilation on windows, hopefully not. |
@ole00 I've done the
|
Winelib is a development toolkit which allows you to compile your Windows applications on Unix. |
cloned the repo and run build.sh the build failed. any suggestions ?
The text was updated successfully, but these errors were encountered: