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

Configuring V8 for building with /MD with VS2010

Does anyone know if its possible to configure V8 to be built this way with VS2010? I am trying to embed V8 in a project that already uses a few libraries configured for the multi-threaded DLL(/MD) runtime library on Windows and V8 is by default…
David Carpenter
  • 1,389
  • 2
  • 16
  • 29
0
votes
1 answer

Setting MS references via gyp

I need to compile something with gyp. I make use of some windows APIs, so I need to add the following lines to my vcxproj-file
svennergr
  • 800
  • 1
  • 8
  • 26
0
votes
2 answers

Gyp module issue with my remote server (openshift)

When I try to install sails-postgresql@0.9.7 package on openshift, I have the following issue. node-gyp rebuild || (exit 0) Traceback (most recent call last): File "/opt/rh/nodejs010/root/usr/bin/gyp", line 15, in import…
elyrico
  • 519
  • 6
  • 19
0
votes
1 answer

Using pkg-config gyp

I'm trying to include gtk in my gyp project. I can compile by hand, but with gyp I always get the error that #include cannot be found. I've seen other gyp projects like chromium include it like this but have been unsuccessful in…
joshua-anderson
  • 4,458
  • 5
  • 35
  • 56
0
votes
1 answer

Is It Possible To Embed SDL2 In An Application Without Building It As A Library?

Is it possible to use SDL2 from source in an application, without needing to compile .libs, .dlls or OSX frameworks files? My C/C++ skills can be best described as naive, but I suspect the library can be used in this way. Has anyone done so…
Charlie
  • 4,197
  • 5
  • 42
  • 59
0
votes
1 answer

How to specify environment variables without expansion in gyp files?

I want to specify an rpath, like this: 'ldflags': [ '-rpath', '/usr/$LIB/myprog', ], But when I check the resulting binary, I see it has another rpath: $ objdump -x binary | grep RPATH RPATH /usr//myprog:$ORIGIN/lib/ What I want…
abyss.7
  • 13,882
  • 11
  • 56
  • 100
0
votes
2 answers

Newly added source files to chromium are not getting build

I am trying to build chromium by adding new source files to third_party/. I modified the gypi files also accordingly. But still the new files are not getting compiled. Is there any specific commands i need to use to get the new sources compiled ?…
Suyambu
  • 67
  • 1
  • 6
0
votes
2 answers

gyp errors when trying to install opencv node on mac mavericks trouble

I am trying to install node opencv , i'm running mavericks on a mac. i run "npm install opencv" and have tried so many things to fix this problem but can't figure it out. here are my errors: there are also a bunch of warnings but this is the errors…
gabriella
  • 371
  • 1
  • 3
  • 8
0
votes
1 answer

Error when trying to specify the ldflags in a gyp file

I am trying to create a makefile through GYP. I had errors saying that ld cannot find the necessary libraries so I included them in ldflags in the gyp file. The code I have is: 'link_settings': { 'ldflags': [ '-L/path/to/lib1' ,…
user2928287
  • 97
  • 1
  • 1
  • 7
0
votes
1 answer

How to move GYP target to a separate include file

I want many gyp scripts to have a common target. So I decided to move it to a separate include file. Simplest test-case that produces an error: foo.gyp { 'includes' : [ 'bar.gypi', ], } bar.gypi { 'targets': [ { …
Kolyunya
  • 5,973
  • 7
  • 46
  • 81
0
votes
1 answer

Coverage measurment action in gyp

I decided to use gyp as a build system for my project on linux. I am happy with basic functionality (target declarations, dependencies, hierarchies etc.) but I have some problems with customization. I have a Core project which is built as a library…
roman-kashitsyn
  • 539
  • 3
  • 14
0
votes
1 answer

Node-gyp to generate non Node.js projects?

Can node-gyp by used to generate non Node.js addon projects? For instance, I'd like to use node-gyp to generate a typical "Hello, World!" C++ project. Can I do this, and how would I go about it? I'm finding the stock python GYP documentation to lack…
EhevuTov
  • 20,205
  • 16
  • 66
  • 71
-1
votes
2 answers

npm install does not work after installing choco for react native

I wanted to play around with react native cli so I installed this command "choco install -y nodejs.install python2 openjdk8" and I had to go back to other react project (different project) and needed to run "npm install". Now.. it returns this bunch…
1 2 3
11
12