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

[Windows] Support for Visual Studio 2019 #347

Closed
ibc opened this issue Nov 19, 2019 · 12 comments
Closed

[Windows] Support for Visual Studio 2019 #347

ibc opened this issue Nov 19, 2019 · 12 comments
Labels
help wanted windows Issue just in Windows
Milestone

Comments

@ibc
Copy link
Member

ibc commented Nov 19, 2019

Here a fork of mediasoup adding support for VS 2019. It seems that gyp is not doing it correctly so this fork modified gyp files:

Does it make sense? If so, we should send a PR to gyp project in Google Source Code:

Related issue in GYP project:

/CC @haiyangwu

@ibc ibc added help wanted windows Issue just in Windows labels Nov 19, 2019
@haiyangwu
Copy link
Contributor

  • aoslee@1fa4055 this commit makes sense and made it work to generate Visual Studio 2019 Project Struct.

  • gyp@eb296f67da This is the similar code from gyp project in Google Source Code.

@ibc In my opinion, merging this commit is better for there's no timeline gyp project add this feature.

@ibc
Copy link
Member Author

ibc commented Nov 20, 2019

Thanks. However, honestly I wouldn't like to have a modified version of gyp within mediasoup. I just want to run ./scripts/get-dep.sh gyp (being in mediasoup/worker/ folder) from time to time without having to worry about re-applying local changes again and again.

In the past we had a problem in gyp due to issues with Python3:

@saghul fixed it and I commented his patch into the issue:

Finally, they added it to master branch:

However, we were told to upload patches as peer here. So, I expect that if a "PR" is sent it will be accepted.

Does it make sense?

@haiyangwu
Copy link
Contributor

without having to worry about re-applying local changes again and again

Agree and it makes sense. 😏

@ibc
Copy link
Member Author

ibc commented Nov 20, 2019

Hi, somehow I've changed a bit my mind. Once there is a PR in gyp project, I'm open to modify the gyp source code in mediasoup and wait for gyp to adopt the PR. The same applies to the other Windows related project (in case it has any relationship with gyp).

@ibc ibc changed the title Support for Visual Studio 2019 [Windows] Support for Visual Studio 2019 Dec 24, 2019
@ibc
Copy link
Member Author

ibc commented Dec 26, 2019

Hi, any progress on this? Has been the issue reported to GYP project?

NOTE: https://gyp.gsrc.io/docs/Hacking.md

@ibc
Copy link
Member Author

ibc commented Dec 26, 2019

Ok, I've created the CL:

Please comment on it if possible. Note that, if any developer asks me, I won't be able to explain anything (I've just copied the change above, I cannot test in Windows and never used MSV).

ibc added a commit that referenced this issue Dec 26, 2019
@ibc
Copy link
Member Author

ibc commented Dec 26, 2019

I've pushing a new branch issue-347 with the above exact commit:

I'd like that the CL uploaded to GYP project is approved (so we don't need to manage our "own" GYP source code). Anyway, if you guys confirm that the branch is ok, I'll merge into v3.

@ibc
Copy link
Member Author

ibc commented Dec 26, 2019

UPDATE: I've merged (and then deleted) the issue-347 into v3 and released in mediasoup 3.4.8.

Let's keep this issue open to remember that, in theory, we are waiting got GYP to accept the CL, so we don't have to manage our own modified GYP sources:

@ibc ibc added the gyp label Dec 26, 2019
@ibc
Copy link
Member Author

ibc commented Feb 13, 2020

Just decided to drop gyp and move to CMake. See #359.

@ibc ibc added this to the v3 updates milestone Mar 12, 2020
@james133
Copy link

support cmake vc2019,xcode,clion
https://github.com/yanhua133/mediasoup-sfu-cpp

@jmillan
Copy link
Member

jmillan commented Sep 17, 2021

No idea what that is about @james133.

@nazar-pc
Copy link
Collaborator

We moved away from GYP as a build system, so this particular issue should now be irrelevant, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted windows Issue just in Windows
Development

No branches or pull requests

5 participants