Skip to content

Cannot install on ubuntu 25.04 on RPi 4B #44

Description

@hobbit44

One thing is i couldnt install libgpiod2 as it complained about a missing installation candidate. I had to install libgpiod3.

  CXX(target) Release/obj.target/node-libgpiod/src/main.o
│ In file included from ../src/main.cc:1:
│ ../src/bulk.hh:13:3: error: ‘gpiod_line_bulk’ does not name a type; did you mean ‘gpiod_line_bias’?
│    13 |   gpiod_line_bulk *getNativeBulk();
│       |   ^~~~~~~~~~~~~~~
│       |   gpiod_line_bias
│ ../src/bulk.hh:22:3: error: ‘gpiod_line_bulk’ does not name a type; did you mean ‘gpiod_line_bias’?
│    22 |   gpiod_line_bulk bulk;
│       |   ^~~~~~~~~~~~~~~
│       |   gpiod_line_bias
│ In file included from ../src/main.cc:3:
│ ../src/line.hh:13:3: error: ‘gpiod_line’ does not name a type
│    13 |   gpiod_line *getNativeLine();
│       |   ^~~~~~~~~~
│ ../src/line.hh:20:3: error: ‘gpiod_line’ does not name a type
│    20 |   gpiod_line *line;
│       |   ^~~~~~~~~~
│ In file included from ../../../../nan@2.23.0/node_modules/nan/nan.h:62,
│                  from ../src/bulk.hh:5:
│ /home/matt/.cache/node-gyp/22.18.0/include/node/node.h:1228:7: warning: cast between incompatible function types from ‘void (*)(Nan::ADDON_REGISTER_FUNCTION_ARGS_TYPE)’ {aka ‘void (*)(v8::Local<v8::Object>)’} to ‘node::addon_regist…
│  1228 |       (node::addon_register_func) (regfunc),                          \
│       |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
│ /home/matt/.cache/node-gyp/22.18.0/include/node/node.h:1262:3: note: in expansion of macro ‘NODE_MODULE_X’
│  1262 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
│       |   ^~~~~~~~~~~~~
│ ../src/main.cc:131:1: note: in expansion of macro ‘NODE_MODULE’
│   131 | NODE_MODULE(NativeExtension, InitAll);
│       | ^~~~~~~~~~~
│ make: *** [node-libgpiod.target.mk:114: Release/obj.target/node-libgpiod/src/main.o] Error 1

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationgpiod-2.xrelated to the new gpiod api

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions