xtansia / node.anitomy.js Goto Github PK
View Code? Open in Web Editor NEWnode.anitomy.js is a Node.js binding for Anitomy a C++ library for parsing anime video filenames.
License: Mozilla Public License 2.0
node.anitomy.js is a Node.js binding for Anitomy a C++ library for parsing anime video filenames.
License: Mozilla Public License 2.0
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.