Comments (17)
Is the gtk bin directory in your path? The gtk installer should normally add it.
Can you check if the dll is actually on your system. The default location is:
C:\Program Files (x86)\GTK+-Runtime-3.4.2\bin\
from gtkd.
yes, in my path..
from gtkd.
And can you locate the dll in the file system?
from gtkd.
yes, gtk3 runtime is installed.. but why?
from gtkd.
yes, gtk3 runtime is installed.. but why?
Yes you can find the dll, or yes gtk is installed? I want to check if the installer correctly installed the ddl's.
Also is ti the 32 bit's version of the gtk runtime ?
from gtkd.
dmd 2.060's arch is i386?
in windows cmd run "gtk3-demo.exe" is ok.. can you try?
my GtkD.lib size: 14,356 KB.
from gtkd.
dmd 2.060's arch is i386?
Yes currently dmd on windows can only compile 32 bits application, so you'll need the 32 bits version of Gtk.
in windows cmd run "gtk3-demo.exe" is ok.. can you try?
I can run a GtkD ap just fine on my windows install.
Can you give a clear answer to whether you can actually locate the dll in the file system?
If the gtk-runtime is install at the default location, you should be able to find it here:
C:\Program Files (x86)\GTK+-Runtime-3.4.2\bin\libgtk-3-0.dll
from gtkd.
Yes.. dmd compile 32 bits test application, libgtk-3-0.dll 32 bits !
gtk3 runtime only one installed.. I'm crazy!!
from gtkd.
I'll try to modify the Loader so that it gets the error message set by LoadLibrary, that will hopefully tell us whats going wrong.
from gtkd.
You get my application, Try to run.
http://download.itbbs.cn/gtkd/gtkdtest.exe
http://download.itbbs.cn/gtkd/GtkD_2.0.lib.zip
Can you run?
from gtkd.
I can run that application just fine on my machine.
Also modifying the Loader to retrieve the error message set by LoadLibrary from windows isn't working, when i remove one of the dll from my system the error code/message is set to ERROR_SUCCESS / "The operation completed successfully.". Which isn't exactly the error that occurred.
Could you post you path variable?
from gtkd.
Scratch that last comment about the error messages.
Can you replace src/gtkc/Loader.d with the one from this Gist: https://gist.github.com/3804415
It should generate a better error message.
from gtkd.
PATH INFO:
D:\Develop\ImageMagick;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files (x86)\GtkSharp\2.12\bin;D:\Develop\jre\bin;C:\Program Files\TortoiseSVN\bin;D:\Develop\GTK3-Runtime\bin;D:\Develop\DMD2\windows\bin
from gtkd.
object.Exception@..\gtkc\Loader.d(131): Cannot find the specified module.
Process returned 1 (0x1) execution time : 1.050 s
Press any key to continue.
from gtkd.
That would mean that it can't find the dll.
Do you have the GTK_BASEPATH environment variable set to anything from an older gtk instalation?
Also can you check the file size of D:\Develop\GTK3-Runtime\bin\libgtk-3-0.dll
from gtkd.
Oh my god !!! mast set GTK_BASEPATH value D:\Develop\GTK3-Runtime to Environment variable ..
Now I can run this application!
but, no GTK_BASEPATH other programs can run normally, I think you can't forced to GTK_BASEPATH.
Thanks very much.
from gtkd.
Normaly GtkD (or the LoadLibrary function) looks in the dirs from the PATH variable.
GTK_BASEPATH can be used to override this, and set it to one specific directory.
I'm glad it's working.
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.