Comments (8)
I haven't tried it personally, but maybe LIB
and LIBPATH
too?
A test would be:
project('foo', 'c')
cc = meson.get_compiler('c')
cc.find_library('something_in_libpath')
from gvsbuild.
Which projects can I use to test this ?
Thanks
from gvsbuild.
To test include:
project('foo', 'c')
cc = meson.get_compiler('c')
cc.has_header('libintl.h')
from gvsbuild.
Ok, you mean the gtk stack include dir (i.e. c:\gtk-build\gtk\win32\release\include) and the similar for libpath ?
from gvsbuild.
Yea.
from gvsbuild.
If I understand correctly (I'm at work now and I can't check deep) if the project use ONLY pkg-config to get the stuff it's ok (because LIBPATH and the include dir are added), while in these simple case we got an error.
We can add the enviroment globally in the script (or before, manually, to test things) or on a per-project basis, like the add_path keyword
from gvsbuild.
if the project use ONLY pkg-config to get the stuff it's ok (because LIBPATH and the include dir are added), while in these simple case we got an error.
Indeed.
I think it is safe to always set these variables and would avoid potential duplication.
from gvsbuild.
A fast solution will be to set (or add) INCLUDE, LIB and LIBPATH to the gtk ones just before initializing the vs environment (vcvarsall.bat): in this way the data are saved internally and any time we use the build_vs(...) we have it.
from gvsbuild.
Related Issues (20)
- nghttp2 update to version 1.60.0 fails
- Building GTK4 fails HOT 4
- Error while building gtk3 HOT 12
- GTK4 build fails HOT 2
- gobject-introspection fails without setuptools on Python 3.12
- Link to binaries HOT 1
- Include patch to fix pango font rendering HOT 7
- Font rendering issues for GTK4 HOT 2
- adding gtkmm libraries to the next releases HOT 6
- Allow changing meson options for packages
- patch' is not recognized as an internal or external command, operable program or batch file HOT 1
- Perl depends on old versions of Visual C++ Redistributable HOT 1
- build failed on Win11 while building gdk-pixbuf HOT 17
- FAILED: gdk-pixbuf/loaders.cache (2.42.12) Win 10, gvsbuild build gtk4 HOT 1
- Rendering issues under Windows 10 and 11 HOT 18
- Missing packages fontconfig, pangoft2 HOT 3
- release more binaries HOT 6
- Libpanel missing `panel_get_resource`
- Error: gst-plugins-bad build failed. FAILED: sys/nvcodec/gstnvcodec.dll.p/gstnvdecoder.cpp.obj.
- glib: turn off debug HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gvsbuild.