Thread overview
dwt-samples: my dsss.conf changes
Feb 21, 2008
Dan Dennedy
Feb 21, 2008
Dan Dennedy
Feb 21, 2008
Jesse Phillips
Feb 21, 2008
Bill Baxter
Feb 21, 2008
Jacob Carlborg
Feb 21, 2008
Bill Baxter
Feb 21, 2008
Jesse Phillips
Feb 21, 2008
Dan Dennedy
Feb 21, 2008
Jesse Phillips
Feb 22, 2008
John Reimer
February 21, 2008
Hi,
I am just getting going with dwt-linux (and with only brief experience with
D and Tango). I followed all directions, but I had to make a couple of
small changes to dwt-samples/dsss.conf to build completely. I had to
comment out the following.

# The linker error work around
version(linux){
    buildflags+= -L-lDD-tango-util
}

Is that normal?

I have no libDD-tango-util on my system. I don't have DD-tango-anything. I am using Tango from SVN from a checkout yesterday. And, I get no linker errors. Is this just for older/release Tangos?

Secondly, I commented out
[snippets/opengl_test1.d]
due to something about GLCanvas. I can regenerate the exact error if you
need it. I do have OpenGL here. Able to run glxgears, compiz, and the sort.

Other than that, it seems to work fine. I ran all the examples and kicked the tires, and they all seem to be inflated!

February 21, 2008
Dan Dennedy wrote:
> Hi,
> I am just getting going with dwt-linux (and with only brief experience
> with D and Tango). I followed all directions, but I had to make a couple
> of small changes to dwt-samples/dsss.conf to build completely.
[...]
> Secondly, I commented out
> [snippets/opengl_test1.d]
> due to something about GLCanvas. I can regenerate the exact error if you

Don't you love it when posters respond to themself?
I just read snippets/Readme.txt, and no, I did not have DerelictGL(U). You
might want to leave that out of the default dsss build.
Lovin' it so far, guys!
February 21, 2008
On Thu, 21 Feb 2008 11:36:48 -0800, Dan Dennedy wrote:

> Hi,
> I am just getting going with dwt-linux (and with only brief experience
> with D and Tango). I followed all directions, but I had to make a couple
> of small changes to dwt-samples/dsss.conf to build completely. I had to
> comment out the following.
> 
> # The linker error work around
> version(linux){
>     buildflags+= -L-lDD-tango-util
> }
> 
> Is that normal?
> 
> I have no libDD-tango-util on my system. I don't have DD-tango-anything. I am using Tango from SVN from a checkout yesterday. And, I get no linker errors. Is this just for older/release Tangos?
> 
> Secondly, I commented out
> [snippets/opengl_test1.d]
> due to something about GLCanvas. I can regenerate the exact error if you
> need it. I do have OpenGL here. Able to run glxgears, compiz, and the
> sort.
> 
> Other than that, it seems to work fine. I ran all the examples and kicked the tires, and they all seem to be inflated!

Interesting you don't have DD-tango-util. The SVN version ie not Tango Frank, has made changes to the library structure. tango-user-dmd has been removed and they split the library into many DD ones. If you have the latest DWT then it shouldn't be able to compile with the old Tango. If you are using GDC it may be different. So I really don't have any help but that has been my understanding of the situation.
February 21, 2008
Jesse Phillips wrote:
> On Thu, 21 Feb 2008 11:36:48 -0800, Dan Dennedy wrote:
> 
>> Hi,
>> I am just getting going with dwt-linux (and with only brief experience
>> with D and Tango). I followed all directions, but I had to make a couple
>> of small changes to dwt-samples/dsss.conf to build completely. I had to
>> comment out the following.
>>
>> # The linker error work around
>> version(linux){
>>     buildflags+= -L-lDD-tango-util
>> }
>>
>> Is that normal?
>>
>> I have no libDD-tango-util on my system. I don't have DD-tango-anything.
>> I am using Tango from SVN from a checkout yesterday. And, I get no
>> linker errors. Is this just for older/release Tangos?
>>
>> Secondly, I commented out
>> [snippets/opengl_test1.d]
>> due to something about GLCanvas. I can regenerate the exact error if you
>> need it. I do have OpenGL here. Able to run glxgears, compiz, and the
>> sort.
>>
>> Other than that, it seems to work fine. I ran all the examples and
>> kicked the tires, and they all seem to be inflated!
> 
> Interesting you don't have DD-tango-util. The SVN version ie not Tango Frank, has made changes to the library structure. tango-user-dmd has been removed and they split the library into many DD ones. If you have the latest DWT then it shouldn't be able to compile with the old Tango. If you are using GDC it may be different. So I really don't have any help but that has been my understanding of the situation.

The DD-* libs are made by DSSS.  That's just the way DSSS does things. I don't think anything has changed with the tango-user-dmd.lib situation for the case of not using DSSS.

--bb
February 21, 2008
Bill Baxter wrote:
> Jesse Phillips wrote:
>> On Thu, 21 Feb 2008 11:36:48 -0800, Dan Dennedy wrote:
>>
>>> Hi,
>>> I am just getting going with dwt-linux (and with only brief experience
>>> with D and Tango). I followed all directions, but I had to make a couple
>>> of small changes to dwt-samples/dsss.conf to build completely. I had to
>>> comment out the following.
>>>
>>> # The linker error work around
>>> version(linux){
>>>     buildflags+= -L-lDD-tango-util
>>> }
>>>
>>> Is that normal?
>>>
>>> I have no libDD-tango-util on my system. I don't have DD-tango-anything.
>>> I am using Tango from SVN from a checkout yesterday. And, I get no
>>> linker errors. Is this just for older/release Tangos?
>>>
>>> Secondly, I commented out
>>> [snippets/opengl_test1.d]
>>> due to something about GLCanvas. I can regenerate the exact error if you
>>> need it. I do have OpenGL here. Able to run glxgears, compiz, and the
>>> sort.
>>>
>>> Other than that, it seems to work fine. I ran all the examples and
>>> kicked the tires, and they all seem to be inflated!
>>
>> Interesting you don't have DD-tango-util. The SVN version ie not Tango Frank, has made changes to the library structure. tango-user-dmd has been removed and they split the library into many DD ones. If you have the latest DWT then it shouldn't be able to compile with the old Tango. If you are using GDC it may be different. So I really don't have any help but that has been my understanding of the situation.
> 
> The DD-* libs are made by DSSS.  That's just the way DSSS does things. I don't think anything has changed with the tango-user-dmd.lib situation for the case of not using DSSS.
> 
> --bb

Exactly, didn't they just changed to tango-user-dmd.lib?
February 21, 2008
On Fri, 22 Feb 2008 06:57:48 +0900, Bill Baxter wrote:

> Jesse Phillips wrote:
>> On Thu, 21 Feb 2008 11:36:48 -0800, Dan Dennedy wrote:
>> 
>>> Hi,
>>> I am just getting going with dwt-linux (and with only brief experience
>>> with D and Tango). I followed all directions, but I had to make a
>>> couple of small changes to dwt-samples/dsss.conf to build completely.
>>> I had to comment out the following.
>>>
>>> # The linker error work around
>>> version(linux){
>>>     buildflags+= -L-lDD-tango-util
>>> }
>>>
>>> Is that normal?
>>>
>>> I have no libDD-tango-util on my system. I don't have DD-tango-anything. I am using Tango from SVN from a checkout yesterday. And, I get no linker errors. Is this just for older/release Tangos?
>>>
>>> Secondly, I commented out
>>> [snippets/opengl_test1.d]
>>> due to something about GLCanvas. I can regenerate the exact error if
>>> you need it. I do have OpenGL here. Able to run glxgears, compiz, and
>>> the sort.
>>>
>>> Other than that, it seems to work fine. I ran all the examples and kicked the tires, and they all seem to be inflated!
>> 
>> Interesting you don't have DD-tango-util. The SVN version ie not Tango Frank, has made changes to the library structure. tango-user-dmd has been removed and they split the library into many DD ones. If you have the latest DWT then it shouldn't be able to compile with the old Tango. If you are using GDC it may be different. So I really don't have any help but that has been my understanding of the situation.
> 
> The DD-* libs are made by DSSS.  That's just the way DSSS does things. I don't think anything has changed with the tango-user-dmd.lib situation for the case of not using DSSS.
> 
> --bb

Ahh, ok, it all makes sense now. I stated by using the Frank bundle, that was no longer usable because dwt used svn with the changes it made. This lead to me not getting the installs to work from the svn version, but getting it to work with dsss. Which leads into why there is a linking problem, with a DSSS installed tango (which won't be there otherwise). Which means this can get really complicated. Since there was a change in Tango I associated my new split libraries to one of the changes Tango was making.
February 21, 2008
Bill Baxter wrote:
> Jesse Phillips wrote:
>> On Thu, 21 Feb 2008 11:36:48 -0800, Dan Dennedy wrote:
>> 
>>> Hi,
>>> I am just getting going with dwt-linux (and with only brief experience
>>> with D and Tango). I followed all directions, but I had to make a couple
>>> of small changes to dwt-samples/dsss.conf to build completely. I had to
>>> comment out the following.
>>>
>>> # The linker error work around
>>> version(linux){
>>>     buildflags+= -L-lDD-tango-util
>>> }
>>>
>>> Is that normal?
>>>
>>> I have no libDD-tango-util on my system. I don't have DD-tango-anything. I am using Tango from SVN from a checkout yesterday. And, I get no linker errors. Is this just for older/release Tangos?
>>>
>> 
>> Interesting you don't have DD-tango-util. The SVN version ie not Tango Frank, has made changes to the library structure. tango-user-dmd has been removed and they split the library into many DD ones. If you have the latest DWT then it shouldn't be able to compile with the old Tango. If you are using GDC it may be different. So I really don't have any help but that has been my understanding of the situation.
> 
> The DD-* libs are made by DSSS.  That's just the way DSSS does things. I don't think anything has changed with the tango-user-dmd.lib situation for the case of not using DSSS.

Correct. I did not use dsss. I did a manual build and install using the scripts.

February 21, 2008
On Thu, 21 Feb 2008 14:59:40 -0800, Dan Dennedy wrote:

> Bill Baxter wrote:
>> Jesse Phillips wrote:
>>> On Thu, 21 Feb 2008 11:36:48 -0800, Dan Dennedy wrote:
>>> 
>>>> Hi,
>>>> I am just getting going with dwt-linux (and with only brief
>>>> experience with D and Tango). I followed all directions, but I had to
>>>> make a couple of small changes to dwt-samples/dsss.conf to build
>>>> completely. I had to comment out the following.
>>>>
>>>> # The linker error work around
>>>> version(linux){
>>>>     buildflags+= -L-lDD-tango-util
>>>> }
>>>>
>>>> Is that normal?
>>>>
>>>> I have no libDD-tango-util on my system. I don't have DD-tango-anything. I am using Tango from SVN from a checkout yesterday. And, I get no linker errors. Is this just for older/release Tangos?
>>>>
>>>>
>>> Interesting you don't have DD-tango-util. The SVN version ie not Tango Frank, has made changes to the library structure. tango-user-dmd has been removed and they split the library into many DD ones. If you have the latest DWT then it shouldn't be able to compile with the old Tango. If you are using GDC it may be different. So I really don't have any help but that has been my understanding of the situation.
>> 
>> The DD-* libs are made by DSSS.  That's just the way DSSS does things. I don't think anything has changed with the tango-user-dmd.lib situation for the case of not using DSSS.
> 
> Correct. I did not use dsss. I did a manual build and install using the scripts.

I'm going to install a linux on vmware and try different install configurations, see what works and doesn't. But you are correct in that the add library is not needed on your installation. If dsss would correctly identify that library it would not be needed by any install.
February 21, 2008
Jacob Carlborg wrote:
> Bill Baxter wrote:
>> Jesse Phillips wrote:
>>> On Thu, 21 Feb 2008 11:36:48 -0800, Dan Dennedy wrote:
>>>
>>>> Hi,
>>>> I am just getting going with dwt-linux (and with only brief experience
>>>> with D and Tango). I followed all directions, but I had to make a couple
>>>> of small changes to dwt-samples/dsss.conf to build completely. I had to
>>>> comment out the following.
>>>>
>>>> # The linker error work around
>>>> version(linux){
>>>>     buildflags+= -L-lDD-tango-util
>>>> }
>>>>
>>>> Is that normal?
>>>>
>>>> I have no libDD-tango-util on my system. I don't have DD-tango-anything.
>>>> I am using Tango from SVN from a checkout yesterday. And, I get no
>>>> linker errors. Is this just for older/release Tangos?
>>>>
>>>> Secondly, I commented out
>>>> [snippets/opengl_test1.d]
>>>> due to something about GLCanvas. I can regenerate the exact error if you
>>>> need it. I do have OpenGL here. Able to run glxgears, compiz, and the
>>>> sort.
>>>>
>>>> Other than that, it seems to work fine. I ran all the examples and
>>>> kicked the tires, and they all seem to be inflated!
>>>
>>> Interesting you don't have DD-tango-util. The SVN version ie not Tango Frank, has made changes to the library structure. tango-user-dmd has been removed and they split the library into many DD ones. If you have the latest DWT then it shouldn't be able to compile with the old Tango. If you are using GDC it may be different. So I really don't have any help but that has been my understanding of the situation.
>>
>> The DD-* libs are made by DSSS.  That's just the way DSSS does things. I don't think anything has changed with the tango-user-dmd.lib situation for the case of not using DSSS.
>>
>> --bb
> 
> Exactly, didn't they just changed to tango-user-dmd.lib?

Nothing has changed that I know of.
If you build with DSSS you get DD-*.lib.
If you build using the build-*.bat batch files in tango\lib you get tango-*-dmd.lib.

If anything has changed, it could be the libs they ship precompiled in the .zip packages.  But I dunno about that.

--bb
February 22, 2008
Dan Dennedy wrote:

> Secondly, I commented out
> [snippets/opengl_test1.d]
> due to something about GLCanvas. I can regenerate the exact error if you
> need it. I do have OpenGL here. Able to run glxgears, compiz, and the sort. 
> 
> Other than that, it seems to work fine. I ran all the examples and kicked
> the tires, and they all seem to be inflated!
> 


The opengl test does not work on Linux yet because I haven't yet added DWT/Derelict support yet for Linux (it works on DWT-win, however).  ETA for completion of DWT-Linux opengl support is this weekend.

My local repository actually has a working OpenGL example for linux... but I have to modify a few more things to get Derelict support working.  Since Derelict has the most comprehensive interface to OpenGL, I think it's important to get it working with DWT, even if takes longer.

Coming soon! :)

-JJR