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
8
votes
3 answers

NodeJS npm install pg failed

Im trying to npm install pg on my ubuntu virtual machine and i got error: > pg@1.1.0 install /usr/local/lib/node_modules/core/node_modules/pg > node-gyp rebuild || (exit 0) gyp: binding.gyp not found (cwd:…
Rafał Kot
  • 1,064
  • 3
  • 15
  • 26
8
votes
1 answer

Build googles v8 as shared library on windows?

Is it possible to build googles v8 as a shared library with gyp on windows (msvc 2012)? Everything I tried doesn't work. What I've tried: python build\gyp_v8 -Dcomponent=shared_library python build\gyp_v8 library=shared The second one gives an…
The Wavelength
  • 2,836
  • 2
  • 25
  • 44
7
votes
1 answer

node-gyp build library dependencies

I want to find a way to simplify the installation of the Node.js "libtorrent" module. My goal is to be able to provide pre-compiled .node files for each architectures, as this is done in the fibers module for example. This way, the users can install…
Leeroy Brun
  • 4,468
  • 2
  • 16
  • 12
6
votes
5 answers

What are the SCons alternatives?

I have projects in C++, Java and Python. Projects in C++ export SWIG interfaces so they can be used by Java and Python projects. My question is: what building mechanism can I use to manage dependencies and build these projects? I have used SCons and…
Igor Gatis
  • 4,648
  • 10
  • 43
  • 66
6
votes
2 answers

Can I use environment variable in gyp

I'm totally new to gyp, so please excuse any ignorance on the subject -- I'm trying to incorporate a project which uses gyp into a larger environment generated by make. The .gyp file in question has a -L option for a C file, and it points to a…
John
  • 3,400
  • 3
  • 31
  • 47
6
votes
3 answers

Turn off Visual Studio popups

I have a large project that I have to load and work on. Nothing I can do about it - just load the solution and all projects within it. Problem is that first several minutes VS loads project one by one and it constantly inform me about it by…
Mateusz Kubuszok
  • 24,995
  • 4
  • 42
  • 64
6
votes
3 answers

GYP variable based on build configuration

Is it possible to define a GYP variable whose value depends on the choice of build configuration?
dpemmons
  • 71
  • 1
  • 5
5
votes
1 answer

How to generate "make install" action using gyp?

I'm using gyp to generate makefiles for my project. Makefiles work, cause working binaries to pop up in "out" directory, all is dandy here. However, I would like my makefiles to have some "standard" actions/targets, namely "install" "uninstall", and…
OhJeez
  • 2,774
  • 2
  • 14
  • 18
5
votes
0 answers

Compiling WebRTC native client API for RTCDataChannel file sharing

I am trying to build a command-line native application that supports: native - native native - browser browser - browser file sharing using the WebRTC data channel. However I cannot seem to figure out how to use the native WebRTC c++ API…
Zolmeister
  • 204
  • 3
  • 5
5
votes
1 answer

Using shared library in Gyp in node-sqlite3

I'm new to Gyp. Instead of compiling my dependency, I would like to use a shared library, in particular, the libsqlite3.so which is already on my machine. The main binding.gyp currently looks like { 'targets': [ { 'target_name':…
tofutim
  • 22,664
  • 20
  • 87
  • 148
4
votes
1 answer

Hello World example for V8 using gyp

Since SCons has been deprecated. I used the gyp to generate vs solution. I did what they told me on the build BuildingWithGYP. And the v8 project builded ok! and I got the v8_base.lib but no v8.lib. And in the hello world project ,get started.I add…
Anghoo
  • 49
  • 3
4
votes
3 answers

Unable to build and deploy Rails 6.0.4.1 app on heroku - Throws gyp verb cli error

Hi i was deploying a branch on heroku and threw up this error. I also tried deploying a branch which worked perfectly, but that is also showing the same error. local yarn verion : 1.22.17 local node version : v12.22.7 Please help !!! Tried building…
user2609074
  • 73
  • 1
  • 7
4
votes
0 answers

installing node-red-contrib-jdbc fails with gyp configure error

I'm currently trying to test several databases for an IoT application using Node-RED. To connect Node-RED with the database I wanted to use the node-red-contrib-jdbc package but the installation isn't working (tried both palette manager and manual…
peanut
  • 41
  • 1
4
votes
1 answer

gyp and node-pre-gyp fail when installing firebase with npm

I'm trying to install my dependencies with npm but installation fails when firebase installation comes in. I tried to install firebase individually with npm i firebase but it does not work. I removed the node_modules folder, cleaned the cache and…
CCarlos
  • 153
  • 1
  • 8
4
votes
1 answer

Invoking make from node-gyp

I'm using node-gyp to build a native Node.js add-on written in C++ on Linux. The add-on is dependent on another shared library. This library is not currently built with gyp, it just has a makefile. If I build the shared library first, then build my…
dtopham75
  • 620
  • 6
  • 14
1
2
3
11 12