compiled executable with VC++ express doesn't start
mrbook at gmail.com
mrbook at gmail.com
Sun Mar 25 19:21:30 PDT 2007
Hello,
I've been fighting with this one all day :) I've tried compiling a
wxwidgets application with Visual C++ Express from the command line
with scons and it compiles fine. But when I run the produced
executable, a window never appears. Compiling the same source from the
Visual C++ IDE interface works fine and the executable runs correctly.
Does anyone know what I may be doing wrong?
This is my linking command.
link /nologo /SUBSYSTEM:WINDOWS /MACHINE:X86 /OPT:NOWIN98 /
INCREMENTAL:NO /MANIF
EST:NO /ERRORREPORT:PROMPT /RELEASE /SUBSYSTEM:WINDOWS /MACHINE:X86 /
OPT:NOWIN98
/OUT:build\src\pocketnoise.exe /LIBPATH:build\rtaudio-3.0.3 /
LIBPATH:C:\SourceC
ode\Libraries\wxWidgets2.8\lib\vc_lib kernel32.lib user32.lib
gdi32.lib comdlg32
.lib winspool.lib winmm.lib shell32.lib comctl32.lib ole32.lib
oleaut32.lib rpcr
t4.lib uuid.lib advapi32.lib odbc32.lib odbccp32.lib wsock32.lib
rtaudio.lib dso
und.lib wxbase28.lib wxmsw28_core.lib wxbase28_xml.lib wxmsw28_adv.lib
wxmsw28_h
tml.lib wxmsw28_xrc.lib wxmsw28_qa.lib wxzlibd.lib wxpng.lib
wxjpeg.lib build\sr
c\mainapp.obj build\src\mainframe.obj build\src\mainpanel.obj build\src
\soundmod
ule.obj build\src\pocketsynth.obj build\src\pocketdrums.obj build\src
\button.obj
build\src\audioengine.obj build\src\controlspanel.obj build\src
\frames.obj buil
d\src\knob.obj build\src\label.obj build\src\modulecontrol.obj build
\src\panel.o
bj build\src\tickgenerator.obj
Thanks in advance. Cheers,
Hector
More information about the wx-users
mailing list