Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

Undocumented mandatory variables. Any default values I can use? Also question about Linux vs Windows. #270

Open
sunheat opened this issue Nov 26, 2021 · 1 comment

Comments

@sunheat
Copy link

sunheat commented Nov 26, 2021

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:
@Ghostkeeper
Copy link
Contributor

Ghostkeeper commented Dec 6, 2021

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).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants