gz-physics icon indicating copy to clipboard operation
gz-physics copied to clipboard

Build fail if sdformat is missing even if it is marked as optional dependency

Open traversaro opened this issue 2 years ago • 3 comments

Environment

  • OS Version: 22.04
  • Source or binary build? Source build of 7.0.0

Description

  • Expected behavior: If the CMake configuration passes, I imagine the build should pass.
  • Actual behavior: CMake config passes claiming that some components are disabled as sdformat14 is missing, but then the build fails.

Steps to reproduce

  1. Build gz-physics 7 without sdformat14

Output

2023-09-29T23:58:53.9694299Z -- The C compiler identification is GNU 12.3.0
2023-09-29T23:58:54.0992704Z -- The CXX compiler identification is GNU 12.3.0
2023-09-29T23:58:54.1391192Z -- Detecting C compiler ABI info
2023-09-29T23:58:54.2402086Z -- Detecting C compiler ABI info - done
2023-09-29T23:58:54.2668992Z -- Check for working C compiler: /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_build_env/bin/x86_64-conda-linux-gnu-cc - skipped
2023-09-29T23:58:54.2679798Z -- Detecting C compile features
2023-09-29T23:58:54.2696071Z -- Detecting C compile features - done
2023-09-29T23:58:54.2888262Z -- Detecting CXX compiler ABI info
2023-09-29T23:58:54.3921221Z -- Detecting CXX compiler ABI info - done
2023-09-29T23:58:54.4196412Z -- Check for working CXX compiler: /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_build_env/bin/x86_64-conda-linux-gnu-c++ - skipped
2023-09-29T23:58:54.4203725Z -- Detecting CXX compile features
2023-09-29T23:58:54.4216522Z -- Detecting CXX compile features - done
2023-09-29T23:58:54.4557404Z -- gz-physics7 version 7.0.0
2023-09-29T23:58:54.4558444Z -- Operating system is Linux
2023-09-29T23:58:54.4656447Z -- 
2023-09-29T23:58:54.4656902Z 
2023-09-29T23:58:54.4657184Z -- ====== Finding Dependencies ======
2023-09-29T23:58:54.4694746Z -- Looking for gz-common5 -- found version 5.4.2
2023-09-29T23:58:54.4710428Z -- Searching for dependencies of gz-common5
2023-09-29T23:58:54.4739273Z -- Looking for gz-utils2 -- found version 2.1.0
2023-09-29T23:58:54.4744490Z -- Searching for dependencies of gz-utils2
2023-09-29T23:58:54.4788166Z -- Looking for dlfcn.h - found
2023-09-29T23:58:54.4854245Z -- Looking for libdl - found
2023-09-29T23:58:54.4893192Z -- Found DL: TRUE  
2023-09-29T23:58:54.5184088Z -- Checking for module 'uuid'
2023-09-29T23:58:54.6343455Z --   Found uuid, version 2.38.1
2023-09-29T23:58:54.9484838Z -- Found UUID: TRUE  
2023-09-29T23:58:54.9550020Z -- Searching for <gz-common5> component [geospatial]
2023-09-29T23:58:54.9631204Z -- Looking for gz-common5-geospatial -- found version 5.4.2
2023-09-29T23:58:54.9639676Z -- Searching for dependencies of gz-common5-geospatial
2023-09-29T23:58:54.9681007Z -- Looking for gz-math7 -- found version 7.3.0
2023-09-29T23:58:54.9687979Z -- Searching for dependencies of gz-math7
2023-09-29T23:58:54.9699953Z -- Looking for gz-utils2 -- found version 2.1.0
2023-09-29T23:58:54.9735761Z -- Looking for gz-common5 -- found version 5.4.2
2023-09-29T23:58:54.9742337Z -- Searching for dependencies of gz-common5
2023-09-29T23:58:54.9753296Z -- Looking for gz-utils2 -- found version 2.1.0
2023-09-29T23:58:54.9760656Z -- Looking for dlfcn.h - found
2023-09-29T23:58:54.9765035Z -- Looking for libdl - found
2023-09-29T23:58:55.0088595Z -- Searching for <gz-common5> component [graphics]
2023-09-29T23:58:55.0122442Z -- Looking for gz-common5-graphics -- found version 5.4.2
2023-09-29T23:58:55.0130020Z -- Searching for dependencies of gz-common5-graphics
2023-09-29T23:58:55.0141795Z -- Looking for gz-math7 -- found version 7.3.0
2023-09-29T23:58:55.0226917Z -- Found GzAssimp: TRUE (found version "5.2.4") 
2023-09-29T23:58:55.0265288Z -- Searching for <gz-common5> component [graphics]
2023-09-29T23:58:55.0265795Z -- Searching for <gz-common5> component [profiler]
2023-09-29T23:58:55.0297917Z -- Looking for gz-common5-profiler -- found version 5.4.2
2023-09-29T23:58:55.0302842Z -- Searching for dependencies of gz-common5-profiler
2023-09-29T23:58:55.0320753Z -- Looking for gz-common5 - found
2023-09-29T23:58:55.0321005Z 
2023-09-29T23:58:55.0346819Z -- Looking for gz-math7 -- found version 7.3.0
2023-09-29T23:58:55.0353284Z -- Searching for dependencies of gz-math7
2023-09-29T23:58:55.0363685Z -- Looking for gz-utils2 -- found version 2.1.0
2023-09-29T23:58:55.0369186Z -- Searching for <gz-math7> component [eigen3]
2023-09-29T23:58:55.0401780Z -- Looking for gz-math7-eigen3 -- found version 7.3.0
2023-09-29T23:58:55.0408873Z -- Searching for dependencies of gz-math7-eigen3
2023-09-29T23:58:55.0505676Z -- Looking for gz-math7 - found
2023-09-29T23:58:55.0505998Z 
2023-09-29T23:58:55.0543234Z -- Looking for gz-plugin2 -- found version 2.0.2
2023-09-29T23:58:55.0548447Z -- Searching for dependencies of gz-plugin2
2023-09-29T23:58:55.0557605Z -- Looking for gz-utils2 -- found version 2.1.0
2023-09-29T23:58:55.0564814Z -- Searching for dependencies of gz-utils2
2023-09-29T23:58:55.0567487Z -- Searching for <gz-utils2> component [cli]
2023-09-29T23:58:55.0594718Z -- Looking for gz-utils2-cli -- found version 2.1.0
2023-09-29T23:58:55.0599873Z -- Searching for dependencies of gz-utils2-cli
2023-09-29T23:58:55.0656948Z -- Searching for <gz-plugin2> component [all]
2023-09-29T23:58:55.0688803Z -- Looking for all libraries of gz-plugin2 -- found version 2.0.2
2023-09-29T23:58:55.0700901Z -- Looking for gz-plugin2 -- found version 2.0.2
2023-09-29T23:58:55.0733643Z -- Looking for gz-plugin2-loader -- found version 2.0.2
2023-09-29T23:58:55.0737447Z -- Searching for dependencies of gz-plugin2-loader
2023-09-29T23:58:55.0784098Z -- Looking for gz-plugin2-register -- found version 2.0.2
2023-09-29T23:58:55.0787935Z -- Searching for dependencies of gz-plugin2-register
2023-09-29T23:58:55.0815928Z -- Looking for gz-plugin2 - found
2023-09-29T23:58:55.0816286Z 
2023-09-29T23:58:55.0831998Z -- Looking for gz-utils2 -- found version 2.1.0
2023-09-29T23:58:55.0834018Z -- Looking for gz-utils2 - found
2023-09-29T23:58:55.0834462Z 
2023-09-29T23:58:55.0858906Z -- Looking for EIGEN3 - found
2023-09-29T23:58:55.0859214Z 
2023-09-29T23:58:55.1032176Z CMake Warning at /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/share/cmake/gz-cmake3/cmake3/GzFindPackage.cmake:243 (find_package):
2023-09-29T23:58:55.1042658Z   By not providing "Findsdformat14.cmake" in CMAKE_MODULE_PATH this project
2023-09-29T23:58:55.1043353Z   has asked CMake to find a package configuration file provided by
2023-09-29T23:58:55.1043677Z   "sdformat14", but CMake did not find one.
2023-09-29T23:58:55.1043844Z 
2023-09-29T23:58:55.1044115Z   Could not find a package configuration file provided by "sdformat14" with
2023-09-29T23:58:55.1044428Z   any of the following names:
2023-09-29T23:58:55.1044578Z 
2023-09-29T23:58:55.1044816Z     sdformat14Config.cmake
2023-09-29T23:58:55.1045217Z     sdformat14-config.cmake
2023-09-29T23:58:55.1045391Z 
2023-09-29T23:58:55.1045697Z   Add the installation prefix of "sdformat14" to CMAKE_PREFIX_PATH or set
2023-09-29T23:58:55.1046038Z   "sdformat14_DIR" to a directory containing one of the above files.  If
2023-09-29T23:58:55.1046378Z   "sdformat14" provides a separate development package or SDK, be sure it has
2023-09-29T23:58:55.1046662Z   been installed.
2023-09-29T23:58:55.1046905Z Call Stack (most recent call first):
2023-09-29T23:58:55.1047206Z   CMakeLists.txt:66 (gz_find_package)
2023-09-29T23:58:55.1047373Z 
2023-09-29T23:58:55.1047459Z 
2023-09-29T23:58:55.1051259Z -- Looking for sdformat14 - not found
2023-09-29T23:58:55.1051757Z 
2023-09-29T23:58:55.6532816Z -- Found assimp: /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include;/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include (found version "5.2.4") 
2023-09-29T23:58:55.6916514Z -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
2023-09-29T23:58:55.7818657Z -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
2023-09-29T23:58:55.7825776Z -- Looking for pthread_create in pthreads
2023-09-29T23:58:55.8469770Z -- Looking for pthread_create in pthreads - not found
2023-09-29T23:58:55.8470515Z -- Looking for pthread_create in pthread
2023-09-29T23:58:55.9279665Z -- Looking for pthread_create in pthread - found
2023-09-29T23:58:55.9300416Z -- Found Threads: TRUE  
2023-09-29T23:58:55.9961694Z -- Found DART: /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include (Required is at least version "6.9") found components: collision-bullet collision-ode utils utils-urdf dart 
2023-09-29T23:58:55.9967496Z -- Looking for DART - found
2023-09-29T23:58:55.9967793Z 
2023-09-29T23:58:56.0374112Z -- Found Bullet: /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/lib/libBulletDynamics.so  
2023-09-29T23:58:56.0388166Z -- Looking for GzBullet - found
2023-09-29T23:58:56.0388589Z 
2023-09-29T23:58:56.0397461Z -- -------------------------------------------
2023-09-29T23:58:56.0399826Z 
2023-09-29T23:58:56.0405863Z CMake Warning at /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/share/cmake/gz-cmake3/cmake3/GzConfigureBuild.cmake:68 (message):
2023-09-29T23:58:56.0406577Z    CONFIGURATION WARNINGS:
2023-09-29T23:58:56.0406921Z    -- Skipping component [sdf]: Missing dependency [sdformat14].
2023-09-29T23:58:56.0407260Z       ^~~~~ Set SKIP_sdf=true in cmake to suppress this warning.
2023-09-29T23:58:56.0407492Z    
2023-09-29T23:58:56.0407846Z    -- Skipping component [dartsim]: Missing dependency [sdformat14].
2023-09-29T23:58:56.0408717Z       ^~~~~ Set SKIP_dartsim=true in cmake to suppress this warning.
2023-09-29T23:58:56.0408985Z    
2023-09-29T23:58:56.0409311Z    -- Skipping component [tpe]: Missing dependency [sdformat14].
2023-09-29T23:58:56.0409612Z       ^~~~~ Set SKIP_tpe=true in cmake to suppress this warning.
2023-09-29T23:58:56.0409867Z    
2023-09-29T23:58:56.0410221Z    -- Skipping component [bullet]: Missing dependency [sdformat14].
2023-09-29T23:58:56.0410546Z       ^~~~~ Set SKIP_bullet=true in cmake to suppress this warning.
2023-09-29T23:58:56.0410786Z    
2023-09-29T23:58:56.0411027Z Call Stack (most recent call first):
2023-09-29T23:58:56.0411466Z   CMakeLists.txt:106 (gz_configure_build)
2023-09-29T23:58:56.0411939Z 
2023-09-29T23:58:56.0412133Z 
2023-09-29T23:58:57.3112703Z -- 
2023-09-29T23:58:57.3114004Z -- Searching for host SSE information
2023-09-29T23:58:57.3559121Z -- SSE2 found
2023-09-29T23:58:57.3559951Z -- SSE3 found
2023-09-29T23:58:57.3560982Z -- SSE4.1 found
2023-09-29T23:58:57.3561526Z -- SSE4.2 found
2023-09-29T23:58:57.3772368Z -- Configuring library: gz-physics7
2023-09-29T23:58:57.3836164Z -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY
2023-09-29T23:58:57.4756056Z -- Performing Test COMPILER_HAS_HIDDEN_VISIBILITY - Success
2023-09-29T23:58:57.4773209Z -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY
2023-09-29T23:58:57.5755896Z -- Performing Test COMPILER_HAS_HIDDEN_INLINE_VISIBILITY - Success
2023-09-29T23:58:57.5762627Z -- Performing Test COMPILER_HAS_DEPRECATED_ATTR
2023-09-29T23:58:57.6703439Z -- Performing Test COMPILER_HAS_DEPRECATED_ATTR - Success
2023-09-29T23:58:57.6812282Z -- Adding 7 UNIT tests
2023-09-29T23:58:58.4918141Z CMake Warning at /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/share/cmake/gz-cmake3/cmake3/GzBenchmark.cmake:81 (find_package):
2023-09-29T23:58:58.4926199Z   By not providing "Findbenchmark.cmake" in CMAKE_MODULE_PATH this project
2023-09-29T23:58:58.4926619Z   has asked CMake to find a package configuration file provided by
2023-09-29T23:58:58.4927033Z   "benchmark", but CMake did not find one.
2023-09-29T23:58:58.4927237Z 
2023-09-29T23:58:58.4927560Z   Could not find a package configuration file provided by "benchmark" with
2023-09-29T23:58:58.4927903Z   any of the following names:
2023-09-29T23:58:58.4928114Z 
2023-09-29T23:58:58.4928368Z     benchmarkConfig.cmake
2023-09-29T23:58:58.4928937Z     benchmark-config.cmake
2023-09-29T23:58:58.4929150Z 
2023-09-29T23:58:58.4929464Z   Add the installation prefix of "benchmark" to CMAKE_PREFIX_PATH or set
2023-09-29T23:58:58.4929826Z   "benchmark_DIR" to a directory containing one of the above files.  If
2023-09-29T23:58:58.4930203Z   "benchmark" provides a separate development package or SDK, be sure it has
2023-09-29T23:58:58.4930522Z   been installed.
2023-09-29T23:58:58.4930833Z Call Stack (most recent call first):
2023-09-29T23:58:58.4931177Z   test/benchmark/CMakeLists.txt:7 (gz_add_benchmarks)
2023-09-29T23:58:58.4931708Z 
2023-09-29T23:58:58.4931875Z 
2023-09-29T23:58:58.4932827Z CMake Warning at /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/share/cmake/gz-cmake3/cmake3/GzBenchmark.cmake:83 (message):
2023-09-29T23:58:58.4933588Z   Unable to find google benchmark (libbenchmark-dev).  Disabling benchmarks.
2023-09-29T23:58:58.4933863Z Call Stack (most recent call first):
2023-09-29T23:58:58.4934133Z   test/benchmark/CMakeLists.txt:7 (gz_add_benchmarks)
2023-09-29T23:58:58.4934319Z 
2023-09-29T23:58:58.4934405Z 
2023-09-29T23:58:58.6464729Z -- Adding 13 INTEGRATION tests
2023-09-29T23:58:58.7939952Z -- Adding 2 PERFORMANCE tests
2023-09-29T23:58:58.9392677Z -- No tests have been specified for REGRESSION
2023-09-29T23:58:59.0821325Z -- Skipping the component [sdf] because the following packages are missing: sdformat14
2023-09-29T23:58:59.0844479Z -- Configuring library: gz-physics7-heightmap
2023-09-29T23:58:59.0912406Z -- Configuring library: gz-physics7-mesh
2023-09-29T23:58:59.0944460Z -- Skipping the component [dartsim] because the following packages are missing: sdformat14
2023-09-29T23:58:59.0945500Z -- Skipping the component [tpe] because the following packages are missing: sdformat14
2023-09-29T23:58:59.0946018Z -- Skipping the component [bullet] because the following packages are missing: sdformat14
2023-09-29T23:58:59.0977266Z -- Configuring library: gz-physics7-bullet-featherstone
2023-09-29T23:58:59.1000988Z -- Configuring library: gz-physics7-bullet-featherstone-plugin
2023-09-29T23:58:59.2634548Z -- The program [cppcheck] was not found! Skipping codecheck setup
2023-09-29T23:58:59.2636200Z -- Build configuration successful
2023-09-29T23:58:59.2637497Z -- Build type: Release
2023-09-29T23:58:59.2638476Z -- Install prefix: /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold
2023-09-29T23:58:59.3131003Z -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
2023-09-29T23:58:59.4708315Z -- Configuring done (5.6s)
2023-09-29T23:58:59.6710390Z -- Generating done (0.2s)
2023-09-29T23:58:59.6895007Z CMake Warning:
2023-09-29T23:58:59.6896341Z   Manually-specified variables were not used by the project:
2023-09-29T23:58:59.6896690Z 
2023-09-29T23:58:59.6897058Z     CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP
2023-09-29T23:58:59.6897323Z 
2023-09-29T23:58:59.6897559Z 
2023-09-29T23:58:59.6906795Z -- Build files have been written to: /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/build
2023-09-29T23:59:00.9404386Z [1/107] Building CXX object src/CMakeFiles/gz-physics7.dir/CanReadData.cc.o
2023-09-29T23:59:01.0469888Z [2/107] Building CXX object src/CMakeFiles/gz-physics7.dir/CanWriteData.cc.o
2023-09-29T23:59:01.3684092Z [3/107] Building CXX object src/CMakeFiles/gz-physics7.dir/CompositeData.cc.o
2023-09-29T23:59:01.6480685Z [4/107] Building CXX object src/CMakeFiles/gz-physics7.dir/FrameID.cc.o
2023-09-29T23:59:01.6664443Z [5/107] Building CXX object src/CMakeFiles/gz-physics7.dir/DataStatusMask.cc.o
2023-09-29T23:59:02.5678867Z [6/107] Building CXX object src/CMakeFiles/gz-physics7.dir/Identity.cc.o
2023-09-29T23:59:02.8627051Z [7/107] Building CXX object src/CMakeFiles/gz-physics7.dir/gz-physics7_get_install_prefix_impl.cc.o
2023-09-29T23:59:07.6277807Z [8/107] Building CXX object src/CMakeFiles/UNIT_Cloneable_TEST.dir/Cloneable_TEST.cc.o
2023-09-29T23:59:10.1845347Z [9/107] Building CXX object src/CMakeFiles/gz-physics7.dir/InstallationDirectories.cc.o
2023-09-29T23:59:10.4149109Z [10/107] Linking CXX shared library lib/libgz-physics7.so.7.0.0
2023-09-29T23:59:10.4466224Z [11/107] Creating library symlink lib/libgz-physics7.so.7 lib/libgz-physics7.so
2023-09-29T23:59:14.7194223Z [12/107] Building CXX object src/CMakeFiles/UNIT_Feature_TEST.dir/Feature_TEST.cc.o
2023-09-29T23:59:14.9628178Z [13/107] Building CXX object src/CMakeFiles/UNIT_CompositeData_TEST.dir/CompositeData_TEST.cc.o
2023-09-29T23:59:15.4366168Z [14/107] Building CXX object src/CMakeFiles/UNIT_FeatureList_TEST.dir/FeatureList_TEST.cc.o
2023-09-29T23:59:17.4350756Z [15/107] Building CXX object src/CMakeFiles/UNIT_FilterTuple_TEST.dir/FilterTuple_TEST.cc.o
2023-09-29T23:59:19.5657659Z [16/107] Building CXX object src/CMakeFiles/UNIT_FindFeatures_TEST.dir/FindFeatures_TEST.cc.o
2023-09-29T23:59:21.7093520Z [17/107] Building CXX object test/gtest_vendor/CMakeFiles/gtest_main.dir/src/gtest_main.cc.o
2023-09-29T23:59:22.4554940Z [18/107] Building CXX object test/common_test/CMakeFiles/COMMON_TEST_added_mass.dir/added_mass.cc.o
2023-09-29T23:59:22.4557395Z FAILED: test/common_test/CMakeFiles/COMMON_TEST_added_mass.dir/added_mass.cc.o 
2023-09-29T23:59:22.4573638Z /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_build_env/bin/x86_64-conda-linux-gnu-c++ -DGZ_PHYSICS_RESOURCE_DIR=\"/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/resources\" -DGZ_PROFILER_ENABLE=0 -DTEST_WORLD_DIR=\"/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/test/common_test/worlds/\" -I/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/include -I/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/build/include -I/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include/bullet -I/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/build/core/include -I/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/mesh/include -I/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/build/mesh/include -isystem /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include/gz/plugin2 -isystem /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include/gz/utils2 -isystem /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include/gz/common5 -isystem /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include/uuid -isystem /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include/gz/math7 -isystem /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include/eigen3 -isystem /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/test/gtest_vendor/include -fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work=/usr/local/src/conda/libgz-physics7-7.0.0 -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold=/usr/local/src/conda-prefix -O3 -DNDEBUG  -Wall -Wextra -Wno-long-long -Wno-unused-value -Wfloat-equal -Wshadow -Winit-self -Wswitch-default -Wmissing-include-dirs -pedantic  -std=c++17 -fvisibility=default -msse -msse2 -mfpmath=sse -msse3 -mssse3 -msse4.1 -msse4.2 -I/home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/include/uuid -MD -MT test/common_test/CMakeFiles/COMMON_TEST_added_mass.dir/added_mass.cc.o -MF test/common_test/CMakeFiles/COMMON_TEST_added_mass.dir/added_mass.cc.o.d -o test/common_test/CMakeFiles/COMMON_TEST_added_mass.dir/added_mass.cc.o -c /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/test/common_test/added_mass.cc
2023-09-29T23:59:22.4580443Z /home/conda/feedstock_root/build_artifacts/gz-physics7_1696031713776/work/test/common_test/added_mass.cc:33:10: fatal error: gz/physics/sdf/ConstructWorld.hh: No such file or directory
2023-09-29T23:59:22.4580986Z    33 | #include <gz/physics/sdf/ConstructWorld.hh>
2023-09-29T23:59:22.4581315Z       |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-09-29T23:59:22.4581628Z compilation terminated.
2023-09-29T23:59:26.9355084Z [19/107] Building CXX object src/CMakeFiles/UNIT_SpecifyData_TEST.dir/SpecifyData_TEST.cc.o
2023-09-29T23:59:32.5215093Z [20/107] Building CXX object test/gtest_vendor/CMakeFiles/gtest.dir/src/gtest-all.cc.o

traversaro avatar Sep 30 '23 11:09 traversaro

Perhaps sdformat14 should be a compulsory dep at this point?

traversaro avatar Sep 30 '23 11:09 traversaro

I attempted to fix some similar issues in https://github.com/gazebosim/gz-physics/pull/523, but I guess there's still a bit more to be done

scpeters avatar Oct 30 '23 20:10 scpeters

see also https://github.com/gazebosim/gz-physics/issues/522

scpeters avatar Oct 30 '23 20:10 scpeters