digitalmars.D.dwt - Cannot read Display .d > compiling hello.d
- Jack (10/10) Mar 13 2014 First of all, I'm just a very novice programmer that wants to
- Jacob Carlborg (9/18) Mar 15 2014 The compiler tries to find "org\eclipse\swt\widgets\Display.d" relative
First of all, I'm just a very novice programmer that wants to learn. I have very minimal knowledge of build paths, compilers, libraries, linkers etc... So please forgive my ignorance. I successfully built the dwt base with rdmd and tried to compile the hello world. And then this happened: http://pastebin.com/xUaDmjxf Sorry for having this noobish question when it should've been plain common sense for someone like me, but I can't really find anything related to my issue on Google or on the forums. Thank you.
Mar 13 2014
On 2014-03-14 06:34, Jack wrote:First of all, I'm just a very novice programmer that wants to learn. I have very minimal knowledge of build paths, compilers, libraries, linkers etc... So please forgive my ignorance. I successfully built the dwt base with rdmd and tried to compile the hello world. And then this happened: http://pastebin.com/xUaDmjxf Sorry for having this noobish question when it should've been plain common sense for someone like me, but I can't really find anything related to my issue on Google or on the forums.The compiler tries to find "org\eclipse\swt\widgets\Display.d" relative to where you invoke the compiler, in this case "C:\Users\J\Desktop". You need to add the DWT directory to the imports path using the -I flag. Please follow the instructions here [1], if that doesn't work then let me know. [1] https://github.com/d-widget-toolkit/dwt#building-hello-world -- /Jacob Carlborg
Mar 15 2014
On Saturday, 15 March 2014 at 11:06:43 UTC, Jacob Carlborg wrote:On 2014-03-14 06:34, Jack wrote:Thanks it worked. Now, I am trying to set the settings to integrate DWT in Code::Blocks and I have no idea to where I can set the -JPath, do you have a n idea where? Anyway, Thanks for your hard work...First of all, I'm just a very novice programmer that wants to learn. I have very minimal knowledge of build paths, compilers, libraries, linkers etc... So please forgive my ignorance. I successfully built the dwt base with rdmd and tried to compile the hello world. And then this happened: http://pastebin.com/xUaDmjxf Sorry for having this noobish question when it should've been plain common sense for someone like me, but I can't really find anything related to my issue on Google or on the forums.The compiler tries to find "org\eclipse\swt\widgets\Display.d" relative to where you invoke the compiler, in this case "C:\Users\J\Desktop". You need to add the DWT directory to the imports path using the -I flag. Please follow the instructions here [1], if that doesn't work then let me know. [1] https://github.com/d-widget-toolkit/dwt#building-hello-world
Mar 23 2014
On Sunday, 23 March 2014 at 13:46:31 UTC, Jack wrote:On Saturday, 15 March 2014 at 11:06:43 UTC, Jacob Carlborg wrote:Nvm. I found a way...On 2014-03-14 06:34, Jack wrote:Thanks it worked. Now, I am trying to set the settings to integrate DWT in Code::Blocks and I have no idea to where I can set the -JPath, do you have a n idea where? Anyway, Thanks for your hard work...First of all, I'm just a very novice programmer that wants to learn. I have very minimal knowledge of build paths, compilers, libraries, linkers etc... So please forgive my ignorance. I successfully built the dwt base with rdmd and tried to compile the hello world. And then this happened: http://pastebin.com/xUaDmjxf Sorry for having this noobish question when it should've been plain common sense for someone like me, but I can't really find anything related to my issue on Google or on the forums.The compiler tries to find "org\eclipse\swt\widgets\Display.d" relative to where you invoke the compiler, in this case "C:\Users\J\Desktop". You need to add the DWT directory to the imports path using the -I flag. Please follow the instructions here [1], if that doesn't work then let me know. [1] https://github.com/d-widget-toolkit/dwt#building-hello-world
Mar 24 2014