GithubHelp home page GithubHelp logo

native-voxel-generator's People

Contributors

hansihe avatar mhsjlw avatar rom1504 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

native-voxel-generator's Issues

Install Issue

Hey there,
I'm trying to install your native-voxel-generator but it just won't work and I can't figure it out.
I've installed rust properly and run cargo build --release.
Here is the error : https://hastebin.com/cixuwizare.coffeescript

Can you help me fix this ? Is it an error of your code or do I need to install something else ?
Thanks for your answer :)

compilation fails

   Compiling node-voxel-worldgen v1.0.0 (file:///home/flying-squid/auto-squid/flying-squid/node_modules/voxel-worldgen/native)
warning: unused import: `JsObject`
  --> src/lib.rs:14:27
   |
14 | use neon::js::{JsInteger, JsObject};
   |                           ^^^^^^^^
   |
   = note: #[warn(unused_imports)] on by default

    Finished release [optimized] target(s) in 57.86 secs
neon info generating native/index.node

> [email protected] install /home/flying-squid/auto-squid/flying-squid/node_modules/node-icu-charset-detector
> node-gyp rebuild

make: Entering directory '/home/flying-squid/auto-squid/flying-squid/node_modules/node-icu-charset-detector/build'
  CXX(target) Release/obj.target/node-icu-charset-detector/node-icu-charset-detector.o
  SOLINK_MODULE(target) Release/obj.target/node-icu-charset-detector.node
  COPY Release/node-icu-charset-detector.node
make: Leaving directory '/home/flying-squid/auto-squid/flying-squid/node_modules/node-icu-charset-detector/build'

> [email protected] install /home/flying-squid/auto-squid/flying-squid/node_modules/iconv
> node-gyp rebuild

make: Entering directory '/home/flying-squid/auto-squid/flying-squid/node_modules/iconv/build'
  CC(target) Release/obj.target/libiconv/deps/libiconv/lib/iconv.o
  AR(target) Release/obj.target/iconv.a
  COPY Release/iconv.a
  CXX(target) Release/obj.target/iconv/src/binding.o
In file included from ../node_modules/nan/nan.h:182:0,
                 from ../src/binding.cc:18:
../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::MaybeLocal<v8::Object> Nan::CloneElementAt(v8::Local<v8::Array>, uint32_t)’:
../node_modules/nan/nan_maybe_43_inl.h:221:58: warning: ‘v8::MaybeLocal<v8::Object> v8::Array::CloneElementAt(v8::Local<v8::Context>, uint32_t)’ is deprecated (declared at /home/flying-squid/.node-gyp/8.1.2/include/node/v8.h:3340): Cloning is not supported. [-Wdeprecated-declarations]
   return array->CloneElementAt(GetCurrentContext(), index);
                                                          ^
In file included from ../node_modules/nan/nan_new.h:189:0,
                 from ../node_modules/nan/nan.h:188,
                 from ../src/binding.cc:18:
../node_modules/nan/nan_implementation_12_inl.h: In static member function ‘static Nan::imp::FactoryBase<v8::BooleanObject>::return_t Nan::imp::Factory<v8::BooleanObject>::New(bool)’:
../node_modules/nan/nan_implementation_12_inl.h:40:38: warning: ‘static v8::Local<v8::Value> v8::BooleanObject::New(bool)’ is deprecated (declared at /home/flying-squid/.node-gyp/8.1.2/include/node/v8.h:4532): Pass an isolate [-Wdeprecated-declarations]
   return v8::BooleanObject::New(value).As<v8::BooleanObject>();
                                      ^
In file included from ../src/binding.cc:18:0:
../node_modules/nan/nan.h: At global scope:
../node_modules/nan/nan.h:590:20: error: variable or field ‘AddGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback
                    ^
../node_modules/nan/nan.h:590:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback
       ^
../node_modules/nan/nan.h:591:18: error: expected primary-expression before ‘gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../node_modules/nan/nan.h:596:20: error: variable or field ‘RemoveGCEpilogueCallback’ declared void
       v8::Isolate::GCEpilogueCallback callback) {
                    ^
../node_modules/nan/nan.h:596:7: error: ‘GCEpilogueCallback’ is not a member of ‘v8::Isolate’
       v8::Isolate::GCEpilogueCallback callback) {
       ^
../node_modules/nan/nan.h:601:20: error: variable or field ‘AddGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback
                    ^
../node_modules/nan/nan.h:601:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
       v8::Isolate::GCPrologueCallback callback
       ^
../node_modules/nan/nan.h:602:18: error: expected primary-expression before ‘gc_type_filter’
     , v8::GCType gc_type_filter = v8::kGCTypeAll) {
                  ^
../node_modules/nan/nan.h:607:20: error: variable or field ‘RemoveGCPrologueCallback’ declared void
       v8::Isolate::GCPrologueCallback callback) {
                    ^
../node_modules/nan/nan.h:607:7: error: ‘GCPrologueCallback’ is not a member of ‘v8::Isolate’
       v8::Isolate::GCPrologueCallback callback) {
       ^
../node_modules/nan/nan.h: In function ‘bool Nan::SetAccessor(v8::Local<v8::Object>, v8::Local<v8::String>, Nan::GetterCallback, Nan::SetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’:
../node_modules/nan/nan.h:1933:16: warning: ‘bool v8::Object::SetAccessor(v8::Local<v8::Name>, v8::AccessorNameGetterCallback, v8::AccessorNameSetterCallback, v8::Local<v8::Value>, v8::AccessControl, v8::PropertyAttribute)’ is deprecated (declared at /home/flying-squid/.node-gyp/8.1.2/include/node/v8.h:3020): Use maybe version [-Wdeprecated-declarations]
     , attribute);
                ^
../src/binding.cc: In static member function ‘static void {anonymous}::Iconv::Initialize(v8::Handle<v8::Object>)’:
../src/binding.cc:63:51: warning: ‘static v8::Local<v8::ObjectTemplate> v8::ObjectTemplate::New()’ is deprecated (declared at /home/flying-squid/.node-gyp/8.1.2/include/node/v8.h:5392): Use isolate version [-Wdeprecated-declarations]
     Local<ObjectTemplate> t = ObjectTemplate::New();
                                                   ^
In file included from ../node_modules/nan/nan.h:2078:0,
                 from ../src/binding.cc:18:
../node_modules/nan/nan_weak.h: In instantiation of ‘static void Nan::WeakCallbackInfo<P>::invokeparameter(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<P> >&) [with T = {anonymous}::Iconv]’:
../node_modules/nan/nan_weak.h:261:13:   required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = {anonymous}::Iconv; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<{anonymous}::Iconv>&); Nan::WeakCallbackType = v8::WeakCallbackType]’
../src/binding.cc:91:75:   required from here
../node_modules/nan/nan_weak.h:110:3: warning: ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const [with T = Nan::WeakCallbackInfo<{anonymous}::Iconv>]’ is deprecated (declared at /home/flying-squid/.node-gyp/8.1.2/include/node/v8.h:409): Not realiable once SetSecondPassCallback() was used. [-Wdeprecated-declarations]
   if (data.IsFirstPass()) {
   ^
../node_modules/nan/nan_weak.h: In instantiation of ‘static void Nan::WeakCallbackInfo<P>::invoketwofield(const v8::WeakCallbackInfo<Nan::WeakCallbackInfo<P> >&) [with T = {anonymous}::Iconv]’:
../node_modules/nan/nan_weak.h:280:13:   required from ‘void Nan::Persistent<T, M>::SetWeak(P*, typename Nan::WeakCallbackInfo<P>::Callback, Nan::WeakCallbackType) [with P = {anonymous}::Iconv; T = v8::Object; M = v8::NonCopyablePersistentTraits<v8::Object>; typename Nan::WeakCallbackInfo<P>::Callback = void (*)(const Nan::WeakCallbackInfo<{anonymous}::Iconv>&); Nan::WeakCallbackType = v8::WeakCallbackType]’
../src/binding.cc:91:75:   required from here
../node_modules/nan/nan_weak.h:123:3: warning: ‘bool v8::WeakCallbackInfo<T>::IsFirstPass() const [with T = Nan::WeakCallbackInfo<{anonymous}::Iconv>]’ is deprecated (declared at /home/flying-squid/.node-gyp/8.1.2/include/node/v8.h:409): Not realiable once SetSecondPassCallback() was used. [-Wdeprecated-declarations]
   if (data.IsFirstPass()) {
   ^
iconv.target.mk:110: recipe for target 'Release/obj.target/iconv/src/binding.o' failed
make: *** [Release/obj.target/iconv/src/binding.o] Error 1
make: Leaving directory '/home/flying-squid/auto-squid/flying-squid/node_modules/iconv/build'
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/opt/node-v8.1.2-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:258:23)
gyp ERR! stack     at emitTwo (events.js:125:13)
gyp ERR! stack     at ChildProcess.emit (events.js:213:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:197:12)
gyp ERR! System Linux 3.2.0-4-rt-amd64
gyp ERR! command "/opt/node-v8.1.2-linux-x64/bin/node" "/opt/node-v8.1.2-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/flying-squid/auto-squid/flying-squid/node_modules/iconv
gyp ERR! node -v v8.1.2
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok 
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/iconv):
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1

node 8.1.2

rustc 1.23.0

@mhsjlw what's up ?

Dead Repo?

not much has been happening here... :< install doesnt work (at least on macos)

Screenshots

Are there any screenshots available of the output when using this generator?

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.