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

[fastcdr] update to 2.2.1 #39328

Closed
zhangzhen5729 opened this issue Jun 17, 2024 · 3 comments · Fixed by #39336
Closed

[fastcdr] update to 2.2.1 #39328

zhangzhen5729 opened this issue Jun 17, 2024 · 3 comments · Fixed by #39336
Assignees
Labels
category:port-update The issue is with a library, which is requesting update new revision

Comments

@zhangzhen5729
Copy link

Library name

fastcdr

New version number

2.2.1

Other information that may be useful (release notes, etc...)

The fastrtps2.14.x version requires the corresponding fastcdr version to be 2.2.1, while the currently maintained fastcdr version is 1.1.0, so the two do not match each other.

@zhangzhen5729 zhangzhen5729 added the category:port-update The issue is with a library, which is requesting update new revision label Jun 17, 2024
@zhangzhen5729
Copy link
Author

1> 已为配置“x64-Debug”启动 CMake 生成。
1> 命令行: "C:\Windows\system32\cmd.exe" /c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "D:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="D:\work\hydro_msdevice\out\install\x64-Debug" -DCMAKE_TOOLCHAIN_FILE:FILEPATH="D:/vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:FILEPATH="D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -Dfastrtps_SHARED_LIBS=ON -Dfastcdr_SHARED_LIBS=ON -DCMAKE_MAKE_PROGRAM="D:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\work\hydro_msdevice" 2>&1"
1> 工作目录: D:\work\hydro_msdevice\build\x64-Debug
1> [CMake] CMake Warning (dev) at D:\work\hydro_msdevice\CMakeLists.txt:59:
1> [CMake] Syntax Warning in cmake code at column 28
1> [CMake]
1> [CMake] Argument not separated from preceding token by whitespace.
1> [CMake] This warning is for project developers. Use -Wno-dev to suppress it.
1> [CMake]
1> [CMake] CMake Error at D:/vcpkg/installed/x64-windows/share/fastrtps/fast-discovery-server-targets.cmake:78 (message):
1> [CMake] The imported target "fastdds::fast-discovery-server" references the file
1> [CMake]
1> [CMake] "D:/vcpkg/installed/x64-windows/tools/fastrtps/fast-discovery-serverd-1.0.1.exe"
1> [CMake]
1> [CMake] but this file does not exist. Possible reasons include:
1> [CMake]
1> [CMake] * The file was deleted, renamed, or moved to another location.
1> [CMake]
1> [CMake] * An install or uninstall procedure did not complete successfully.
1> [CMake]
1> [CMake] * The installation package was faulty and contained
1> [CMake]
1> [CMake] "D:/vcpkg/installed/x64-windows/share/fastrtps/fast-discovery-server-targets.cmake"
1> [CMake]
1> [CMake] but not all the files it references.
1> [CMake]
1> [CMake] Call Stack (most recent call first):
1> [CMake] D:/vcpkg/installed/x64-windows/share/fastrtps/fastrtps-config.cmake:117 (include)
1> [CMake] D:/vcpkg/scripts/buildsystems/vcpkg.cmake:859 (_find_package)
1> [CMake] CMakeLists.txt:29 (find_package)
1> [CMake] -- Configuring incomplete, errors occurred!
1> [CMake] See also "D:/work/hydro_msdevice/build/x64-Debug/CMakeFiles/CMakeOutput.log".
1> [CMake] See also "D:/work/hydro_msdevice/build/x64-Debug/CMakeFiles/CMakeError.log".
1> “C:\Windows\system32\cmd.exe”“/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "D:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="D:\work\hydro_msdevice\out\install\x64-Debug" -DCMAKE_TOOLCHAIN_FILE:FILEPATH="D:/vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:FILEPATH="D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -Dfastrtps_SHARED_LIBS=ON -Dfastcdr_SHARED_LIBS=ON -DCMAKE_MAKE_PROGRAM="D:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\work\hydro_msdevice" 2>&1"”执行失败,出现错误:““C:\Windows\system32\cmd.exe”“/c "%SYSTEMROOT%\System32\chcp.com 65001 >NUL && "D:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\CMake\bin\cmake.exe" -G "Ninja" -DCMAKE_BUILD_TYPE:STRING="Debug" -DCMAKE_INSTALL_PREFIX:PATH="D:\work\hydro_msdevice\out\install\x64-Debug" -DCMAKE_TOOLCHAIN_FILE:FILEPATH="D:/vcpkg/scripts/buildsystems/vcpkg.cmake" -DCMAKE_C_COMPILER:FILEPATH="D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -DCMAKE_CXX_COMPILER:FILEPATH="D:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe" -Dfastrtps_SHARED_LIBS=ON -Dfastcdr_SHARED_LIBS=ON -DCMAKE_MAKE_PROGRAM="D:\PROGRAM FILES (X86)\MICROSOFT VISUAL STUDIO\2019\COMMUNITY\COMMON7\IDE\COMMONEXTENSIONS\MICROSOFT\CMAKE\Ninja\ninja.exe" "D:\work\hydro_msdevice" 2>&1"”已返回,并带有退出代码: 1”。

@zhangzhen5729
Copy link
Author

在引入fastrtps2.14.0的时候,报上面的评论错误,其中找不到"D:/vcpkg/installed/x64-windows/tools/fastrtps/fast-discovery-serverd-1.0.1.exe",而vcpkg下的D:\vcpkg\installed\x64-windows\tools\fastrtps文件夹中存在fast-discovery-serverd-1.0.0.exe,要找的是fast-discovery-serverd-1.0.1.exe,我手动将fast-discovery-serverd-1.0.1.exe(来自fastrtps二进制安装包中的)拷贝至该目录,配置通过并且编译成功

@zhangzhen5729
Copy link
Author

这个问题在之前的各个版本中也依然存在,linux下也存在

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:port-update The issue is with a library, which is requesting update new revision
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants