Questions tagged [gyp]

GYP is a tool created at Google for the Chromium project that generates native Visual Studio, Xcode and SCons and/or make build files from a platform-independent input format.

GYP is a tool created at Google for the Chromium project that generates native Visual Studio, Xcode and SCons and/or make build files from a platform-independent input format. It is highly specific to Chromium's specific use case and was not created for the general use.

Input configurations are specified in files with the suffix .gyp. Each .gyp file specifies how to build the targets for the "component" defined by that file. Each .gyp file generates one or more output files appropriate to the platform.

178 questions
2
votes
0 answers

Error npm install opencv

I tried to install opencv with npm. I got the following error. Please help. I have been stuck for so long! I have python 2.7 and opencv 2.4.9 installed on my computer. I have the following system variables. C:\Python27;%OPENCV_DIR%\bin And…
UniSound Waterloo
  • 531
  • 1
  • 7
  • 22
2
votes
1 answer

how to print variable value in generate your project ( gyp )

I am new to gyp & i googled a lot, but i am not getting any information regarding printing variable value in .gyp or .gypi file. I tried using echo, but that did not worked for me. so, my question is very simple : How to print variable in gyp?
Nishant Bijani A
  • 148
  • 1
  • 13
2
votes
1 answer

socket.io Install error windows 10

I use Windows 10 X64, Python 2.7.10 and node.js 4.2.0 When I try to install socket.io this error gets displayed: C:\WINDOWS\system32>npm install socket.io > bufferutil@1.2.1 install…
조재호
  • 21
  • 3
2
votes
1 answer

GYP default value for variable %

i'm trying to play around with GYP and got stucked with defining "default variable" have 2 files(one main, and one expected to store common data, included to main: 1) v_common.gypi: { 'variables': { 'mymodule%': "blblblb", …
Volodymyr
  • 51
  • 4
2
votes
0 answers

Using C++ DLLs in Node.js native Addon

I had a C++ Win32 DLL built in Release/Win32 in VS2005 and I was trying to load it into a C++ Node.js Addon using LoadLibrary. This was failing continuously. Then when I manually changed the build configuration in VS2005 to generate x64 DLL, then it…
Anurag
  • 17
  • 6
2
votes
1 answer

Can I get npm / gyp to use ccache?

ccache is a fantastic way to speed up building C binaries which you have already built previously, by caching the results. (Another great tool is distcc, which will pass code to other machines for parallel compilation!) Can I get npm to use ccache…
joeytwiddle
  • 29,306
  • 13
  • 121
  • 110
2
votes
1 answer

What is wrong with this GYP file?

I am using a simple GYP file to build a simple D program. The GYP file follows: { 'targets': [ { 'target_name': 'bin/launchprogram', 'type': 'executable', 'sources': [ 'src/launchprogram.d', ], 'actions':…
Demi
  • 3,535
  • 5
  • 29
  • 45
2
votes
2 answers

module.js:485 process.dlopen(filename, module.exports);

I am getting this error on a node native addon I created. It works fine on my development machine, but breaks on the test machine. module.js:485 process.dlopen(filename, module.exports); Error: The specified module could not be…
2
votes
1 answer

gyp: undefined symbols in shared_library

What is wrong with the following gyp file? 'targets': [ { 'target_name': 'cr', 'type': 'shared_library', 'sources': ['cr.cc'], 'include_dirs': ['.'], }, ], When I build this gyp code, it compiles but there is…
ext.dev
  • 121
  • 6
1
vote
1 answer

Bindings of jq to nodejs undefined symbol

I have a problem regarding binding jq library using node-gyp. I have 2 node-gyp files for building the nan code for building the JQ code You can see the full repo in here https://github.com/danielsinai/jq-node-bindings.git I'm getting the error…
Daniel Sinai
  • 136
  • 7
1
vote
0 answers

error gyp, node self-signed certificate in certificate chain

Good day. I have the problem. gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v18.0.0/node-v18.0.0-headers.tar.gz failed, reason: self-signed certificate in certificate chain gyp ERR! stack at ClientRequest.
A.Serobabov
  • 13
  • 1
  • 7
1
vote
0 answers

npm install try but gyp ERR

I tried to install npm to convert gltf to 3d tiles, but the following error occurs. This is the github -> https://github.com/dreamergz/gltf-to-3d-tiles An error also occurs when using the command after running vscode as an administrator. I am not…
Y_Y
  • 25
  • 4
1
vote
0 answers

Precompiled headers in node-gyp (linux)

Looking for information about precompiled headers, I found this post for windows, this for xcode. But I didn't find an example for linux. How can I make use of precompiled headers for compilation speedup?
Bob
  • 13,867
  • 1
  • 5
  • 27
1
vote
0 answers

gyp error in vs19 project. I am new to node and visual studio. When I try npm install in the angular project, I get this gyp error

##Traceback (most recent call last): File "C:\Users\vanil\Snap\Server\MADP.Server\Snap.ManagementConsole\Public\node_modules\node-gyp\gyp\gyp_main.py", line 16, in sys.exit(gyp.script_main()) File…
vyshakhaa
  • 11
  • 2
1
vote
0 answers

npm install sqlite3 - gyp error: unable to get local issuer certificate

I am working on clean Windows 10 installation. When trying to run npm install sqlite3 from myproject path, getting the following error: gyp WARN install got an error, rolling back install gyp ERR! configure error gyp ERR! stack Error: unable to get…
Constantine Ch
  • 131
  • 3
  • 13