discuss@lists.openscad.org

OpenSCAD general discussion Mailing-list

View all threads

Re: Crosscompiling for Windows

MB
maurizio butti
Wed, Mar 2, 2022 12:40 PM

Thanks everybody!
I had success compiling with MSYS in quite a short time.
Jordan, your scripts were OK, I only had to resolve a conflict that did not
allow the .cmk to complete by manually installing mingw-w64-x86_64-pkgconf
.
Then I also manually installed mingw-w64-x86_64-cmake since the default
cmake was giving me errors.
Should I need the static version, would it be sufficient to add
the MI_BUILD_STATIC define to the cmake invocation?

Thanks everybody! I had success compiling with MSYS in quite a short time. Jordan, your scripts were OK, I only had to resolve a conflict that did not allow the .cmk to complete by manually installing *mingw-w64-x86_64-pkgconf* . Then I also manually installed *mingw-w64-x86_64-cmake* since the default cmake was giving me errors. Should I need the static version, would it be sufficient to add the MI_BUILD_STATIC define to the cmake invocation?
JB
Jordan Brown
Wed, Mar 2, 2022 5:45 PM

On 3/2/2022 4:40 AM, maurizio butti wrote:

I had success compiling with MSYS in quite a short time.

Excellent.

Jordan, your scripts were OK, I only had to resolve a conflict that
did not allow the .cmk to complete by manually
installing mingw-w64-x86_64-pkgconf.

I dimly remember something about that.  I'm working on wiping one of my
build environments so as to rebuild it and note all of the steps required.

Then I also manually installed mingw-w64-x86_64-cmake since the
default cmake was giving me errors.

I'll look into that as I build my environment.

Should I need the static version, would it be sufficient to add
the MI_BUILD_STATIC define to the cmake invocation?

Sorry, can't help you with that.  Torsten?

On 3/2/2022 4:40 AM, maurizio butti wrote: > I had success compiling with MSYS in quite a short time. Excellent. > Jordan, your scripts were OK, I only had to resolve a conflict that > did not allow the .cmk to complete by manually > installing *mingw-w64-x86_64-pkgconf*. I dimly remember something about that.  I'm working on wiping one of my build environments so as to rebuild it and note all of the steps required. > Then I also manually installed *mingw-w64-x86_64-cmake* since the > default cmake was giving me errors. I'll look into that as I build my environment. > Should I need the static version, would it be sufficient to add > the MI_BUILD_STATIC define to the cmake invocation? Sorry, can't help you with that.  Torsten?
TP
Torsten Paul
Thu, Mar 3, 2022 5:28 PM

On 02.03.22 18:45, Jordan Brown wrote:

Should I need the static version, would it be sufficient to
add the MI_BUILD_STATIC define to the cmake invocation?

Sorry, can't help you with that.  Torsten?

I don't know if and how well it works on MSYS2, there's still
some discussion underway to get things sorted for the MXE
builds.

My suggestions would be to start with just disabling this via

-DUSE_MIMALLOC=OFF

ciao,
Torsten.

On 02.03.22 18:45, Jordan Brown wrote: >> Should I need the static version, would it be sufficient to >> add the MI_BUILD_STATIC define to the cmake invocation? > > Sorry, can't help you with that.  Torsten? I don't know if and how well it works on MSYS2, there's still some discussion underway to get things sorted for the MXE builds. My suggestions would be to start with just disabling this via -DUSE_MIMALLOC=OFF ciao, Torsten.