Re: May be a simple dub answer if my question even makes sense?

2016-09-25 Thread WhatMeWorry via Digitalmars-d-learn
On Sunday, 25 September 2016 at 00:52:26 UTC, Mike Parker wrote: On Saturday, 24 September 2016 at 16:51:47 UTC, WhatMeWorry wrote: [...] As long as they're public. Imports are private by default, meaning their symbols are only visible locally. Change it to: module derelict_libraries; pub

Re: May be a simple dub answer if my question even makes sense?

2016-09-24 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 24 September 2016 at 16:51:47 UTC, WhatMeWorry wrote: My app.d has: module app; import common.derelict_libraries; and derelict_libraries.d has: module derelict_libraries; import derelict.glfw3.glfw3; import derelict.opengl3.gl3; It's fine to import other imports, Right? As l

Re: May be a simple dub answer if my question even makes sense?

2016-09-24 Thread WhatMeWorry via Digitalmars-d-learn
On Saturday, 24 September 2016 at 06:05:11 UTC, Mike Parker wrote: On Saturday, 24 September 2016 at 02:33:22 UTC, WhatMeWorry wrote: I see that dub has all the .d import files already placed in C:\Users\Me\AppData\Roaming\dub\packages\derelict-gl3-1.0.19\derelict-gl3\source\derelict\opengl3

Re: May be a simple dub answer if my question even makes sense?

2016-09-23 Thread Mike Parker via Digitalmars-d-learn
On Saturday, 24 September 2016 at 02:33:22 UTC, WhatMeWorry wrote: I see that dub has all the .d import files already placed in C:\Users\Me\AppData\Roaming\dub\packages\derelict-gl3-1.0.19\derelict-gl3\source\derelict\opengl3 and C:\Users\Me\AppData\Roaming\dub\packages\derelict-glfw3-3.1.0\d

Re: May be a simple dub answer if my question even makes sense?

2016-09-23 Thread rikki cattermole via Digitalmars-d-learn
On 24/09/2016 2:33 PM, WhatMeWorry wrote: I have D opengl/glfw3 program that I wrote which compiles and runs fine, but I always felt it was a bit of a Visual Studio hack. So I thought I'd start anew but this time use dub from the get go. So I did dub int...etc. And put my existing code into

May be a simple dub answer if my question even makes sense?

2016-09-23 Thread WhatMeWorry via Digitalmars-d-learn
I have D opengl/glfw3 program that I wrote which compiles and runs fine, but I always felt it was a bit of a Visual Studio hack. So I thought I'd start anew but this time use dub from the get go. So I did dub int...etc. And put my existing code into the app.d file. But when I try to buil