i am trying to compile lyx (cmake, msvc), but run into trouble.
i don't do anything fancy (or different from before the summer) just run
cmake in the standard way and point it to the gnuwin32 dir.
but i get the messages below, someone got a clue what is going on here?
thanks!
ed.
2>------ Build started: Project: frontend_qt4, Configuration: Release
Win32 ------
1>Timeout.cpp
2>Compiling...
2>SearchAdv.cpp
1>c:\lyx\trunk\src\support\Timeout.h(45) : error C2059: syntax error : ')'
1>c:\lyx\trunk\src\support\Timeout.h(45) : error C2238: unexpected
token(s) preceding ';'
1>c:\lyx\trunk\src\support\Timeout.h(73) : error C2059: syntax error : ')'
1>c:\lyx\trunk\src\support\Timeout.h(73) : error C2334: unexpected
token(s) preceding '{'; skipping apparent function body
1>..\..\..\trunk\src\support\Timeout.cpp(61) : error C2059: syntax error
: ')'
1>..\..\..\trunk\src\support\Timeout.cpp(129) : error C2589: '(' :
illegal token on right side of '::'
1>..\..\..\trunk\src\support\Timeout.cpp(129) : warning C4091: '' :
ignored on left of 'void' when no variable is declared
1>..\..\..\trunk\src\support\Timeout.cpp(129) : error C2143: syntax
error : missing ';' before '::'
1>..\..\..\trunk\src\support\Timeout.cpp(129) : error C2059: syntax
error : '::'
1>..\..\..\trunk\src\support\Timeout.cpp(130) : error C2143: syntax
error : missing ';' before '{'
1>..\..\..\trunk\src\support\Timeout.cpp(130) : error C2447: '{' :
missing function header (old-style formal list?)
1>Build log was saved at
"file://c:\lyx\build-msvc\src\support\support.dir\Release\BuildLog.htm"
1>support - 10 error(s), 1 warning(s)
2>c:\lyx\trunk\src\frontends\qt4\SearchAdv.h(17) : fatal error C1083:
Cannot open include file: 'ui/SearchAdvUi.h': No such file or directory
2>Build log was saved at
"file://c:\lyx\build-msvc\src\frontends\qt4\frontend_qt4.dir\Release\BuildLog.htm"
2>frontend_qt4 - 1 error(s), 0 warning(s)
3>------ Build started: Project: controllers, Configuration: Release
Win32 ------
3>Compiling...
3>ControlSearchAdv.cpp
4>------ Build started: Project: tex2lyx, Configuration: Release Win32
------
4>Linking...
4>LINK : fatal error LNK1181: cannot open input file 'support.lib'
4>Build log was saved at
"file://c:\lyx\build-msvc\src\tex2lyx\tex2lyx.dir\Release\BuildLog.htm"
4>tex2lyx - 1 error(s), 0 warning(s)
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2027: use of undefined type 'lyx::ParagraphList'
3> c:\lyx\trunk\src\Buffer.h(53) : see declaration of
'lyx::ParagraphList'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2065: 'const_iterator' : undeclared identifier
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2146: syntax error : missing ';' before identifier 'pit'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2065: 'pit' : undeclared identifier
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2027: use of undefined type 'lyx::ParagraphList'
3> c:\lyx\trunk\src\Buffer.h(53) : see declaration of
'lyx::ParagraphList'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2228: left of '.begin' must have class/struct/union
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2027: use of undefined type 'lyx::ParagraphList'
3> c:\lyx\trunk\src\Buffer.h(53) : see declaration of
'lyx::ParagraphList'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2228: left of '.end' must have class/struct/union
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2143: syntax error : missing ')' before '++'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2059: syntax error : ';'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2059: syntax error : ')'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(64) :
error C2143: syntax error : missing ';' before '{'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(65) :
error C2039: 'TeXOnePar' : is not a member of 'lyx'
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(65) :
error C3861: 'TeXOnePar': identifier not found
3>..\..\..\..\trunk\src\frontends\controllers\ControlSearchAdv.cpp(86) :
error C2065: 'LFUN_WORD_FINDADV' : undeclared identifier
3>Build log was saved at
"file://c:\lyx\build-msvc\src\frontends\controllers\controllers.dir\Release\BuildLog.htm"
3>controllers - 15 error(s), 0 warning(s)
5>------ Build started: Project: lyx-qt4, Configuration: Release Win32
------
5>Compiling...
5>version.cpp
5>..\..\trunk\src\version.cpp(18) : error C2440: 'initializing' : cannot
convert from 'double' to 'const char *'
5>..\..\trunk\src\version.cpp(18) : error C2143: syntax error : missing
';' before 'constant'
5>..\..\trunk\src\version.cpp(18) : error C2059: syntax error : 'constant'
5>..\..\trunk\src\version.cpp(20) : error C2065: 'LYX_DATE' : undeclared
identifier
5>..\..\trunk\src\version.cpp(23) : error C2065: 'VERSION_INFO' :
undeclared identifier
5>lyxfindadv.cpp
5>..\..\trunk\src\lyxfindadv.cpp(263) : warning C4390: ';' : empty
controlled statement found; is this the intent?
5>..\..\trunk\src\lyxfindadv.cpp(421) : error C2039: 'TeXOnePar' : is
not a member of 'lyx'
5>..\..\trunk\src\lyxfindadv.cpp(421) : error C3861: 'TeXOnePar':
identifier not found
5>..\..\trunk\src\lyxfindadv.cpp(429) : error C2248:
'lyx::InsetMathHull::header_write' : cannot access private member
declared in class 'lyx::InsetMathHull'
5> c:\lyx\trunk\src\mathed/InsetMathHull.h(142) : see declaration
of 'lyx::InsetMathHull::header_write'
5> c:\lyx\trunk\src\mathed/InsetMathHull.h(25) : see declaration
of 'lyx::InsetMathHull'
5>..\..\trunk\src\lyxfindadv.cpp(452) : error C2248:
'lyx::InsetMathHull::footer_write' : cannot access private member
declared in class 'lyx::InsetMathHull'
5> c:\lyx\trunk\src\mathed/InsetMathHull.h(144) : see declaration
of 'lyx::InsetMathHull::footer_write'
5> c:\lyx\trunk\src\mathed/InsetMathHull.h(25) : see declaration
of 'lyx::InsetMathHull'
5>..\..\trunk\src\lyxfindadv.cpp(624) : error C2065: 'LFUN_WORD_FINDADV'
: undeclared identifier
5>Generating Code...
5>Build log was saved at
"file://c:\lyx\build-msvc\src\lyx-qt4.dir\Release\BuildLog.htm"
5>lyx-qt4 - 10 error(s), 1 warning(s)
6>------ Build started: Project: ALL_BUILD, Configuration: Release Win32
------
6>"Build all projects"
6>Build log was saved at
"file://c:\lyx\build-msvc\ALL_BUILD.dir\Release\BuildLog.htm"
6>ALL_BUILD - 0 error(s), 0 warning(s)
7>------ Skipped Build: Project: INSTALL, Configuration: Release Win32
------
7>Project not selected to build for this solution configuration
========== Build: 1 succeeded, 5 failed, 10 up-to-date, 1 skipped ==========