Nmake Fatal Error U1077 Wxwidgets
build error (invalid) wxCSConv build errors Reported by: Andrew.Smart Owned by: Priority: normal Milestone: Component: base Version: stable-latest Keywords: wxCSConv regression Cc: Blocked By: Blocking: Patch: no Description Environment: Windows 7 Professional. MS VS 10.0. Default setup.h. Affects 32 bit release and debug targets; also affects 64 bit release and debug targets. My commands to build: cd .\build\msw call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\vcvars32.bat" "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake" -f makefile.vc BUILD=release "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake" -f makefile.vc BUILD=debug call "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\vcvars64.bat" "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake" -f makefile.vc TARGET_CPU=AMD64 BUILD=release "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\nmake" -f makefile.vc TARGET_CPU=AMD64 BUILD=debug cd ..\.. When building, each target had the same output/errors (minus x86 & x64 differences). Against trunk: Setting environment for using Microsoft Visual Studio 2010 x86 tools. if not exist ..\..\lib\vc_lib\mswu\wx\setup.h copy ..\..\include\wx\msw\setup.h ..\..\lib\vc_lib\mswu\wx\setup.h 1 file(s) copied. Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved. cl /c /nologo /TP /Fovc_mswu\baselib_strconv.obj /MD /DWIN32 /Zi /Fd..\..\lib\vc_lib\wxbase29u.pdb /O2 /D__NO_VC_CRTDBG__ /D__WXMSW__ /DNDEBUG /D_UNICODE /I..\..\lib\vc_lib\mswu /I..\..\include /W4 /DWXBUILDING /I..\..\src\tiff\libtiff /I..\..\src\jpeg /I..\..\src\png /I..\..\src\zlib /I..\..\src\regex /I..\..\src\expat\lib /DwxUSE_GUI=0 /DwxUSE_BASE=1 /GR /EHsc /Yu"wx/wxprec.h" /Fp"vc_mswu\wxprec_baselib.pch" ..\..\src\common\strconv.cpp
defect (invalid) nmake build of trunk fails with "DocView requires wxUSE_FILE_HISTORY" Reported by: StepanHrbek Owned by: Priority: normal Milestone: Component: build Version: stable-latest Keywords: msw nmake Cc: Blocked By: Blocking: #11537 Patch: no Description svn trunk, rev 64295, visual studio (tested 2003,2005,2008,2010) c:\wxwidgets\build\msw> nmake -f makefile.vc cl /c /nologo /TC /Fovc_mswud\wxregex_regcomp.obj /MDd /DWIN32 /Zi /Fd..\..\lib\vc_lib\wxregexud.pdb /D_DEBUG /Od /DNDEBUG /D_CRT_SECURE_NO_WARNINGS /I..\..\include /I..\..\lib\vc_lib\mswud /DWXMSW /D_UNICODE http://trac.wxwidgets.org/ticket/12928 ..\ ..\src\regex\regcomp.c regcomp.c c:\wxWidgets\include\wx/chkconf.h(1810) : fatal error C1189: #error : "DocView requires wxUSE_FILE_HISTORY" NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\cl.EXE"' : return code '0x2' Stop. My setup.h is identical to setup0.h. wxUSE_FILE_HISTORY is defined in setup_inc.h, chkconf.h somehow doesn't get it. http://trac.wxwidgets.org/ticket/12043 Any idea what's wrong, before I dig deeper? Oldest first Newest first Threaded Comments only Change History (5) comment:1 Changed 6 years ago by StepanHrbek I see that setup_inc.h is not included. Please someone run update-setup-h and commit, to fix this. It would save me and possibly others time if setup-inc.h had different name, e.g. setup-inc.txt, and/or had its purpose explained inside. comment:2 Changed 6 years ago by vadz Resolution set to invalid Status changed from new to closed You need to delete the old setup.h from lib/vc_lib/mswud/wx, it won't be overwritten when you change include/wx/msw/setup.h. P.S. This has nothing to do with setup_inc.h. comment:3 Changed 6 years ago by StepanHrbek Resolution invalid deleted Status changed from closed to reopened I'm sorry for bugging, I'm really not sure, but you might be wrong. Deleting
book, I am having trouble building wxWidgets. Although I was able to build http://anthemion-devtools.yahoogroups.narkive.com/fJKLR9No/nmake-fatal-error-u1077 using MS VC++ 2010, I ran into too many configuration problems writing basic test cases.DialogBlocks 4.41(Unocode) July 29, 2011 build will not http://permalink.gmane.org/gmane.comp.ide.anthemion/1665 allow building wxWidgets (2.9.2 unzipped into the root directory c:/wx) with two fatal errors:c:\wx\src\png\pngpriv.h(79):fatal error C1083: Cannot open include file 'windows.h': No such nmake fatal file or directoryNMAKE: fatal error U1077: '"c:\program Files (x86) Microsoft Visual Studio 10.0\vc\bin\cl.EXE"' :return code '0x2'windows.h is located in C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\include\windows.h and VC has no problems locating it.Before changing source codes, etc. what is it that I am doing wrong?Thanks,NavidWindows 7 Pro x64wxWidgest nmake fatal error 2.9.2 (extracted zip archive, xxUSE_OBDC set to 1)MS Visual Studio 2010 (10.30319.1 RTMRel)------------------------------------Yahoo! Groups Links<*> To visit your group on the web, go to:http://groups.yahoo.com/group/anthemion-devtools/<*> Your email settings:Individual Email | Traditional<*> To change settings online go to:http://groups.yahoo.com/group/anthemion-devtools/join(Yahoo! ID required)<*> To change settings via email:anthemion-devtools-***@yahoogroups.comanthemion-devtools-***@yahoogroups.com<*> To unsubscribe from this group, send an email to:anthemion-devtools-***@yahoogroups.com<*> Your use of Yahoo! Groups is subject to:http://docs.yahoo.com/info/terms/ Julian Smart 2011-10-15 19:43:49 UTC PermalinkRaw Message Hi,Did you set the Platform SDK location in PLATFORMSDK in DialogBlocksSettings/Paths?Regards,JulianPost by NavidMI am new to wxWidgets and having looked at the Wiki and reading Julian Smart/Kevin Hock's wxWidgets book, I am having trouble building wxWidgets. Although I was able to build using MS VC++ 2010, I ran into too many configuration problems writing basic test cases.c:\wx\src\png\pngpriv.h(79):fatal error C1083: Cannot open include file 'windows.h': No suc
yahoogroups.com> Subject: Re: compiling with Visual Studio 2015 community Newsgroups: gmane.comp.ide.anthemion Date: Thursday 20th August 2015 17:36:26 UTC (about 1 year ago) VS 2015 can build wxWidgets-2.8.12 and samples DialogBlocks I'm having a problem with windows.h not found Building wxwidgets ----------------------- Configuration: VC++ Debug ----------------------- In directory: C:\Users\Mark\Documents\DialogBlocks Samples\Elements nmake /nologo -f makefile.vc CONFIG=debug all cl.exe /c /nologo /TP /FoVCDebug\advancedcontrols.obj /DNOPCH /DWIN32 /D__WXMSW__ /D_WINDOWS /D__WXDEBUG__ /D_DEBUG /D_UNICODE /Zi /MDd /Od /GR /EHsc /W4 /I"I:\wxWidgets-2.8.12/lib/vc_lib/mswud" /I"I:\wxWidgets-2.8.12/include" /I"I:\wxWidgets-2.8.12/contrib/include" /I"C:\Program Files (x86)\Microsoft SDKs\Windows\v6.0A\include" /I"I:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\include" /I"C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt" advancedcontrols.cpp advancedcontrols.cpp I:\wxWidgets-2.8.12\include\wx/msw/wrapwin.h(51): fatal error C1083: Cannot open include file: 'windows.h': No such file or directory *** NMAKE : fatal error U1077: '"I:\Program Files (x86)\Microsoft Visual Studio 14.0\vc\bin\cl.exe"' : return code '0x2' *** Stop. Done. 2 errors, 0 warnings I added the changes to the following: Compiler include path: %PLATFORMSDK%\include,%Compiler location%\vc\include,C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt Compiler lib path: %Compiler location%\vc\lib,%Compiler location%\lib,C:\Program Files (x86)\Windows Kits\10\lib\10.0.10056.0\ucrt Mark On 8/19/2015 3:02 AM, Julian Smart [emailprotected] [anthemion-devtools] wrote: > They should be taken care of by Jutoh. > > Regards, > > Julian > > On 18/08/2015 22:51, Mark Mathews [emailprotected] > [anthemion-devtools] wrote: >> And the other paths? >> >> MS Visual C++ I:\Program Files (x86)\Microsoft Visual Studio 14.0 >> Platform SDK C:\Program Files (x86)\Microsoft SDKs\Windows\v1