|
Archives
D Programming
DD.gnu digitalmars.D digitalmars.D.bugs digitalmars.D.dtl digitalmars.D.ide digitalmars.D.dwt digitalmars.D.announce digitalmars.D.learn digitalmars.D.debugger C/C++ Programming
c++c++.announce c++.atl c++.beta c++.chat c++.command-line c++.dos c++.dos.16-bits c++.dos.32-bits c++.idde c++.mfc c++.rtl c++.stl c++.stl.hp c++.stl.port c++.stl.sgi c++.stlsoft c++.windows c++.windows.16-bits c++.windows.32-bits c++.wxwindows digitalmars.empire digitalmars.DMDScript electronics |
digitalmars.D.dwt - dwt-win build error
Trying to compile simple.d, but got some errors: .\dwt-widgets-Display.obj(dwt-widgets-Display) Error 42: Symbol Undefined _IsHungAppWindow 4 .\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) Error 42: Symbol Undefined _GetSystemDefaultUILanguage 0 Feb 29 2008
Simen Haugen schrieb:Trying to compile simple.d, but got some errors: ..\dwt-widgets-Display.obj(dwt-widgets-Display) Error 42: Symbol Undefined _IsHungAppWindow 4 ..\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) Error 42: Symbol Undefined _GetSystemDefaultUILanguage 0 Feb 29 2008
Gives the same error. I'm using dsss 0.75, dmd 1.025, tango rev 3317 and dwt rev 172. "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8p3v$qd5$1 digitalmars.com...Simen Haugen schrieb:Trying to compile simple.d, but got some errors: ..\dwt-widgets-Display.obj(dwt-widgets-Display) Error 42: Symbol Undefined _IsHungAppWindow 4 ..\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) Error 42: Symbol Undefined _GetSystemDefaultUILanguage 0 Feb 29 2008
Simen Haugen schrieb:Gives the same error. I'm using dsss 0.75, dmd 1.025, tango rev 3317 and dwt rev 172. "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8p3v$qd5$1 digitalmars.com...Simen Haugen schrieb:Trying to compile simple.d, but got some errors: ..\dwt-widgets-Display.obj(dwt-widgets-Display) Error 42: Symbol Undefined _IsHungAppWindow 4 ..\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) Error 42: Symbol Undefined _GetSystemDefaultUILanguage 0 Feb 29 2008
Yup. Still the same error "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8vq8$1lnp$1 digitalmars.com...Simen Haugen schrieb:Gives the same error. I'm using dsss 0.75, dmd 1.025, tango rev 3317 and dwt rev 172. "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8p3v$qd5$1 digitalmars.com...Simen Haugen schrieb:Trying to compile simple.d, but got some errors: ..\dwt-widgets-Display.obj(dwt-widgets-Display) Error 42: Symbol Undefined _IsHungAppWindow 4 ..\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) Error 42: Symbol Undefined _GetSystemDefaultUILanguage 0 Feb 29 2008
Simen Haugen wrote:Yup. Still the same error "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8vq8$1lnp$1 digitalmars.com...Simen Haugen schrieb:Gives the same error. I'm using dsss 0.75, dmd 1.025, tango rev 3317 and dwt rev 172. "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8p3v$qd5$1 digitalmars.com...Simen Haugen schrieb:Trying to compile simple.d, but got some errors: ..\dwt-widgets-Display.obj(dwt-widgets-Display) Error 42: Symbol Undefined _IsHungAppWindow 4 ..\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) Error 42: Symbol Undefined _GetSystemDefaultUILanguage 0 Feb 29 2008
Great, thanks a lot. It works now. "John Reimer" <terminal.node gmail.com> wrote in message news:fq93t8$2avv$1 digitalmars.com...Simen Haugen wrote:Yup. Still the same error "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8vq8$1lnp$1 digitalmars.com...Simen Haugen schrieb:Gives the same error. I'm using dsss 0.75, dmd 1.025, tango rev 3317 and dwt rev 172. "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8p3v$qd5$1 digitalmars.com...Simen Haugen schrieb:Trying to compile simple.d, but got some errors: ..\dwt-widgets-Display.obj(dwt-widgets-Display) Error 42: Symbol Undefined _IsHungAppWindow 4 ..\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) Error 42: Symbol Undefined _GetSystemDefaultUILanguage 0 Feb 29 2008
yidabu schrieb:Terrible speed to build dwt.lib I'm using DSSS to build dwt.lib, one hour passed, but it's not finished yet. Mar 01 2008
I've followed the suggestions in this thread and the suggestions on the installation page. And some combinations thereof. Regardless of how I build dwt-win, and regardless of how I build it (dsss, rebuild, by hand) or the test application simple.d or the one off the wiki, I still get linker errors for Win32 API functions. Finally, I used lib -l to get a text listing of all the functions in user32.lib and searched for the string "IsHungAppWindow" in the list file, as it was the first on the list of not-founds. The problem for me does not appear to be that the tool chain can't find the library for whatever reason, but that the function isn't in the library for whatever reason. This is using the libraries that come with DMC v8.50. Any suggestions on what to try next? Mar 16 2008
And I just solved my own problem, and here's how: The import libraries provided on the installation web page contain a user32.lib with the functions the linker isn't finding in it. Originally I only installed the libraries from that file that I didn't already have. However, after trying to link it with just the DMC version, just the dwt-win-imports version, and both together, I found that both versions of the library are required to complete the linking step without error. Perhaps the installation docs could be updated to inform people that the libs provided there are required to supplement the existing Win32 libraries provided with DMC? Mar 16 2008
Tim Healey wrote:And I just solved my own problem, and here's how: The import libraries provided on the installation web page contain a user32.lib with the functions the linker isn't finding in it. Originally I only installed the libraries from that file that I didn't already have. However, after trying to link it with just the DMC version, just the dwt-win-imports version, and both together, I found that both versions of the library are required to complete the linking step without error. Mar 16 2008
Tim Healey wrote:And I just solved my own problem, and here's how: The import libraries provided on the installation web page contain a user32.lib with the functions the linker isn't finding in it. Originally I only installed the libraries from that file that I didn't already have. However, after trying to link it with just the DMC version, just the dwt-win-imports version, and both together, I found that both versions of the library are required to complete the linking step without error. Mar 16 2008
John Reimer wrote:Tim Healey wrote:And I just solved my own problem, and here's how: The import libraries provided on the installation web page contain a user32.lib with the functions the linker isn't finding in it. Originally I only installed the libraries from that file that I didn't already have. However, after trying to link it with just the DMC version, just the dwt-win-imports version, and both together, I found that both versions of the library are required to complete the linking step without error. Mar 16 2008
Simen Haugen wrote:Great, thanks a lot. It works now. Mar 01 2008
On Sun, 02 Mar 2008 08:48:43 +0800, yidabu wrote:Thanks, works fine. I changed: oneatatime=yes to : oneatatime=no Is oneatatime=off same as oneatatime=no ? I not tested yet. any one know this? On Sat, 01 Mar 2008 10:25:09 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:Terrible speed to build dwt.lib I'm using DSSS to build dwt.lib, one hour passed, but it's not finished yet. Mar 01 2008
I had to use no. If I used off, it still compiled file-by-file "Jesse Phillips" <jessekphillips gmail.com> wrote in message news:fqctnn$fp7$1 digitalmars.com...On Sun, 02 Mar 2008 08:48:43 +0800, yidabu wrote:Thanks, works fine. I changed: oneatatime=yes to : oneatatime=no Is oneatatime=off same as oneatatime=no ? I not tested yet. any one know this? On Sat, 01 Mar 2008 10:25:09 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:Terrible speed to build dwt.lib I'm using DSSS to build dwt.lib, one hour passed, but it's not finished yet. Mar 04 2008
Terrible speed to build dwt.lib I'm using DSSS to build dwt.lib, one hour passed, but it's not finished yet. On Fri, 29 Feb 2008 15:22:49 +0100 "Simen Haugen" <simen norstat.no> wrote:Great, thanks a lot. It works now. "John Reimer" <terminal.node gmail.com> wrote in message news:fq93t8$2avv$1 digitalmars.com...Simen Haugen wrote:Yup. Still the same error "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8vq8$1lnp$1 digitalmars.com...Simen Haugen schrieb:Gives the same error. I'm using dsss 0.75, dmd 1.025, tango rev 3317 and dwt rev 172. "Frank Benoit" <keinfarbton googlemail.com> wrote in message news:fq8p3v$qd5$1 digitalmars.com...Simen Haugen schrieb:Trying to compile simple.d, but got some errors: ..\dwt-widgets-Display.obj(dwt-widgets-Display) Error 42: Symbol Undefined _IsHungAppWindow 4 ..\dwt-internal-win32-OS.obj(dwt-internal-win32-OS) Error 42: Symbol Undefined _GetSystemDefaultUILanguage 0 Mar 01 2008
Thanks, works fine. I changed: oneatatime=yes to : oneatatime=no Is oneatatime=off same as oneatatime=no ? I not tested yet. any one know this? On Sat, 01 Mar 2008 10:25:09 +0100 Frank Benoit <keinfarbton googlemail.com> wrote:yidabu schrieb:Terrible speed to build dwt.lib I'm using DSSS to build dwt.lib, one hour passed, but it's not finished yet. Mar 01 2008
|