Building owncloud client on Windows 10


#1

Expected behaviour

Build owncloud client on windows 10

Actual behaviour

Following the tutorial, when I try to build (step 7) the source code I get this error

System configuration

OS: Windows 10

ownCloud client version: branch master

Qt version: 5.12.0


#2

You can also check the new approach:
https://owncloud.org/news/interview-kde-craft-improves-owncloud-client-build-process/


Win build fails
#3

Thanks Michael, but it seems there’s a problem in step 2

  1. First, setup Craft.
  2. Install the owncloud blueprints craft –add-blueprint-repository https://github.com/owncloud/craft-blueprints-owncloud.git
  3. Tell craft to build ownCloud from git with craft –set version master owncloud-client, and install ownCloud: craft owncloud-client
  4. If you now want to get your changes in, switch to the owncloud clone: cd owncloud-client and apply your changes.
  5. Now you can run craft –make owncloud-client to build with your changes.

Whe I run it I get this message

Failed to find –add-blueprint-repository:
Craft was unable to find –add-blueprint-repository

I also tried to build the client with Qt Creator but I get the same error shown in the screenshot


#4

Thank you very much for your feedback!

Maybe @dschmidt , the author of the blogpost can have a look the next few days…


#5

Hey,

maybe there is some sort of formatting issue on the blogpost. From my experiences most of such commands in the linux world looks like (note the double dash):

--add-blueprint-repository


#6

Indeed, that looks very wrong. I’ll let Emil know who actually did the blog post, I was only interviewed :wink:


#7

I talked to the maintainer. Known wordpress issue apparently: https://geeksterminal.com/wordpress-double-dash-problem/1399/


#8

@salvatoreucchino does it work with --add-blueprint-repository?


#9

fixed :slight_smile: the blogpost displays the double dashes again.