Giter Site home page Giter Site logo

xtansia / node.anitomy.js Goto Github PK

View Code? Open in Web Editor NEW
10.0 3.0 0.0 535 KB

node.anitomy.js is a Node.js binding for Anitomy a C++ library for parsing anime video filenames.

License: Mozilla Public License 2.0

CMake 6.64% JavaScript 22.49% C++ 70.87%
nodejs anitomy binding anime parsing

node.anitomy.js's People

Contributors

dependabot[bot] avatar xtansia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

node.anitomy.js's Issues

Unable to install

Getting deprecation warnings which seem to be causing the build to fail.

$ yarn install        
yarn install v1.5.1
[1/5] Validating package.json...
[2/5] Resolving packages...
success Already up-to-date.
$ cmake-js compile
info TOOL Using Ninja generator, because ninja is available.
info TOOL Using c++11 compiler standard.
info CMD BUILD
info RUN cmake --build "/tmp/node.anitomy.js/build" --config Release
ninja: error: loading 'build.ninja': No such file or directory
info REP Build has been failed, trying to do a full rebuild.
info CMD CLEAN
info RUN cmake -E remove_directory "/tmp/node.anitomy.js/build"
info CMD CONFIGURE
info RUN cmake "/tmp/node.anitomy.js" --no-warn-unused-cli -G"Ninja" -DCMAKE_JS_VERSION="3.6.2" -DCMAKE_BUILD_TYPE="Release" -DCMAKE_LIBRARY_OUTPUT_DIRECTORY="/tmp/node.anitomy.js/build/Release" -DCMAKE_JS_INC="/home/ayrton/.cmake-js/node-x64/v9.8.0/include/node;/tmp/node.anitomy.js/node_modules/nan" -DNODE_RUNTIME="node" -DNODE_RUNTIMEVERSION="9.8.0" -DNODE_ARCH="x64" -DCMAKE_CXX_FLAGS="-std=c++11"
Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/node.anitomy.js/build
info CMD BUILD
info RUN cmake --build "/tmp/node.anitomy.js/build" --config Release
[7/14] Building CXX object CMakeFiles/anitomy_lib.dir/src/parse_worker.cpp.o
FAILED: CMakeFiles/anitomy_lib.dir/src/parse_worker.cpp.o 
/usr/bin/c++  -Danitomy_lib_EXPORTS -isystem /home/ayrton/.cmake-js/node-x64/v9.8.0/include/node -isystem ../node_modules/nan -I../lib/anitomy -std=c++11 -fPIC -std=c++11 -Wall -Wextra -Wpedantic -Werror -O3 -DNDEBUG -O2 -fPIC -MD -MT CMakeFiles/anitomy_lib.dir/src/parse_worker.cpp.o -MF CMakeFiles/anitomy_lib.dir/src/parse_worker.cpp.o.d -o CMakeFiles/anitomy_lib.dir/src/parse_worker.cpp.o -c ../src/parse_worker.cpp
../src/parse_worker.cpp: In member function ‘virtual void ParseWorker::HandleOKCallback()’:
../src/parse_worker.cpp:42:25: error: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Werror=deprecated-declarations]
   callback->Call(1, argv);
                         ^
In file included from ../src/parse_worker.h:17:0,
                 from ../src/parse_worker.cpp:9:
../node_modules/nan/nan.h:1618:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
../src/parse_worker.cpp: In member function ‘virtual void ParseEachWorker::HandleOKCallback()’:
../src/parse_worker.cpp:51:25: error: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Werror=deprecated-declarations]
   callback->Call(2, argv);
                         ^
In file included from ../src/parse_worker.h:17:0,
                 from ../src/parse_worker.cpp:9:
../node_modules/nan/nan.h:1618:3: note: declared here
   Call(int argc, v8::Local<v8::Value> argv[]) const {
   ^~~~
cc1plus: all warnings being treated as errors
[13/14] Building CXX object CMakeFiles/anitomy_lib.dir/lib/anitomy/anitomy/parser_number.cpp.o
ninja: build stopped: subcommand failed.
ERR! OMG Process terminated: 1
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c cmake-js compile
Directory: /tmp/node.anitomy.js
Output:
".
info If you think this is a bug, please open a bug report with the information provided in "/tmp/node.anitomy.js/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

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.