Op 5-12-2011 2:05, Uwe Stöhr schreef:
I have still some problems with CMake:
Problem 1:
When compiling LyX from scratch I get this warning:
"D:\LyXSVN\lyx-devel\compile-result\lyx.sln" (LyX;tex2lyx target) (1) ->
"D:\LyXSVN\lyx-devel\compile-result\src\LyX.vcxproj.metaproj" (default
target)
(2) ->
"D:\LyXSVN\lyx-devel\compile-result\src\frontends\qt4\frontend_qt4.vcxproj.metaproj"
(default target) (4) ->
"D:\LyXSVN\lyx-devel\compile-result\src\frontends\frontends.vcxproj.metaproj"
(default target) (5) ->
"D:\LyXSVN\lyx-devel\compile-result\boost\libs\regex\boost_regex.vcxproj.metaproj"
(default target) (6) ->
"D:\LyXSVN\lyx-devel\compile-result\boost\libs\regex\boost_regex.vcxproj"
(default target) (7) ->
(Lib target) ->
static_mutex.obj : warning LNK4221: This object file does not define
any previously undefined public symbols, so it will not be used by any
link operation that consumes this library
[D:\LyXSVN\lyx-devel\compile-result\boost\libs\regex\boost_regex.vcxproj]
1 Warning(s)
This seems not harmful. This is just a warning that tells you that
static_mutex.cpp is sort of empty because BOOST_HAS_THREADS is not
defined. This shouldn't also be related to CMake.
Is it a real problem for you ?
Problem 2:
The compile tex2lyx.exe does not have an icon. But it should have the
same icon as the compiled lyx.exe
If you grep for "lyx.rc", you'll see how to fix this.
I fixed it in r40375.
Problem 3:
The compiled tex2lyx.exe is broken. You can test by trying to import a
TeX file of your choice -> it will always fail. But when I build it
with SCons, it works fine. Moreover, when compiling branch with CMake,
it works too, only in trunk it fails.
It works for me.
regards Uwe
Vincent