On Mon, 27 May 2013 18:34:55 +0200 Kornel Benko <kor...@lyx.org> wrote:
> Does it compile (and bind) if you comment the offending line? > "src/tests/CMakeLists.txt:21" Unfortunately I cannot compile branch 'master' of LyX on Windows. Can anybody tell me what "the" cmake Release-configuration (and environment) for Windows is? SHA-1: a9614f15d244b6eda60b93f971f56b40e838d351 with cmake configuration: cmake D:/Workspace/LyX-Git <nul ^ -G"Visual Studio 10" <nul ^ -DLYX_CPACK=ON <nul ^ -DLYX_LOCALVERSIONING=ON <nul ^ -DLYX_INSTALL=ON <nul ^ -DLYX_NLS=ON <nul ^ -DLYX_ASPELL=OFF <nul ^ -DLYX_ENCHANT=OFF <nul ^ -DLYX_HUNSPELL=ON <nul ^ -DLYX_DEVEL_VERSION=OFF <nul ^ -DLYX_RELEASE=ON <nul ^ -DLYX_DEBUG=OFF <nul ^ -DLYX_NO_OPTIMIZE=OFF <nul ^ -DLYX_PACKAGE_SUFFIX=ON <nul ^ -DLYX_PCH=OFF <nul ^ -DLYX_MERGE_FILES=OFF <nul ^ -DLYX_MERGE_REBUILD=OFF <nul ^ -DLYX_QUIET=OFF <nul ^ -DLYX_INSTALL_PREFIX=D:/Workspace/LyX-Git/lyx-20-install <nul ^ -DLYX_EXTERNAL_LIBINTL=OFF <nul ^ -DLYX_BUNDLE=OFF <nul ^ -DLYX_CONSOLE=OFF <nul ^ -DLYX_VLD=OFF <nul ^ -DLYX_WALL=OFF <nul ^ -DLYX_CONFIGURE_CHECKS=ON <nul ^ -DLYX_DEPENDENCIES_DOWNLOAD=ON <nul ^ I get the follwing error: Done Building Project "D:\Workspace\LyX-Git\lyx-20-build\ALL_BUILD.vcxproj" (default targets) -- FAILED. Build FAILED. "D:\Workspace\LyX-Git\lyx-20-build\ALL_BUILD.vcxproj" (default target) (1) -> "D:\Workspace\LyX-Git\lyx-20-build\src\LyX.vcxproj" (default target) (2) -> "D:\Workspace\LyX-Git\lyx-20-build\intl\intl.vcxproj" (default target) (10) -> (ClCompile target) -> C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Platforms\Win32\Microsoft.Cpp.Win32.Targets(147,5): error MSB6001: Invalid command line switch for "CL.exe". The value [INSTALLDIR="C:/Program] contains an odd number of double-quote characters. Only even numbers of literal double-quote characters are acceptable to command line tools. [D:\Workspace\LyX-Git\lyx-20-build\intl\intl.vcxproj] I noticed, that the LIBINTL_INCLUDE_DIR seems to be configured wrongly (done automatically by cmake): D:/Workspace/LyX-Git/lyx-20-build (base directory of the build) (LIBINTL_HEADER=D:/Workspace/LyX-Git/lyx-20-build/intl/libintl.h) When changing "-DLYX_EXTERNAL_LIBINTL" from "OFF" to "ON" I get the following errors: support.lib(gettext.obj) : error LNK2005: "class std::basic_string<unsigned int,struct std::char_traits<unsigned int>,class std::allocator<unsigned int> > const __cdecl lyx::_(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const &)" (?_@lyx@@YA?BV?$basic_string@IU?$char_traits@I@std@@V?$allocator@I@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@@Z) already defined in dummy_functions.obj [D:\Workspace\LyX-Git\lyx-20-build\src\tests\check_layout.vcxproj] D:\Workspace\LyX-Git\lyx-20-build\bin\MinSizeRel\check_layout.exe : fatal error LNK1169: one or more multiply defined symbols found [D:\Workspace\LyX-Git\lyx-20-build\src\tests\check_layout.vcxproj] LIBINTL_INCLUDE_DIR seems to be configured correctly - using the files from the dependencies package. Kind regards, Hugo