From: "mark" on
Hi all,

Im trying to build a fresh copy of wxwidgets from CVS under WinXP with VC8.

Ive followed the buildcvs.txt instructions (ie, copy setup0.h to setup.h and
edit) and then run my normal make command, but it fails with:

E:\wx-cvs\build\msw>nmake -fmakefile.vc MONOLITHIC=0 SHARED=1 RUNTIME_LIBS=dynamic BUILD=release

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation. All rights reserved.

cl /c /nologo /TC /Fovc_mswdll\wxregex_regcomp.obj /MD /DWIN32 /Fd..\..\lib\vc_dll\wxregex.pdb /O2 /I..\..\include /I..\..\lib\vc_dll\msw /D__WXMSW__ ..\..\src\regex\regcomp.c
regcomp.c ..\..\include\wx/chkconf.h(88) : fatal error C1189: #error : "wxUSE_BACKINGFILE must be defined."
NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
Stop.

Whats wrong here?
wxUSE_BACKINGFILE is defined in the setup.h file.
So it seems setup.h file isnt being included?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org

From: Michael Wetherell on
On Tuesday 24 Oct 2006 19:14, mark wrote:
> Im trying to build a fresh copy of wxwidgets from CVS under WinXP
> with VC8.
>
> Ive followed the buildcvs.txt instructions (ie, copy setup0.h to
> setup.h and edit) and then run my normal make command, but it fails
> with:
>
> E:\wx-cvs\build\msw>nmake -fmakefile.vc MONOLITHIC=0 SHARED=1
> RUNTIME_LIBS=dynamic BUILD=release
>
> Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cl /c /nologo /TC /Fovc_mswdll\wxregex_regcomp.obj /MD
> /DWIN32 /Fd..\..\lib\vc_dll\wxregex.pdb /O2 /I..\..\include
> /I..\..\lib\vc_dll\msw /D__WXMSW__ ..\..\src\regex\regcomp.c
> regcomp.c ..\..\include\wx/chkconf.h(88) : fatal error C1189: #error
> : "wxUSE_BACKINGFILE must be defined." NMAKE : fatal error U1077:
> '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return
> code '0x2' Stop.
>
> Whats wrong here?
> wxUSE_BACKINGFILE is defined in the setup.h file.
> So it seems setup.h file isnt being included?

Hi,

Is there an existing lib/vc_dll/msw/wx/setup.h too?

Regards,
Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org

From: Julian Smart on
You need to remove lib/vc_dll first, otherwise the new setup.h won't be
copied there.

Regards,

Julian

mark wrote:
> Hi all,
>
> Im trying to build a fresh copy of wxwidgets from CVS under WinXP with VC8.
>
> Ive followed the buildcvs.txt instructions (ie, copy setup0.h to setup.h and
> edit) and then run my normal make command, but it fails with:
>
> E:\wx-cvs\build\msw>nmake -fmakefile.vc MONOLITHIC=0 SHARED=1 RUNTIME_LIBS=dynamic BUILD=release
>
> Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> Copyright (C) Microsoft Corporation. All rights reserved.
>
> cl /c /nologo /TC /Fovc_mswdll\wxregex_regcomp.obj /MD /DWIN32 /Fd..\..\lib\vc_dll\wxregex.pdb /O2 /I..\..\include /I..\..\lib\vc_dll\msw /D__WXMSW__ ..\..\src\regex\regcomp.c
> regcomp.c ..\..\include\wx/chkconf.h(88) : fatal error C1189: #error : "wxUSE_BACKINGFILE must be defined."
> NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return code '0x2'
> Stop.
>
> Whats wrong here?
> wxUSE_BACKINGFILE is defined in the setup.h file.
> So it seems setup.h file isnt being included?
>
> Thanks.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
>
>
>
>


--
Julian Smart, Anthemion Software Ltd.
28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
www.anthemion.co.uk | +44 (0)131 229 5306
Tools for writers: www.writerscafe.co.uk
wxWidgets RAD: www.anthemion.co.uk/dialogblocks


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org

From: "mark" on
> On Tuesday 24 Oct 2006 19:14, mark wrote:
> > Im trying to build a fresh copy of wxwidgets from CVS under WinXP
> > with VC8.
> >
> > Ive followed the buildcvs.txt instructions (ie, copy setup0.h to
> > setup.h and edit) and then run my normal make command, but it fails
> > with:
> >
> > E:\wx-cvs\build\msw>nmake -fmakefile.vc MONOLITHIC=0 SHARED=1
> > RUNTIME_LIBS=dynamic BUILD=release
> >
> > Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > cl /c /nologo /TC /Fovc_mswdll\wxregex_regcomp.obj /MD
> > /DWIN32 /Fd..\..\lib\vc_dll\wxregex.pdb /O2 /I..\..\include
> > /I..\..\lib\vc_dll\msw /D__WXMSW__ ..\..\src\regex\regcomp.c
> > regcomp.c ..\..\include\wx/chkconf.h(88) : fatal error C1189: #error
> > : "wxUSE_BACKINGFILE must be defined." NMAKE : fatal error U1077:
> > '"D:\applications\Microsoft Visual Studio 8\VC\BIN\cl.EXE"' : return
> > code '0x2' Stop.
> >
> > Whats wrong here?
> > wxUSE_BACKINGFILE is defined in the setup.h file.
> > So it seems setup.h file isnt being included?
>
> Hi,
>
> Is there an existing lib/vc_dll/msw/wx/setup.h too?

Yes there is.

Mark.

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org

From: "mark" on
> You need to remove lib/vc_dll first, otherwise the new setup.h won't be
> copied there.

Ah ha, that seems to have done it.

Thanks Julian.

> mark wrote:
> >Hi all,
> >
> >Im trying to build a fresh copy of wxwidgets from CVS under WinXP with VC8.
> >
> >Ive followed the buildcvs.txt instructions (ie, copy setup0.h to setup.h
> >and
> >edit) and then run my normal make command, but it fails with:
> >
> >E:\wx-cvs\build\msw>nmake -fmakefile.vc MONOLITHIC=0 SHARED=1
> >RUNTIME_LIBS=dynamic BUILD=release
> >
> >Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
> >Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > cl /c /nologo /TC /Fovc_mswdll\wxregex_regcomp.obj /MD /DWIN32
> > /Fd..\..\lib\vc_dll\wxregex.pdb /O2 /I..\..\include
> > /I..\..\lib\vc_dll\msw /D__WXMSW__ ..\..\src\regex\regcomp.c
> >regcomp.c ..\..\include\wx/chkconf.h(88) : fatal error C1189: #error :
> >"wxUSE_BACKINGFILE must be defined."
> >NMAKE : fatal error U1077: '"D:\applications\Microsoft Visual Studio
> >8\VC\BIN\cl.EXE"' : return code '0x2'
> >Stop.
> >
> >Whats wrong here?
> >wxUSE_BACKINGFILE is defined in the setup.h file.
> >So it seems setup.h file isnt being included?
> >
> >Thanks.
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
> >For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org
> >
> >
> >
> >
>
>
> --
> Julian Smart, Anthemion Software Ltd.
> 28/5 Gillespie Crescent, Edinburgh, Midlothian, EH10 4HU
> www.anthemion.co.uk | +44 (0)131 229 5306
> Tools for writers: www.writerscafe.co.uk
> wxWidgets RAD: www.anthemion.co.uk/dialogblocks
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org

---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe(a)lists.wxwidgets.org
For additional commands, e-mail: wx-users-help(a)lists.wxwidgets.org