Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm install fails on Armbian #29

Open
sgarza opened this issue Apr 30, 2019 · 1 comment
Open

npm install fails on Armbian #29

sgarza opened this issue Apr 30, 2019 · 1 comment

Comments

@sgarza
Copy link

sgarza commented Apr 30, 2019

Node: v10.15.3

error:

 node-gyp rebuild

make: Entering directory '/home/sgarza/Projects/linux/naudiodon/build'
  CC(target) Release/obj.target/nothing/node_modules/node-addon-api/src/nothing.o
  AR(target) Release/obj.target/node_modules/node-addon-api/src/nothing.a
  COPY Release/nothing.a
  COPY ../build/Release/libportaudio.so.2
  CXX(target) Release/obj.target/naudiodon/src/naudiodon.o
  CXX(target) Release/obj.target/naudiodon/src/GetDevices.o
  CXX(target) Release/obj.target/naudiodon/src/GetHostAPIs.o
  CXX(target) Release/obj.target/naudiodon/src/AudioIO.o
  CXX(target) Release/obj.target/naudiodon/src/PaContext.o
../src/PaContext.cc: In member function ‘void streampunk::PaContext::setParams(Napi::Env, bool, std::shared_ptr<streampunk::AudioOptions>, PaStreamParameters&, double&)’:
../src/PaContext.cc:237:3: error: ‘framesPerBuffer’ was not declared in this scope
   framesPerBuffer = 256;
   ^~~~~~~~~~~~~~~
../src/PaContext.cc:237:3: note: suggested alternative: ‘readPaBuffer’
   framesPerBuffer = 256;
   ^~~~~~~~~~~~~~~
   readPaBuffer
naudiodon.target.mk:119: recipe for target 'Release/obj.target/naudiodon/src/PaContext.o' failed

I commented the line PaContext.cc:237 and it compiled. I still have to test if it works

scriptorian added a commit that referenced this issue May 1, 2019
@scriptorian
Copy link

Thanks for raising this sgarza. I don't have access to arm hardware right now so please let me know if this resolves the problem.

zschreur added a commit to TechSmith/naudiodon that referenced this issue Nov 21, 2019
commit 8e946eb
Author: Simon Rogers <[email protected]>
Date:   Thu Jun 13 12:11:47 2019 +0200

    v2.1.0

commit 8b63203
Author: Simon Rogers <[email protected]>
Date:   Thu Jun 13 12:08:24 2019 +0200

    Streampunk#32 Add support for 32-bit floating point audio streams

commit c027bb3
Author: Simon Rogers <[email protected]>
Date:   Wed May 1 13:54:39 2019 +0200

    Streampunk#29 Fix arm build

commit a93d21c
Author: Simon Rogers <[email protected]>
Date:   Wed May 1 13:52:25 2019 +0200

    Ignore vscode

commit fbccbdb
Merge: 10fe4b3 af34acd
Author: Simon Rogers <[email protected]>
Date:   Thu Apr 11 10:42:16 2019 +0200

    Merge pull request Streampunk#26 from rpahle/master

    fixing config for highwaterMark

commit af34acd
Author: Robert Pahle <[email protected]>
Date:   Wed Apr 10 15:43:52 2019 -0400

    fixing config for highwaterMark

commit 10fe4b3
Author: Simon Rogers <[email protected]>
Date:   Thu Feb 21 18:10:31 2019 +0100

    v2.0.3

commit b8761ac
Merge: 8fcf870 4960ee1
Author: Simon Rogers <[email protected]>
Date:   Thu Feb 21 18:09:01 2019 +0100

    Merge pull request Streampunk#24 from SoTrxII/master

    Correcting a really tiny typo in the include directives

commit 4960ee1
Author: Lucas <[email protected]>
Date:   Thu Feb 21 17:58:54 2019 +0100

    Correcting a really tiny typo in the include directives

commit 8fcf870
Author: Simon Rogers <[email protected]>
Date:   Thu Feb 21 11:37:46 2019 +0100

    v2.0.2

commit 1cafcc9
Author: Simon Rogers <[email protected]>
Date:   Thu Feb 21 11:36:11 2019 +0100

    Add binding for Pa_GetHostApiInfo. Streampunk#23

commit 75c0b48
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 19 12:02:55 2019 +0100

    V2.0.1

commit 66c4180
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 19 12:02:07 2019 +0100

    Fix compile errors - issue Streampunk#22

commit dace615
Merge: 6d0c60f b77d5fd
Author: Simon Rogers <[email protected]>
Date:   Mon Feb 18 15:35:34 2019 +0100

    Merge pull request Streampunk#21 from Streampunk/napi

commit b77d5fd
Merge: 673235c 6d0c60f
Author: Simon Rogers <[email protected]>
Date:   Mon Feb 18 15:34:07 2019 +0100

    Merge branch 'master' into napi

commit 673235c
Merge: d4b1166 41b3795
Author: Simon Rogers <[email protected]>
Date:   Mon Feb 18 15:31:52 2019 +0100

    Update for merge

commit 6d0c60f
Author: Simon Rogers <[email protected]>
Date:   Mon Feb 18 14:51:08 2019 +0100

    v1.0.0

commit d4b1166
Author: Simon Rogers <[email protected]>
Date:   Mon Feb 18 14:25:59 2019 +0100

    Update copyright year

commit c59e368
Author: Simon Rogers <[email protected]>
Date:   Mon Feb 18 14:19:55 2019 +0100

    Small documentation improvements

commit 820ea51
Author: Simon Rogers <[email protected]>
Date:   Mon Feb 18 12:18:35 2019 +0100

    Add missing status flags

commit 430b0d3
Author: Simon Rogers <[email protected]>
Date:   Mon Feb 18 12:10:26 2019 +0100

    Refactor to use a common AudioIO object for in, out and duplex

commit 9e9c3ab
Author: Simon Rogers <[email protected]>
Date:   Fri Feb 15 17:37:07 2019 +0100

    Check for null

commit 6423fd8
Author: Simon Rogers <[email protected]>
Date:   Fri Feb 15 17:19:28 2019 +0100

    Update to use event to start recording - addresses Issue Streampunk#20

commit 69872b3
Author: Simon Rogers <[email protected]>
Date:   Fri Feb 15 17:17:24 2019 +0100

    Add abort function

commit 4720281
Author: Simon Rogers <[email protected]>
Date:   Fri Feb 15 12:26:48 2019 +0100

    Refactor to add support for full duplex (bi-directional) PortAudio devices

commit 81fe268
Author: Simon Rogers <[email protected]>
Date:   Thu Feb 14 14:28:18 2019 +0100

    Brought up-to-date with latest napi wrapper, improved and simplified error and quit handling

commit 9820f0b
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 12 13:01:20 2019 +0100

    Visual Studio Code configuration

commit eb3116a
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 12 13:00:34 2019 +0100

    Improve quit logic

commit 12232eb
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 12 12:59:50 2019 +0100

    Print version string at startup

commit ecbbc97
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 12 12:58:58 2019 +0100

    Add segfault-handler, end and error handling for AudioInput

commit ea277f8
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 12 12:57:28 2019 +0100

    Fix spacing

commit a7d6e5c
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 12 12:56:32 2019 +0100

    Clearer about node-gyp

commit ed52089
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 12 12:55:16 2019 +0100

    Updated, add segfault-handler

commit b21bdc2
Author: Simon Rogers <[email protected]>
Date:   Tue Feb 12 12:53:45 2019 +0100

    Update PortAudio to recommended version: pa_stable_v190600_20161030

commit 6c4fb63
Merge: 4c63fa6 1bf376f
Author: Simon Rogers <[email protected]>
Date:   Wed Nov 29 15:54:59 2017 +0100

    Merge pull request Streampunk#9 from scriptorian/napi

    Ported to use N-API

commit 1bf376f
Author: Simon Rogers <[email protected]>
Date:   Wed Nov 29 15:50:54 2017 +0100

    Ported to use N-API
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants