List Info

Thread: Compiling Sample Project in Windows XP




Compiling Sample Project in Windows XP
user name
2006-03-22 14:41:57
At 19:36 21/03/2006, you wrote:
>Is there a complete turorial on how to set up DialogBlocks in WindowsXP ?

The relevant info is in "How to.../How to compile and run your project" in
the manual.

>I have wxWidgets 2.4.4 and 2.6.2 in two separate folders, but the Acme
>saple project doesn't compile.
>Error log:
>
>In directory: C:\Program Files\DialogBlocks\Samples\Acme
>nmake /nologo -f makefile.vc CONFIG=debug clean all
>    ;     if exist DebugMSW\*.obj del DebugMSW\*.obj
>    ;     if exist DebugMSW\*.res del DebugMSW\*.res
>    ;     if exist DebugMSW\Acme.exe del DebugMSW\Acme.exe
>         if exist DebugMSW\Acme.ilk del DebugMSW\Acme.ilk
>         if exist DebugMSW\Acme.pdb del DebugMSW\Acme.pdb
>         if not exist DebugMSW mkdir DebugMSW
>     ;    cl.exe /c /nologo /TP /FoDebugMSW\newproject.obj /DNOPCH /DWIN32
>/D__WXMSW__ /D_WINDOWS /D__WXDEBUG__ /D_DEBUG /Zi /MDd /Od /GR /W4
>/I"C:\wx/include" /I"C:\wx/contrib/include" /I"C:\wx/lib/mswd"
>/I"C:\Program Files\Microsoft Visual Studio\vc98\include" newproject.cpp
>newproject.cpp
>newproject.cpp(118) : error C2065: 'wxCHK_2STATE' : undeclared identifier
>newproject.cpp(173) : error C2065: 'wxUnusedVar' : undeclared identifier
>*** NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'

Sorry, wxCHK_2STATE isn't in 2.4 or 2.6; please uncheck it and I'll
do likewise for the next release.

Regards,

Julian



Compiling Sample Project in Windows XP
user name
2006-03-22 14:55:17
>The relevant info is in "How to.../How to compile and run your project" in
>the manual.

Where's that manual ?
Anyways, I changed some things in the configuration and now everything's working fine. I've also made a project of my own, created a dsw project, debugged it in MVS and got it to work everywhere. Dialog Blocks is just what I need !!!! My sincere  thanks to the people that created it.

See ya !!
Fabian



On 3/22/06, Julian Smart <anthemion.co.uk">juliananthemion.co.uk> wrote:
At 19:36 21/03/2006, you wrote:
&gt;Is there a complete turorial on how to set up DialogBlocks in WindowsXP ?

The relevant info is in "How to.../How to compile and run your project&quot; in
the manual.

>I have wxWidgets 2.4.4 and 2.6.2 in two separate folders, but the Acme
>saple project doesn't compile.
>Error log:
>
>In directory: C:\Program Files\DialogBlocks\Samples\Acme
>nmake /nologo -f makefile.vc CONFIG=debug clean all
>&nbsp;   ; &nbsp; &nbsp; if exist DebugMSW\*.obj del DebugMSW\*.obj
>&nbsp;   ; &nbsp; &nbsp; if exist DebugMSW\*.res del DebugMSW\*.res
>&nbsp;   ; &nbsp; &nbsp; if exist DebugMSW\Acme.exe del DebugMSW\Acme.exe
&gt; &nbsp; &nbsp; &nbsp;   if exist DebugMSW\Acme.ilk del DebugMSW\Acme.ilk
&gt; &nbsp; &nbsp; &nbsp;   if exist DebugMSW\Acme.pdb del DebugMSW\Acme.pdb
&gt; &nbsp; &nbsp; &nbsp;   if not exist DebugMSW mkdir DebugMSW
> &nbsp;   ; &nbsp;  cl.exe /c /nologo /TP /FoDebugMSW\newproject.obj /DNOPCH /DWIN32
&gt;/D__WXMSW__ /D_WINDOWS /D__WXDEBUG__ /D_DEBUG /Zi /MDd /Od /GR /W4
>/I"C:\wx/include&quot; /I"C:\wx/contrib/include&quot; /I"C:\wx/lib/mswd"
&gt;/I"C:\Program Files\Microsoft Visual Studio\vc98\include&quot; newproject.cpp
>newproject.cpp
>newproject.cpp(118) : error C2065: 'wxCHK_2STATE' : undeclared identifier
>newproject.cpp(173) : error C2065: 'wxUnusedVar' : undeclared identifier
>*** NMAKE : fatal error U1077: 'cl.exe' : return code '0x2'

Sorry, wxCHK_2STATE isn't in 2.4 or 2.6; please uncheck it and I'll
do likewise for the next release.

Regards,

Julian





YAHOO! GROUPS LINKS




[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )