Git Product home page Git Product logo

Comments (24)

aassif avatar aassif commented on June 14, 2024

Should be fine now :)

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

Not yet. Issues with RapidJSON.

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

=> d:\jenkins\workspace\binary-addons\kodi-windows-x86_64-matrix\tools\depends\target\binary-addons\pvr.freebox\src\Freebox.h(373): error C2059: syntax error: 'constant'
d:\jenkins\workspace\binary-addons\kodi-windows-x86_64-matrix\tools\depends\target\binary-addons\pvr.freebox\src\Freebox.h(373): error C2238: unexpected token(s) preceding ';'

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

Maybe there is some nonsense define for "DELETE" on Windows? Just guessing.

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

Highly likely!

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

https://stackoverflow.com/a/1271185

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

wtf. Windows.

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

I suggest to rename the conflicting method.

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

Instead of this plain old #undef?
3abf48d

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

I would opt for a "safe" method name, yes.

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

But ofc your decision.

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

sigh...

next one :

D:\jenkins\workspace\binary-addons\kodi-windows-x86_64-Matrix\tools\depends\target\binary-addons\pvr.freebox\src\Freebox.cpp(278): error C2065: '_POSIX_HOST_NAME_MAX': undeclared identifier
D:\jenkins\workspace\binary-addons\kodi-windows-x86_64-Matrix\tools\depends\target\binary-addons\pvr.freebox\src\Freebox.cpp(278): error C2133: 'hostname': unknown size
D:\jenkins\workspace\binary-addons\kodi-windows-x86_64-Matrix\tools\depends\target\binary-addons\pvr.freebox\src\Freebox.cpp(279): error C2065: '_POSIX_HOST_NAME_MAX': undeclared identifier

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

This one was predictable. I need to use GetComputerName instead of gethostname.
Or, how about I disable the whole Windows part until I get ahold of a Windows machine?

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

But I can manage this through Jenkins, too.
I'm watching the builds go as we speak.

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

Or, how about I disable the whole Windows part until I get ahold of a Windows machine?

Nope. Let's get this build done now.

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

I'm watching the builds go as we speak.

But you cannot trigger the build. It's me doing this.

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

I need to use GetComputerName instead of gethostname.

I don't think so => https://docs.microsoft.com/en-us/windows/desktop/api/winsock/nf-winsock-gethostname

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024
#ifndef _POSIX_HOST_NAME_MAX
#define _POSIX_HOST_NAME_MAX 64
#endif

?

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

The doc says 256 bytes, so I did something similar: 7c53002

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

Not sure the platform defs are okay. In other addons we use TARGET_WINDOWS for instance.

Why do you not simply use ifndef instead of "assuming" what is defined I for which platform?

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

Done!

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

We made it. :-)

Your addon will appear in official Kodi Matrix addon repositoy (for the relevant platforms - Android, macOS, Windows) in the next hour. => http://mirrors.kodi.tv/addons/matrix/

Linux is handled diferently (as you should already know).

from pvr.freebox.

ksooo avatar ksooo commented on June 14, 2024

Whenever you want to release and publish a new version, from now on, first bump addon version and changelog, then create a tag for the respective code revision (name does not really matter - I suggest major.minor.micro-kodiversion -> 2.0.1-Matrix). Kodi jenkins will pick up the latest tag per branch automatically, then will build it and publish to addon repository.

from pvr.freebox.

aassif avatar aassif commented on June 14, 2024

We made it. :-)

Yeah! Thank you so much!

Kodi jenkins will pick up the latest tag per branch automatically, then will build it and publish to addon repository.

No more Android cross-compiling :)

from pvr.freebox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.