You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by GitBox <gi...@apache.org> on 2021/08/18 12:33:49 UTC

[GitHub] [xalan-c] amitkumar50 opened a new pull request #37: cannot build xalan on Windows

amitkumar50 opened a new pull request #37:
URL: https://github.com/apache/xalan-c/pull/37


   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]


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


[GitHub] [xalan-c] rleigh-codelibre commented on pull request #37: cannot build xalan on Windows

Posted by GitBox <gi...@apache.org>.
rleigh-codelibre commented on pull request #37:
URL: https://github.com/apache/xalan-c/pull/37#issuecomment-901150539


   The error code means that the MsgCreator.exe tool failed to run due to a problem loading the needed DLLs.  So you are either missing the DLLs, or you are mixing 32-bit and 64-bit versions of the DLLs or mixing DLLs compiled with different VC runtimes or build types.
   
   I would suggest building all the prerequisites with vcpkg to guarantee they are all compatible.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


[GitHub] [xalan-c] amitkumar50 commented on pull request #37: cannot build xalan on Windows

Posted by GitBox <gi...@apache.org>.
amitkumar50 commented on pull request #37:
URL: https://github.com/apache/xalan-c/pull/37#issuecomment-901146933


   @rleigh-codelibre Thanks for response.
   But same error on master branch.
   ```
   C:\xalan-c\build>cmake --build . --config Debug
   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\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\build\CMakeFiles\8b13da3efb61be4432815c58780df69f\LocalMsgIndex.hpp.ru
   le;C:\xalan-c\build\CMakeFiles\9fd98395474e32e80ffd6e0f8bcd807e\LocalMsgData.hpp.rule;C:\xalan-c\build\CMakeFiles\62fdf
   01a99c4fe6e5df1d129c46ada28\LocalMsgIndex.hpp.rule;C:\xalan-c\build\CMakeFiles\54721b435eedbbf1c365bb7e2edfcd61\inmemor
   y-dependencies.rule' exited with code -1073741515. [C:\xalan-c\build\src\xalanc\Utils\inmemory-dependencies.vcxproj]
   
   C:\xalan-c\build>cd ..
   
   C:\xalan-c>git branch
   * master
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


[GitHub] [xalan-c] rleigh-codelibre commented on pull request #37: cannot build xalan on Windows

Posted by GitBox <gi...@apache.org>.
rleigh-codelibre commented on pull request #37:
URL: https://github.com/apache/xalan-c/pull/37#issuecomment-901087705


   If you are having problems building, please start off by using the latest code on the "master" branch.  You seem to be using code dating back to 2012.  This code contains a number of conflicts and is completely out of date compared with master, and as such is unmergeable, so I'll have to close this pull request.
   
   If any of these old changes need to be merged, please open a pull request separately for each individual change so that they can be reviewed and tested independently.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


[GitHub] [xalan-c] amitkumar50 commented on pull request #37: cannot build xalan on Windows

Posted by GitBox <gi...@apache.org>.
amitkumar50 commented on pull request #37:
URL: https://github.com/apache/xalan-c/pull/37#issuecomment-901146933


   @rleigh-codelibre Thanks for response.
   But same error on master branch.
   ```
   C:\xalan-c\build>cmake --build . --config Debug
   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\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\build\CMakeFiles\8b13da3efb61be4432815c58780df69f\LocalMsgIndex.hpp.ru
   le;C:\xalan-c\build\CMakeFiles\9fd98395474e32e80ffd6e0f8bcd807e\LocalMsgData.hpp.rule;C:\xalan-c\build\CMakeFiles\62fdf
   01a99c4fe6e5df1d129c46ada28\LocalMsgIndex.hpp.rule;C:\xalan-c\build\CMakeFiles\54721b435eedbbf1c365bb7e2edfcd61\inmemor
   y-dependencies.rule' exited with code -1073741515. [C:\xalan-c\build\src\xalanc\Utils\inmemory-dependencies.vcxproj]
   
   C:\xalan-c\build>cd ..
   
   C:\xalan-c>git branch
   * master
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


[GitHub] [xalan-c] rleigh-codelibre commented on pull request #37: cannot build xalan on Windows

Posted by GitBox <gi...@apache.org>.
rleigh-codelibre commented on pull request #37:
URL: https://github.com/apache/xalan-c/pull/37#issuecomment-901087705






-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


[GitHub] [xalan-c] rleigh-codelibre closed pull request #37: cannot build xalan on Windows

Posted by GitBox <gi...@apache.org>.
rleigh-codelibre closed pull request #37:
URL: https://github.com/apache/xalan-c/pull/37


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org


[GitHub] [xalan-c] rleigh-codelibre closed pull request #37: cannot build xalan on Windows

Posted by GitBox <gi...@apache.org>.
rleigh-codelibre closed pull request #37:
URL: https://github.com/apache/xalan-c/pull/37


   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org