Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added windows support #53

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Added windows support #53

wants to merge 6 commits into from

Conversation

ori-d
Copy link

@ori-d ori-d commented Mar 7, 2023

Added windows support, but required to be on branch windows.

@johang
Copy link
Owner

johang commented Mar 7, 2023

Interesting. Do you have instructions for compiling on Windows?

@ori-d
Copy link
Author

ori-d commented Mar 7, 2023

Interesting. Do you have instructions for compiling on Windows?

Yes, I have, but i need some more time I think 2d. So don't merge it now, found a bug with open URL, so vlc just got crashed.

@ori-d
Copy link
Author

ori-d commented Mar 9, 2023

I'm going to create CMakeLists.txt for this project, because auto tools are too complicated for me.

@petterreinholdtsen
Copy link
Contributor

Do you now have a recipe for building on Windows?

@petterreinholdtsen
Copy link
Contributor

I guess this effort has stopped up. Perhaps someone else want to pick up the task?

@johang
Copy link
Owner

johang commented Aug 14, 2024

I'm not against merging support for building for Windows, but I'm not interested in merging this patch. It's huge and unmaintainable.

@petterreinholdtsen
Copy link
Contributor

petterreinholdtsen commented Aug 15, 2024 via email

@johang
Copy link
Owner

johang commented Aug 15, 2024

Would switching all architectures to cmake be an ok alternative?

Yes, absolutely. Cmake or Meson or something else.

I do not use Windows myself

Same. So I can't test or maintain any of this myself.

@evo-i
Copy link
Contributor

evo-i commented Aug 19, 2024

I can do it, I need time. Starting tomorrow...

@evo-i
Copy link
Contributor

evo-i commented Aug 20, 2024

Build ready, need more time for optimize building process
https://www.youtube.com/watch?v=BrJxPM-_mLc

First of all, change the build system to CMake.

@evo-i
Copy link
Contributor

evo-i commented Aug 20, 2024

@johang can u fix all deprecated warnings before I made a patch?

@petterreinholdtsen
Copy link
Contributor

petterreinholdtsen commented Aug 20, 2024 via email

@evo-i
Copy link
Contributor

evo-i commented Aug 20, 2024

Because compile time are too long with warnings. And quality of code, can be better =)

@petterreinholdtsen
Copy link
Contributor

petterreinholdtsen commented Aug 20, 2024 via email

@evo-i
Copy link
Contributor

evo-i commented Aug 20, 2024

Okay, the build system was already writen, so need to fix bug with VLC headers, where vlc_poll function was called with macro poll, and on windows has conflicting with other poll function. I'll try to fix it before make any of pull requestes.

static inline int vlc_poll(struct pollfd *fds, unsigned nfds, int timeout)
{
    int val;

    vlc_testcancel();
    val = poll(fds, nfds, timeout);
    if (val < 0)
        vlc_testcancel();
    return val;
}
# define poll(u,n,t) vlc_poll(u, n, t)
/* /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\ /\
   ------------------------------ */

@johang
Copy link
Owner

johang commented Oct 5, 2024

It's now possible to build with CMake on master.

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

Successfully merging this pull request may close these issues.

4 participants