SourceForge has been redesigned. Learn more.
Close

#30 minimal example does not run properly

open
nobody
None
5
2009-04-27
2009-04-27
M P
No

I have tried to compile a minimal example.

my command line was
D:\standalone\dmd\bin\dmd.exe D:\libs\wxd\wxd\Samples\minimal\minimal.d -ID:\libs\wxd\wxd\ D:\libs\wxd\wxc.lib D:\libs\wxd\wxd.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxbase28d.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxbase28d_net.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxbase28d_odbc.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxbase28d_xml.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxexpatd.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxjpegd.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_adv.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_aui.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_core.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_dbgrid.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_html.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_media.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_qa.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_richtext.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxmsw28d_xrc.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxpngd.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxregexd.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxtiffd.lib K:\wxWidgets-2.8.10\lib\dmc_lib\wxzlibd.lib kernel32.lib user32.lib gdi32.lib comdlg32.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib oleaut32.lib uuid.lib rpcrt4.lib advapi32.lib wsock32.lib odbc32.lib -g -debug

I downloaded the precompiled version http://downloads.sourceforge.net/wxd/wxmsw287-wxd_lib.zip

The problem is that no window comes up...

Please could you tell me what is wrong?

Discussion

  • Anders F Björklund

    You could try the Makefile instead, it should have the necessary flags (afaik).

    cd Samples/Minimal
    make

     
  • M P

    M P - 2009-04-27

    I have tried the makefile.
    I got the same result.
    D:\libs\wxd\wxd\Samples\Minimal>Minimal.exe

    D:\libs\wxd\wxd\Samples\Minimal>
    No window. When I used ddbg... I got access violation in app.cpp contructor.

     
  • M P

    M P - 2009-04-27

    I have recompiled it now...
    Using make at the root.
    No change.

     
  • M P

    M P - 2009-04-27

    I mean I recompiled wxc and wxd.

     

Log in to post a comment.