-
Notifications
You must be signed in to change notification settings - Fork 511
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 mingw compile error: flatc.exe: Exec format error
#527
Comments
Hm, right, this broke after #384. You'll need either wine-binfmt or flatc installed on the host system and specified with |
I installed |
I've just run into this issue too. Installing For anyone else interested, I had to install Should these additional steps be added to the README? |
Done: 3544829 |
Hello, I am having another issue, but I think it's also related to libflatbuffers-dev. I am also having an error with OpenMP. I have no idea what it means ! OS is Ubuntu 18 on Win ! I am trying to build an up2date windows version. Thanks for your help ! ~/solvespace/build$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/Toolchain-mingw64.cmake -DCMAKE_BUILD_TYPE=Release -DFLATC=$(which flatc) -- Using in-tree libdxfrw
does not contain a CMakeLists.txt file. -- Using in-tree zlib |
You're building on Windows, right? Why not use MSVC? |
Because I wanted to try that way ! |
Ok.
Ubuntu 18.04 doesn't have flatbuffers in the repository. Can you use Ubuntu 20.04? That's the up-to-date LTS release, so I assume there should be no issues with it.
Some recent performance improvements require OpenMP. However, MinGW compilers shipped with Debian/Ubuntu (really, most MinGW compilers shipped by anyone) don't support it. So your performance will be the same as it was before. |
Thanks for your help. Unfortunately Ubuntu can't be upgraded to 20 on win for now. By the way : awesome software, I love it, thanks for your work. |
Sweet! I'm glad it was easy for you and that you like it. |
System information
SolveSpace version: 3.0~64c0f62b
Operating system: Debian Stable (Buster) amd64
Expected behavior
Following the readme's windows cross-compile instructions results in solvespace.exe being built.
Actual behavior
The build fails, with the following error:
Additional information
This happens when following the readme's instructions for 32-bit and 64-bit windows builds.
Linux builds on the same machine work fine.
The text was updated successfully, but these errors were encountered: