caitp / TwitchSwitcher

OBS-Studio plugin to switch Twitch.tv game name and channel status automatically
Other
35 stars 5 forks source link

Nonexisting libcurl dev files for Windows #16

Open KaminariKillua opened 7 years ago

KaminariKillua commented 7 years ago

Hello,

Trying to build this on windows, but can't find windows libcurl dev files, which I need for your step 3. Could you please help me? image

Kind regards, Val

caitp commented 7 years ago

Sure, you should be able to use the libcurl package bundled with the obs-studio deps package from https://github.com/jp9000/obs-studio/wiki/Install-Instructions, and pointing CMAKE at them using the CURL_LIBRARY and CURL_INCLUDE_DIR variables

caitp commented 7 years ago

Also, if you're interested in contributing, I could use some help solving #15, which I haven't had time to look into just yet. It should be fairly easy to reproduce, at least on a windows 10 machine

KaminariKillua commented 7 years ago

Just managed to build it thanks, and how can I help? Is this about the crashing? It compiled fine but as soon as I try to use it, it tries to download some file to my pc and opens up a browser window with 'failed to connect' lol

caitp commented 7 years ago

The problem described in #15 is, (last time I checked), the Twitch login prompt would crash the browser, which doesn't work very well for OBS.

So, there are a couple of solutions to this that I can think of.

1) debug it and figure out what specifically is causing the crash, and write a hack to work around it

2) find a way to use the more modern WebView API that windows provides (C# or C++.net). This is probably the better option, since the other thing isn't really supported anymore.

3) set up a web service so that we can avoid using this auth flow, which should allow avoiding using the webview in the first place. This is probably the most expensive of the choices.


The easiest way to reproduce the crash is to set the environment variable TSW_UPDATE_WITHOUT_STREAMING=1 when debugging, which should launch the login page immediately

caitp commented 7 years ago

I think I've fixed the webview issue on windows in the latest update