Glad you got it working eventually. These things can be a black art.
for my needs. I don't know why the 8.1 SDK didn't work :-(
tomorrow to tidy our tiny house there for the next lot of visitors.
Post by Ian Simpson ***@ground-it.com [anthemion-devtools]Thanks Julian,
For your quick response and the script.
I am not sure, but I think what happened was that the new laptop came
installed with redistributable VC10's that were not compatible with V7
of the SDK, so I could not go back to SDK V7 until I removed them. The
SDK would not install. I had tried to install VC Express 2013 (V12)
without success and the SDK was installing as V8.1. This probably
created some problems too? The build of wxWidgets could not find
"windows.h" in SDK V8.1. It seems it does not exist in V8.1, but does
in V7.
So I removed the redistributables VC10 and VC10 itself and reinstalled
VC10 and installed the SDK V7 and all works fine now. I can compile
wxWidgets from within DB OK.
The problem is I do not do this very often and there are changes in
versions every year or two.
Is it correct that we should _not_ try to upgrade to the latest VC Express version?
Regards,
Ian
P.S. By chance, my wife was in Edinburgh last week and is presently
hiking along some trails around Anstruther and Crail. She was sent to
high school at St. Leonards in St. Andrews in the 1960's and will
visit there shortly.
Signature1
Post by Julian Smart ***@anthemion.co.uk [anthemion-devtools]Hi Ian,
I'll enclose the script I run before building wxWidgets with VS 2010
from the command line. Maybe this will help.
Regards,
Julian
@echo off
set INCLUDE=
set LIB=
set PlatformSDK=c:\Program Files\Microsoft SDKs\Windows\v7.1
rem
rem Root of Visual Developer Studio Common files.
set VSCommonDir=c:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7
rem
rem Root of Visual Developer Studio installed files.
rem
set MSDevDir=c:\Program Files (x86)\Microsoft Visual Studio 10.0
set MSIDEDir=%VSCommonDir%\IDE
rem
rem Root of Visual C++ installed files.
rem
set MSVCDir=%MSDevDir%\VC
rem
rem VcOsDir is used to help create either a Windows 95 or Windows NT
specific path.
rem
set VcOsDir=WINNT
rem
echo Setting environment for using Microsoft Visual C++ 11 tools with
Windows 7.1 SDK.
rem
set
PATH=c:\bin;%PlatformSDK%\bin;%MSDevDir%;%MSVCDir%\BIN;%MSIDEDIR%;%VSCommonDir%\TOOLS\%VcOsDir%;%VSCommonDir%\TOOLS;%PATH%
set INCLUDE=%PlatformSDK%\include;%MSVCDir%\ATL\INCLUDE;%MSVCDir%\INCLUDE
set LIB=%PlatformSDK%\lib;%MSVCDir%\LIB
alias make nmake -f makefile.vc
Post by Ian Simpson ***@ground-it.com [anthemion-devtools]Hi Julian,
I had to get a new laptop due to failure of my existing Windows 8.1
machine on which I had managed
Post by Ian Simpson ***@ground-it.com [anthemion-devtools]to get DB to work with VC 10.0 and wxWidgets 2.8.12. I've got to
the point where I need to build
Post by Ian Simpson ***@ground-it.com [anthemion-devtools]wxWidgets and am getting the message cannot find "windows.h".
I had this problem before and I think I fixed it before by forcing
the SDK to V7.0 rather than V8.1.
Post by Ian Simpson ***@ground-it.com [anthemion-devtools]Is there a simple way to get the installation to work first time? I
can clean out all the compiler
Post by Ian Simpson ***@ground-it.com [anthemion-devtools]stuff and start again. Basically, I want to use VC 10, wxWidgets
and DB as I have used successfully
Post by Ian Simpson ***@ground-it.com [anthemion-devtools]on other machines for years.
Regards,
Ian
------------------------------------
------------------------------------
------------------------------------
Yahoo Groups Links