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.

155 questions
3
votes
1 answer

specify compiler in gyp

I am using gyp for the first time and I have already read its online help. I have set a compiler using CC option in export variables on command-line(Using cygwin in windows). So, all the files compile properly. Now, I wnat to compile few files using…
Techie Help
  • 151
  • 1
  • 6
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
  • 511
  • 6
  • 15
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
  • 87
  • 1
  • 7
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
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
  • 435
  • 1
  • 5
  • 13
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
  • 441
  • 1
  • 6
  • 19
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?
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
  • 41
  • 3
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
  • 19
  • 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
  • 24,338
  • 11
  • 107
  • 91
2
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
  • 27,243
  • 27
  • 105
  • 196
2
votes
1 answer

Generate Makefile(or Android.mk) for Android NDK using GYP on OS X

I'm trying to use GYP for generating iOS/OS X Xcode project and Makefile(or Android.mk) for Android NDK on OS X. Generating Xcode project is awesome, no problem at all. But for Android, I don't know exactly how to do…
Kazuki Sakamoto
  • 13,841
  • 2
  • 32
  • 96
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,152
  • 2
  • 26
  • 35
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…