Open umtclskn opened 2 years ago
Hi all,
I could not compile the px4_fmu-v5_rtps with master and v1.13.0.rc1. But there is no compile error with v1.12.3 version.
My Environment: Ubuntu 18.04 FastDDS 2.0.2 Gradle 6.4 foonathan_memory_vendor openjdk 11.0.15
I got this error:
FAILED: ucdr-prefix/src/ucdr-stamp/ucdr-configure cd /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build && /usr/local/bin/cmake -C/home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build/ucdr-prefix/tmp/ucdr-cache-MinSizeRel.cmake -GNinja /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr && /usr/local/bin/cmake -E touch /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build/ucdr-prefix/src/ucdr-stamp/ucdr-configure loading initial cache file /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build/ucdr-prefix/tmp/ucdr-cache-MinSizeRel.cmake -- Configuring done CMake Error at cmake/common/check_configuration.cmake:120 (target_compile_options): Error evaluating generator expression:
$<COMPILE_LANGUAGE:CXX>
$ Unknown language. Call Stack (most recent call first): CMakeLists.txt:108 (set_common_compile_options)
-- Generating done -- Build files have been written to: /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build ninja: build stopped: subcommand failed. ninja: build stopped: subcommand failed. [291/1202] Generating RTPS topic bridge ninja: build stopped: subcommand failed. Makefile:230: recipe for target 'px4_fmu-v5_rtps' failed make: *** [px4_fmu-v5_rtps] Error 1
Why these versions does not compile?
Thanks.
same, how to solve it?
Hi all,
I could not compile the px4_fmu-v5_rtps with master and v1.13.0.rc1. But there is no compile error with v1.12.3 version.
My Environment: Ubuntu 18.04 FastDDS 2.0.2 Gradle 6.4 foonathan_memory_vendor openjdk 11.0.15
I got this error:
FAILED: ucdr-prefix/src/ucdr-stamp/ucdr-configure cd /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build && /usr/local/bin/cmake -C/home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build/ucdr-prefix/tmp/ucdr-cache-MinSizeRel.cmake -GNinja /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr && /usr/local/bin/cmake -E touch /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build/ucdr-prefix/src/ucdr-stamp/ucdr-configure loading initial cache file /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build/ucdr-prefix/tmp/ucdr-cache-MinSizeRel.cmake -- Configuring done CMake Error at cmake/common/check_configuration.cmake:120 (target_compile_options): Error evaluating generator expression:
$ Unknown language.
Call Stack (most recent call first):
CMakeLists.txt:108 (set_common_compile_options)
-- Generating done -- Build files have been written to: /home/user/PX4_V1.13.0/PX4-Autopilot/build/px4_fmu-v5_rtps/src/modules/microdds_client/src/libmicroxrceddsclient_project-build/microcdr/src/microcdr-build ninja: build stopped: subcommand failed. ninja: build stopped: subcommand failed. [291/1202] Generating RTPS topic bridge ninja: build stopped: subcommand failed. Makefile:230: recipe for target 'px4_fmu-v5_rtps' failed make: *** [px4_fmu-v5_rtps] Error 1
Why these versions does not compile?
Thanks.