www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - dwt-win build problem

reply Bill Baxter <dnewsgroup billbaxter.com> writes:
FYI, I was trying to build dwt-win with latest SVN Tango and latest hg 
dwt-win sources.

The README.txt in dwt-win says you should turn off DSSS's oneatatime 
setting to speed up compiles.  But after doing that I got link errors 
using DMD 1.025 / DSSS 0.75:

--------------------
dsss_objs\D\dwt-internal-Library.obj(dwt-internal-Library)
  Error 42: Symbol Undefined 
_D5tango4util7Convert10__T2toTAaZ38__T2toTlTT5tango4util7Convert7MissingZ2toFlT5tango4util7Convert7MissingZAa
dsss_objs\D\dwt-widgets-Display.obj(dwt-widgets-Display)
  Error 42: Symbol Undefined 
_D39TypeInfo_AC3dwt7widgets7Control7Control6__initZ
dsss_objs\D\dwt-widgets-Display.obj(dwt-widgets-Display)
  Error 42: Symbol Undefined 
_D36TypeInfo_AC3dwt8graphics5Point5Point6__initZ
dsss_objs\D\dwt-internal-image-TIFFRandomFileAccess.obj(dwt-internal-image-TIFFRandomFileAccess)
  Error 42: Symbol Undefined _D5tango4math4Math12__T3minTiTiZ3minFiiZi
dsss_objs\D\dwt-ole-win32-Variant.obj(dwt-ole-win32-Variant)
  Error 42: Symbol Undefined 
_D5tango4util7Convert10__T2toTAaZ38__T2toTbTT5tango4util7Convert7MissingZ2toFbT5tango4util7Convert7MissingZAa
dsss_objs\D\dwt-widgets-Shell.obj(dwt-widgets-Shell)
  Error 42: Symbol Undefined _D5tango4math4Math12__T3minTkTkZ3minFkkZk
--- errorlevel 6
Command f:\usr\pkg\d\dsss\bin\rebuild.exe returned with code -1, aborting.
Error: Command failed, aborting.
--------------------

Turning oneatatime back on fixed the problem.  So I think maybe the 
README shouldn't be recommending changing this setting.  Or maybe it can 
offer it as a hint to speed up building the lib, but then say it should 
be set back to "oneatatime: yes" after the lib is built.

--bb
Feb 13 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Bill Baxter schrieb:
 Turning oneatatime back on fixed the problem.  So I think maybe the 
 README shouldn't be recommending changing this setting.  Or maybe it can 
 offer it as a hint to speed up building the lib, but then say it should 
 be set back to "oneatatime: yes" after the lib is built.
 
 --bb
Did you gave it exactly one try? I use dsss only with oneatatime=off all the time. What happens sometimes is, that strange linker error occur. Then i restart dsss with -full and everything is fine. Does that also work for you?
Feb 13 2008
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Frank Benoit wrote:
 Bill Baxter schrieb:
 Turning oneatatime back on fixed the problem.  So I think maybe the 
 README shouldn't be recommending changing this setting.  Or maybe it 
 can offer it as a hint to speed up building the lib, but then say it 
 should be set back to "oneatatime: yes" after the lib is built.

 --bb
Did you gave it exactly one try? I use dsss only with oneatatime=off all the time. What happens sometimes is, that strange linker error occur. Then i restart dsss with -full and everything is fine. Does that also work for you?
I did multiple cycles of dsss clean dsss build And the error never went away. I didn't try dsss -full. If the -full trick works, then it should be mentioned in the README. --bb
Feb 13 2008
parent reply Frank Benoit <keinfarbton googlemail.com> writes:
Bill Baxter schrieb:
 I didn't try dsss -full.
 If the -full trick works, then it should be mentioned in the README.
ok Please let me know if it worked for you.
Feb 13 2008
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Frank Benoit wrote:
 Bill Baxter schrieb:
 I didn't try dsss -full.
 If the -full trick works, then it should be mentioned in the README.
ok Please let me know if it worked for you.
Yes. This worked: Please put that in the README or give me (baxissimo) write access and I'll do it. --bb
Feb 13 2008
parent John Reimer <terminal.node gmail.com> writes:
Bill Baxter wrote:
 Frank Benoit wrote:
 Bill Baxter schrieb:
 I didn't try dsss -full.
 If the -full trick works, then it should be mentioned in the README.
ok Please let me know if it worked for you.
Yes. This worked: Please put that in the README or give me (baxissimo) write access and I'll do it. --bb
I've made the change. Feel free to use the Trac ticket system too. That way, we should get email notification when a bug or defect is reported. -JJR
Feb 13 2008