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
3
votes
1 answer

Get gyp version from command line?

How to get gyp version from command line? I looked here: https://code.google.com/p/gyp/wiki/InputFormatReference I tried usual commands -v -ver -version, --version, --help
exebook
  • 32,014
  • 33
  • 141
  • 226
3
votes
2 answers

GYP/V8 - how to generate VS2008 project by default?

I try to build V8 with GYP (Windows 7 x64, VS2008 x32). The problem is that GYP generates VS2010 solution by default. How to change this GYP behavior to get my VS2008 solution? (What file to edit?)
Alf
  • 1,285
  • 3
  • 14
  • 24
3
votes
0 answers

Using GYP for generating Visual Studio projects

I am trying to generate VS project with gyp for minidump_writer_file_unittest.cc present here. The way to compile this test on linux machines is given in the same link on line 33. Now, this test depends upon header files present in the parent…
user1343318
  • 2,093
  • 6
  • 32
  • 59
3
votes
1 answer

Gyp precompiled headers for xcode

How do you specify precompiled headers for xcode with gyp, specifically xcode 4.6 with clang. I only see visual studio options. 'msvs_precompiled_header': 'stdio.h', 'msvs_precompiled_source': 'precomp.c',
Michael Marcin
  • 686
  • 6
  • 17
3
votes
2 answers

Building with MOC files using GYP instead of QMake?

By removing the moc generation step from QMake I no longer have to rely on QtCreator. At the moment I am using a custom script to generate/update Qt moc files before generating makefiles via GYP in eclipse. Does anyone know how to add moc as build…
Flarex
  • 531
  • 6
  • 16
2
votes
1 answer

Generating Xcode project for iOS using GYP

I have been trying to generate an Xcode project for an iOS app using GYP. I am able to generate the myapp.xcodeproj project file but the settings are for macOS projects instead of the desired iOS project. I have set the following…
user1165084
  • 97
  • 2
  • 7
2
votes
1 answer

Getting yarn install gyp error with @vscode/sqlite3

Computer : MacBook Pro (16-inch, 2019) - Intel I7 OS : Monterey 12.3.1 Python Version : 3.8.0 Node Version : v14.17.6 Node-gyp : v7.1.2 I was able to run yarn install from this project before, but after an update I am having this issue. I have…
2
votes
3 answers

Node-gyp version is different when using npm install

When I run npm install -g ffi -verbose it raises error, and log suggests node-gyp version is 8.2.0: ... npm ERR! D:\Programs\NodeJS\node_global_modules\node_modules\ffi\node_modules\ref\src\binding.cc(644,8): warning C4996: 'Nan::ForceSet':…
Wang Tim
  • 57
  • 2
  • 6
2
votes
1 answer

i get an error related to gyp when i try to do npm install

i'm just start editing a NodeJS project, i used npm install to install all the needed libraries. but it return an error related to gyp i trying a lot of way to solve it but not work , i have python v3.9 installed , node v16.4 also , and i use…
Fiber X01
  • 31
  • 1
  • 4
2
votes
1 answer

npm install failed by gyp verb could not find "msbuild.exe" in PATH - finding location in registry

I encounter this problem when I execute npm install command I tried to add the MSBuild.exe to PATH but can't success How can I process this problem? Before I have added to the python2 PATH,and tried npm install --global --production…
muller f
  • 23
  • 1
  • 4
2
votes
0 answers

yarn / npm install node-gyp problem "node-pre-gyp install --fallback-to-build --library=static_library"

I made a clone of my own repository in a diferent laptop and when i've tried to execute "yarn install" or "npm install" it stops and return some errors. I've researched a lot, tried to delete yarn.lock, package-lock, install node-pre-gyp globally,…
2
votes
0 answers

Cannot rebuild node-gyp with exit code null

I'm trying to use node-gyp rebuild, but I encountered a weird issue. I think I have followed almost every thread. I am running the command on macOS BigSur 11.2.2, Apple Silicon. gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit…
shilu
  • 31
  • 4
2
votes
1 answer

How can I build node.js without some internal modules?

I want to build a specific nodejs as a static library without some internal module like child_process dns etc. Is there a configurable way to go about this?
tommyZZM
  • 83
  • 6
2
votes
1 answer

Electron app using python throws zmq.node error

Full disclosure I'm a node/npm/electron noob but I'm attempting to build an electron app to interface with an existing python module I wrote and I came across this Github repo. So I cloned it and I'm trying to run it from linux mint cinnamon version…
James Draper
  • 5,110
  • 5
  • 40
  • 59
2
votes
0 answers

Gyp Dynamic Libraries with Qt

I'm trying to build an executable which uses Qt as one of its dependencies and gyp as the build tool. My project builds correctly, but whenever I try to run the executable I see this error: dyld: Library not loaded:…
abrarisme
  • 495
  • 1
  • 6
  • 14