digitalmars.D - only want to start - TK programming in D with one code example.
- MHE (22/22) Jan 21 2018 Hi there,
- Cym13 (3/12) Jan 21 2018 Does it compile correctly if built using `dub --config=example`
- Cym13 (4/13) Jan 21 2018 Also, you might get more help posting this kind of questions in
-
Jordi Sayol
(6/27)
Jan 21 2018
You can use d-apt
Hi there, i am completely new in D Programming and only want to start the example code for TK that is described on the homepage https://github.com/nomad-software/tkd. For this i have gitcloned the 3 packages tcltk tkd x11 in the folder /usr/local/GIT/. Then i run the command dub inside any single folder and build it. When i want to run the example TK D script the following results are seen - $ dmd -I/usr/local/GIT/ hw_graphical2.d hw_graphical2.d(1): Error: module tkdapplication is in file 'tkd/tkdapplication.d' which cannot be read import path[0] = /usr/local/GIT/ import path[1] = /usr/include/dmd/phobos import path[2] = /usr/include/dmd/druntime/import hans mx1:~/Documents/D_lang $ I have made something wrong with the configuration of the TKD module. Need help here to start programming with D and TK. WBR MHE
Jan 21 2018
On Sunday, 21 January 2018 at 15:58:55 UTC, MHE wrote:Hi there, i am completely new in D Programming and only want to start the example code for TK that is described on the homepage https://github.com/nomad-software/tkd. For this i have gitcloned the 3 packages tcltk tkd x11 in the folder /usr/local/GIT/. Then i run the command dub inside any single folder and build it. [...]Does it compile correctly if built using `dub --config=example` as explained in TKD's Readme?
Jan 21 2018
On Sunday, 21 January 2018 at 15:58:55 UTC, MHE wrote:Hi there, i am completely new in D Programming and only want to start the example code for TK that is described on the homepage https://github.com/nomad-software/tkd. For this i have gitcloned the 3 packages tcltk tkd x11 in the folder /usr/local/GIT/. Then i run the command dub inside any single folder and build it. [...]Also, you might get more help posting this kind of questions in the Learn section of the forum in the future, General isn't the right place for those.
Jan 21 2018
El 21/01/18 a les 16:58, MHE via Digitalmars-d ha escrit:Hi there, i am completely new in D Programming and only want to start the example code for TK that is described on the homepage https://github.com/nomad-software/tkd. For this i have gitcloned the 3 packages tcltk tkd x11 in the folder /usr/local/GIT/. Then i run the command dub inside any single folder and build it. When i want to run the example TK D script the following results are seen - $ dmd -I/usr/local/GIT/ hw_graphical2.d hw_graphical2.d(1): Error: module tkdapplication is in file 'tkd/tkdapplication.d' which cannot be read import path[0] = /usr/local/GIT/ import path[1] = /usr/include/dmd/phobos import path[2] = /usr/include/dmd/druntime/import hans mx1:~/Documents/D_lang $ I have made something wrong with the configuration of the TKD module. Need help here to start programming with D and TK. WBR MHEYou can use d-apt <http://d-apt.sourceforge.net/> Install TkD packages: $ sudo apt-get install libtkd-dev libtkd-doc Then compile and run the example included on "libtkd-doc" package: $ dmd `pkg-config --cflags --libs tkd` -J/usr/share/libtkd-doc/example/media/ -run /usr/share/libtkd-doc/example/example.d
Jan 21 2018