При построении tk8.4.19-src файлом buildall.vc для окон. Он показывает следующую ошибку:Ошибка при построении tk8.4.19-src
rules.vc(449) : fatal error U1023: syntax error in expression
Stop.
Я понятия не имею, решение проблемы. Пожалуйста помоги.
Edit: buildall.vc файл, который звонит NMake
@echo off
:: This is an example batchfile for building everything. Please :: edit this (or make your own) for your needs and wants using :: the instructions for calling makefile.vc found in makefile.vc :: :: RCS: @(#) $Id: buildall.vc.bat,v 1.4 2002/11/04 07:49:43 davygrvy Exp $
echo Sit back and have a cup of coffee while this grinds through ;) echo You asked for *everything*, remember? echo.
title Building Tk, please wait...
if "%MSVCDir%" == "" call "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\vcvars32.bat" ::if "%MSVCDir%" == "" call "C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\bin\vcvars32.bat"
set INSTALLDIR =C:\Program Files\Tcl
:: Where is the Tcl source directory? set TCLDIR= "C:\Tcl\include\tcl8.5" ::set TCLDIR=..\..\tcl8.4 pause :: Build the normal stuff along with the help file. :: nmake -nologo -f makefile.vc release winhelp OPTS=none if errorlevel 1 goto error
:: Build the static core, dlls and shell. :: nmake -nologo -f makefile.vc release OPTS=static if errorlevel 1 goto error pause :: Build the special static libraries that use the dynamic runtime. :: nmake -nologo -f makefile.vc core OPTS=static,msvcrt if errorlevel 1 goto error
:: Build the core and shell for thread support. :: nmake -nologo -f makefile.vc release OPTS=threads if errorlevel 1 goto error
:: Build a static, thread support core library (no shell). :: nmake
-nologo -f makefile.vc core OPTS=static,threads if errorlevel 1 goto error
:: Build the special static libraries the use the dynamic runtime, :: but now with thread support. :: nmake -nologo -f makefile.vc core OPTS=static,msvcrt,threads if errorlevel 1 goto error
goto end
:error echo *** BOOM! ***
:end title Building Tk, please wait...DONE! echo DONE! pause
Я использую ++ идентификации компилятора C является MSVC 15.0.30729.1
C++ компилятор с помощью: Visual Studio 9 2008 Win32
По крайней мере, предоставите компилятор/версию, которую вы использовали, и как вы назвали NMakefile. Кроме того, попробуйте версию 8.4.20 (или даже лучше версию 8.5/8.6, которая не подходит к концу жизни, например 8.4.) – schlenk
Также сообщите имя каталога, в котором вы пытаетесь выполнить сборку. –
Пожалуйста, снова просмотрите вопрос. Я его отредактировал. –