[Qgis-developer] Building QGIS with VS/Win7 PATH to Bison

SSchmidt at gfi-gis.de SSchmidt at gfi-gis.de
Thu Jul 17 01:54:25 PDT 2014


Hello,

Sorry for boring you,
but my problem still isn't solved. 

I have a batch-script like in the INSTALL-Guide named setupvcproject. 
Before calling it the path is knowing my bison-directory 
(C:\GnuWin32\bin), afterwards it is gone away and i get the following 
compiling error
> Generating qgsexpressionparser.cpp
> C:\GnuWin32\bin\bison.exe: m4: No such file or directory

Here is the output of my dosbox:


C:\Temp>echo %PATH%
C:\Program Files (x86)\NVIDIA 
Corporation\PhysX\Common;C:\Windows\system32;C:\Wi
ndows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Pr
ogram Files\Intel\DMIX;C:\Program Files (x86)\Microsoft SQL 
Server\90\Tools\binn
\;C:\Program Files\Microsoft Platform SDK\Bin\.;C:\Program Files\Microsoft 
Platf
orm SDK\Bin\WinNT\.;c:\Qt\4.8.2;%PROGRAMFILES%\Internet 
Explorer;C:\Oracle\insta
ntclient_12_1;C:\PROGRA~2\CMAKE2~1.8\bin;C:\GnuWin32\bin;C:\Program Files 
(x86)\
NVIDIA 
Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System
32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program 
Files\Intel\DMIX;
C:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program 
Files\Micr
osoft Platform SDK\Bin\.;C:\Program Files\Microsoft Platform 
SDK\Bin\WinNT\.;c:\
Qt\4.8.2;C:\Program Files\Internet 
Explorer;C:\Oracle\instantclient_12_1;C:\PROG
RA~2\CMAKE2~1.8\bin;C:\GnuWin32\bin;

C:\Temp>setupvcproject

C:\Temp>Path 
C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\PROGRA~2
\CMAKE2~1.8\bin;C:\GnuWin32\bin;"

C:\Temp>set PYTHONPATH=

C:\Temp>set VS90COMNTOOLS=C:\Program Files\Microsoft Visual Studio 
9.0\Common7\T
ools\

C:\Temp>call "C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\vcvarsall.ba
t" x86
Setting environment for using Microsoft Visual Studio 2008 x86 tools.
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Alle Rechte vorbehalten.

C:\Temp>echo %PATH%
C:\OSGeo4W\apps\Python27\Scripts;C:\OSGeo4W\bin;C:\Windows\system32;C:\Windows;C
:\Windows\WBem;C:\OSGeo4W\apps\msys\bin
----------------------------------------------------------------

and here is my setupvcproject.bat:

  Path 
%SYSTEMROOT%\system32;%SYSTEMROOT%;%SYSTEMROOT%\System32\Wbem;C:\PROGRA~2\CMAKE2~1.8\bin;C:\GnuWin32\bin;"
  set PYTHONPATH=
 
  set VS90COMNTOOLS=%PROGRAMFILES%\Microsoft Visual Studio 
9.0\Common7\Tools\
  call "C:\Program Files (x86)\Microsoft Visual Studio 
9.0\VC\vcvarsall.bat" x86
 
  set INCLUDE=%INCLUDE%;%PROGRAMFILES%\Microsoft Platform SDK\include
  set LIB=%LIB%;%PROGRAMFILES%\Microsoft Platform SDK\lib
 
  set OSGEO4W_ROOT=C:\OSGeo4W
  call "%OSGEO4W_ROOT%\bin\o4w_env.bat"
 
  @set GRASS_PREFIX=c:/OSGeo4W/apps/grass/grass-6.4.0
  @set INCLUDE=%INCLUDE%;%OSGEO4W_ROOT%\include
  @set LIB=%LIB%;%OSGEO4W_ROOT%\lib;%OSGEO4W_ROOT%\lib
 
call "C:\Program Files (x86)\Microsoft Visual Studio 
9.0\Common7\IDE\devenv.exe"

@cmd
----------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20140717/95148298/attachment.html>


More information about the Qgis-developer mailing list