Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot build xalan on Windows #1

Open
code-with-amitk opened this issue Aug 18, 2021 · 3 comments
Open

cannot build xalan on Windows #1

code-with-amitk opened this issue Aug 18, 2021 · 3 comments

Comments

@code-with-amitk
Copy link

Can you please help. Build xerces success

c:\xalan_c-1.12\build>cmake -G "Visual Studio 16 2019" -DCMAKE_BUILD_TYPE=Debug -DCMAKE_PREFIX_PATH=C:\xerces-c-3.2.3\libs\ -DCMAKE_INSTALL_PREFIX=c:\xalan_c-1.12\libs c:\xalan_c-1.12
-- Selecting Windows SDK version 10.0.19041.0 to target Windows 10.0.19042.
-- The C compiler identification is MSVC 19.29.30037.0
-- The CXX compiler identification is MSVC 19.29.30037.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring Apache Xalan-C++ version 1.12.0
-- Looking for pthread.h
-- Looking for pthread.h - not found
-- Found Threads: TRUE
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Performing Test CXX_FLAG_W3
-- Performing Test CXX_FLAG_W3 - Success
-- Looking for signal
-- Looking for signal - found
-- Looking for SetConsoleCtrlHandler
-- Looking for SetConsoleCtrlHandler - found
-- Looking for usleep
-- Looking for usleep - not found
-- Looking for Sleep
-- Looking for Sleep - found
-- Looking for gmtime_r
-- Looking for gmtime_r - not found
-- Looking for localtime_r
-- Looking for localtime_r - not found
-- Looking for _create_locale
-- Looking for _create_locale - not found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for _isnan
-- Looking for _isnan - not found
-- Performing Test XALAN_HAVE_STD_ISNAN
-- Performing Test XALAN_HAVE_STD_ISNAN - Success
-- Looking for unistd.h
-- Looking for unistd.h - not found
-- Looking for direct.h
-- Looking for direct.h - found
-- Found the following ICU libraries:
-- uc (required)
-- data (required)
-- i18n (required)
-- Failed to find all ICU components (missing: ICU_INCLUDE_DIR ICU_LIBRARY)
-- Found XercesC: C:/xerces-c-3.2.3/libs/lib/xerces-c_3D.lib (found suitable version "3.2.3", minimum required is "3.1")
-- Performing Test XALAN_HAVE_STD_THREAD
-- Performing Test XALAN_HAVE_STD_THREAD - Success
-- Looking for C++ include nl_types.h
-- Looking for C++ include nl_types.h - not found
-- Looking for catopen
-- Looking for catopen - not found
-- Looking for catclose
-- Looking for catclose - not found
-- Looking for catgets
-- Looking for catgets - not found
-- Performing Test CXX_matching-delete-operator
-- Performing Test CXX_matching-delete-operator - Success
-- Performing Test HAVE_PATH_MAX
-- Performing Test HAVE_PATH_MAX - Failed

-- Xalan-C++ configuration summary


--
-- Version: 1.12.0
-- Library major version: 1
-- Library minor version: 12

-- Installation directory: C:/xalan_c-1.12/libs
-- C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe
-- C++ compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30037/bin/Hostx64/x64/cl.exe

-- Build shared libraries: ON
-- Thread implementation: standard
-- Transcoder: default
-- Message Loader: inmemory
-- Message Loader Locale: en_US
-- Configuring done
-- Generating done
-- Build files have been written to: C:/xalan_c-1.12/build

c:\xalan_c-1.12\build>cmake --build .
Microsoft (R) Build Engine version 16.10.1+2fd48ab73 for .NET Framework
Copyright (C) Microsoft Corporation. All rights reserved.

Checking Build System
Building Custom Rule C:/xalan_c-1.12/src/xalanc/Utils/MsgCreator/CMakeLists.txt
ICUResHandler.cpp
InMemHandler.cpp
MsgCreator.cpp
MsgFileOutputStream.cpp
NLSHandler.cpp
SAX2Handler.cpp
Generating Code...
MsgCreator.vcxproj -> C:\xalan_c-1.12\build\src\xalanc\Utils\MsgCreator\Debug\MsgCreator.exe
Generating inmemory locale message data
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(241,5): error MSB8066: Custom build for 'C:\xalan_c-
1.12\build\CMakeFiles\b2f21514aa8dc54ebe9cbb8f3f77ddbb\LocalMsgIndex.hpp.rule;C:\xalan_c-1.12\build\CMakeFiles\8a9b9accac8fad13d7632d7da3d56af2\LocalMsgData.hpp.rule;C:
\xalan_c-1.12\build\CMakeFiles\98c7ee8f1447aa2308e54aa16f30da9c\LocalMsgIndex.hpp.rule;C:\xalan_c-1.12\build\CMakeFiles\54b06bb8a2ce5d07bdfaacd2d681d6df\inmemory-depend
encies.rule' exited with code -1073741515. [C:\xalan_c-1.12\build\src\xalanc\Utils\inmemory-dependencies.vcxproj]

@Shawn1874
Copy link

@amitkumar50 Did you ever figure out how to fix this?

@AaronNGray
Copy link
Owner

AaronNGray commented Nov 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants