Undocumented mandatory variables. Any default values I can use? Also question about Linux vs Windows.
Thanks for responding to my last Issue and answering my questions. After a thousand error messages and some tweaks (I had to skip vcbuildtools choco command to get vs2015 docker image to build successfully), I now have a vs2015 docker image which runs.
Question: is Linux better for building Cura? Does Linux build Windows Cura binaries? Or it does not matter since either will build .AppImage and it has to be turned into a Windows EXE some way from either Linux built .AppImage or Windows built .AppImage?
Issue: I could not run build.ps1 because it is missing mandatory variables which I do not know the default value of. Any ideas what I can put in? Please think of this as my experimental build or learning to build effort so default values are good enough. I am not customizing them at this point. At this point it's complaining about MarketplaceRoot being empty but I think once I fill that in with the default value it will complain about the next empty value which is DigitalFactoryURL and then CuraWindowsInstallerType
CuraVersionMajor: 4
CuraVersionMinor: 12
CuraVersionPatch: 0
CloudApiRoot: https://api.ultimaker.com
CloudAccountApiRoot: https://account.ultimaker.com
CloudApiVersion: 1
MarketplaceRoot:
DigitalFactoryURL:
CuraWindowsInstallerType:
Question: is Linux better for building Cura? Does Linux build Windows Cura binaries? Or it does not matter since either will build .AppImage and it has to be turned into a Windows EXE some way from either Linux built .AppImage or Windows built .AppImage?
The Cura team itself uses Windows to build Windows binaries. I know that some people have tried cross-compiling in the past with some success, but I don't know of any recent attempts.
Those parameters will have to be documented better indeed. I think they are being filled in by our build server. These are the defaults we're using in our build system right now:
CuraVersionMajor: 4
CuraVersionMinor: 13
CuraVersionPatch: 99
CloudApiRoot: https://api.ultimaker.com
CloudAccountApiRoot: https://account.ultimaker.com
CloudApiVersion: 1
MarketplaceRoot: https://marketplace.ultimaker.com
DigitalFactoryURL: https://digitalfactory.ultimaker.com
CuraWindowsInstallerType: exe
The URLs are configurable because we also make builds pointing to staging environments of the website sometimes if there are new features in the Ultimaker website's APIs. The installer type is either exe (building via NSIS) or msi (building with Wix).