Hi, A workaround can be to explicitly set the path for Bison in Visual Studio 2008 under *Tools > Options > Projects and Solutions > VC++ Directories >* *Executable files*. See this link for more info: http://msdn.microsoft.com/en-us/library/t9az1d21(v=vs.90).aspx
Regards, John On Thu, Jul 17, 2014 at 11:54 AM, <sschm...@gfi-gis.de> wrote: > > 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 > ---------------------------------------------------------------- > _______________________________________________ > Qgis-developer mailing list > Qgis-developer@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/qgis-developer >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer