gtk app cant see windows path value to use gtk+ dlls
I added c:\_hub\gtk\bin
to windows path var, and s开发者_运维知识库till when I try to run gtk app, it shows me an error about missing dll. if I will put my app to c:\_hub\gtk\bin
, it will run.
any ideas?
I use codeblocks. created project in this way: file > new > gtk+ app Wizard asked me to show gtk dir, I pointed him to gtk dir. then wrote a simple -> build.
as you can see, I didnt add any compiler params etc
The problem was that was using Total commander and when I changed enviroment variables in windows, it wont change in Total commander session. So I had to close total commander, change enviroment and then everything was ok.
精彩评论