localcast icon indicating copy to clipboard operation
localcast copied to clipboard

Project not building

Open bes opened this issue 9 years ago • 1 comments

Hi,

It seems like no one has worked on this project for a year, but here goes:

I tried to build this project, but unfortunately i failed...

Here is the result from my short and unsuccessful jab at getting it to work.

In package.json "nodecastor": "~0.1.4", is resolving to nodecastor 0.1.6 which is not using mdns2 anymore (switched back to mdns). The switch can be found here: https://github.com/vincentbernat/nodecastor/commits/master/package.json

I tried removing ~, which correctly resolves back to 0.1.4, but I am running into build problems in mdns2 instead:

> [email protected] install /Users/bes/repos/opensource/localcast/node_modules/nodecastor/node_modules/mdns2
> node-gyp rebuild

  CXX(target) Release/obj.target/dns_sd_bindings/src/dns_sd.o
In file included from ../src/dns_sd.cpp:5:
../src/mdns_utils.hpp:16:62: error: no member named 'New' in 'v8::String'
    return ThrowException( v8::Exception::Error( v8::String::New( message )));
                                                 ~~~~~~~~~~~~^
../src/mdns_utils.hpp:22:66: error: no member named 'New' in 'v8::String'
    return ThrowException( v8::Exception::TypeError( v8::String::New( message )));
                                                     ~~~~~~~~~~~~^
../src/mdns_utils.hpp:28:12: error: use of undeclared identifier 'ThrowException'
    return ThrowException(buildException(error_code));
           ^ 
[... and more]

I am using OSX 10.11

Is there any point in trying to build/run this project, or are there better options out there by now?

Thanks!

bes avatar Oct 11 '15 20:10 bes

I was hoping to pick up the project again but I haven't had the time lately. Unfortunately mdns2 was always the problematic part and I have wasted countless hours getting it to work. I am afraid I don't have any more pointers on getting it to compile.

If a binary is all you need you can find it here: http://scalableminds.github.io/localcast/

I was planning on changing the Chromecast lib to this one: https://github.com/mafintosh/chromecasts There is another Electron-based video player with Chromecast support: https://github.com/mafintosh/playback

hotzenklotz avatar Oct 12 '15 09:10 hotzenklotz