Comments (8)
GTK_BASEPATH is GTK 2.x, Because of Gtk 2.x used for MonoDevelop ...
Please, Can not rely on GTK_BASEPATH?
Like QT that, as long as can find DLL file can run.
My Glade 3.14.2 can run. :)
Can you fix it? thank you!
from gtkd.
I set GTK_BASEPATH to GTK 3.6.1, error is:
object.Exception@gtkc\Loader.d(123): Library load failed: libgmodule-2.0-0.dll
from gtkd.
Unable to locate Program input point g_private_get in dynamic link library C:\Program Files (x86)\Gtk-Runtime\bin\libgmodule-2.0-0.dll?
from gtkd.
I found that GTKD compatibility is very poor... God..
from gtkd.
You should be able to remove the GTK_BASEPATH environment variable completely. It's a leftover from old Gtk+ installers that used it instead of the PATH, and for gtkD it currently overrides searching the PATH for the libs.
As for installing both Gtk+ 2.x and 3.x on the same windows machine will take some doing, due to the good old dll hell.
Some libraries are installed for both Gtk 3 and Gtk 2 but there versions differ, and because Windows doesn't try to load a library when a version is already in memory problems will arise when the old version is loaded first.
To get things to work correctly only the newest version of the libraries shared by both Gtk 2 and Gtk 3 should be installed, but i don't know how forward compatible the applications are with the newer versions.
from gtkd.
You should ignore GTK_BASEPATH configuration, or when cannot find DLL file to use GTK_BASEPATH loading.
from gtkd.
So, only try the GTK_BASEPATH when loading from the PATH fails.
That would solve some of the issues with an incorrect GTK_BASEPATH still hanging around from a previous install.
But installing more than one copy of Gtk+ on Windows has always been a problem, i might be able to create an installer that would install both Gtk2 and Gtk3 without causing issues with the wrong dll being loaded.
So is the Gtk2 version that comes with Monodevelop installed separately?
from gtkd.
Removed the GTK_BASEPATH detection completly in commit 5dfadb3 not having the Gtk+ runtime in your path will cause problems witj Gtk+ itself.
from gtkd.
Related Issues (20)
- Unable to implement CellRenderer.render with ImplementClass HOT 2
- [QUESTION] MainWindow or ApplicationWindow? HOT 4
- Add Support for Composite Templates HOT 2
- Status of custom GObjects HOT 4
- Wrong code format in Widget.d
- Add Gda bindings
- Undefined reference to _D3std6string9toStringzFNaNbNeMNkAyaZPya with ldc2 HOT 11
- bindings for LibAdwaita HOT 3
- Memory allocation failed when compiling with gdc HOT 1
- ListBoxItem toggle_refs_notify: assertion failed HOT 1
- How to Wrap GObject Introspection-based libraries for begginers HOT 4
- cairo win32 support
- New release? HOT 2
- wrapper for Dialog.getHeaderBar returns Widget instead of HeaderBar HOT 1
- Compile failed on Linux with gdc
- GTK4 HOT 2
- Unicode.utf8Validate issue ? HOT 5
- Gtk4 fails loading some icons HOT 1
- Create new tag/release for 3.11
- Need Gtk+ runtime in zip format
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 gtkd.