BUG Building error, linking error with simulate #2885
Unanswered
Karag0
asked this question in
Asking for Help
Replies: 1 comment
-
Building with clang solves this, just write this for fish
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Intro
I am using mujoco for my experiments
My setup
Arch linux x86_64. gcc 15.2.1 cmake 4.1.1.
Repo version origin/master
My question
I'm trying to compile mujoco from source, but it throws linking errors.
Steps to reproduce:
log:
🚀 vlad …/mujoco/build main 14:59 ❯ cmake ..
-- The C compiler identification is GNU 15.2.1
-- The CXX compiler identification is GNU 15.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Performing Test CAN_BUILD_AVX
-- Performing Test CAN_BUILD_AVX - Success
-- Performing Test SUPPORTS_LLD
-- Performing Test SUPPORTS_LLD - Success
-- Performing Test SUPPORTS_GC_SECTIONS
-- Performing Test SUPPORTS_GC_SECTIONS - Success
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(lodepng) is deprecated, call
FetchContent_MakeAvailable(lodepng) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(lodepng) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/MujocoDependencies.cmake:102 (FetchContent_Populate)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(marchingcubecpp) is deprecated, call
FetchContent_MakeAvailable(marchingcubecpp) instead. Policy CMP0169 can be
set to OLD to allow FetchContent_Populate(marchingcubecpp) to be called
directly for now, but the ability to call it with declared details will be
removed completely in a future version.
Call Stack (most recent call first):
cmake/MujocoDependencies.cmake:122 (FetchContent_Populate)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- mujoco::FindOrFetch: checking for targets in package
qhull
-- mujoco::FindOrFetch: checking for targets in package
qhull
- targetqhull
not defined.-- mujoco::FindOrFetch: Using FetchContent to retrieve
qhull
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(qhull) is deprecated, call
FetchContent_MakeAvailable(qhull) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(qhull) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/FindOrFetch.cmake:126 (FetchContent_Populate)
cmake/MujocoDependencies.cmake:129 (findorfetch)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for inttypes.h
-- Looking for inttypes.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Check size of off_t
-- Check size of off_t - done
-- Looking for fseeko
-- Looking for fseeko - found
-- Looking for ftello
-- Looking for ftello - found
-- Looking for PRIdMAX
-- Looking for PRIdMAX - found
-- ========== qhull Build Information ==========
-- Build Version: 8.1-alpha3
-- Install Prefix (CMAKE_INSTALL_PREFIX): /usr/local
-- Binary Directory (CMAKE_INSTALL_BINDIR): bin
-- Library Directory (CMAKE_INSTALL_LIBDIR): lib
-- Include Directory (CMAKE_INSTALL_INCLUDEDIR): include
-- Documentation Directory (CMAKE_INSTALL_DOCDIR): share/doc/mujoco
-- Man Pages Directory (CMAKE_INSTALL_MANDIR): share/man
-- Build Type (CMAKE_BUILD_TYPE): Release
-- Build static libraries: ON
-- Build shared library: OFF
-- Use shared library for linking apps: OFF
-- Build tests: OFF
-- To override these options, add -D{OPTION_NAME}=... to the cmake command
-- Build the debug targets -DCMAKE_BUILD_TYPE=Debug
-- To build and install qhull, enter "make" and "make install"
-- To smoketest qhull, enter "ctest"
-- mujoco::FindOrFetch: Using FetchContent to retrieve
qhull
- Done-- mujoco::FindOrFetch: checking for targets in package
tinyxml2
-- mujoco::FindOrFetch: checking for targets in package
tinyxml2
- targettinyxml2
not defined.-- mujoco::FindOrFetch: Using FetchContent to retrieve
tinyxml2
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(tinyxml2) is deprecated, call
FetchContent_MakeAvailable(tinyxml2) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(tinyxml2) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/FindOrFetch.cmake:126 (FetchContent_Populate)
cmake/MujocoDependencies.cmake:153 (findorfetch)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- mujoco::FindOrFetch: Using FetchContent to retrieve
tinyxml2
- Done-- mujoco::FindOrFetch: checking for targets in package
tinyobjloader
-- mujoco::FindOrFetch: checking for targets in package
tinyobjloader
- targettinyobjloader
not defined.-- mujoco::FindOrFetch: Using FetchContent to retrieve
tinyobjloader
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(tinyobjloader) is deprecated, call
FetchContent_MakeAvailable(tinyobjloader) instead. Policy CMP0169 can be
set to OLD to allow FetchContent_Populate(tinyobjloader) to be called
directly for now, but the ability to call it with declared details will be
removed completely in a future version.
Call Stack (most recent call first):
cmake/FindOrFetch.cmake:126 (FetchContent_Populate)
cmake/MujocoDependencies.cmake:176 (findorfetch)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- mujoco::FindOrFetch: Using FetchContent to retrieve
tinyobjloader
- DoneCMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(trianglemeshdistance) is deprecated, call
FetchContent_MakeAvailable(trianglemeshdistance) instead. Policy CMP0169
can be set to OLD to allow FetchContent_Populate(trianglemeshdistance) to
be called directly for now, but the ability to call it with declared
details will be removed completely in a future version.
Call Stack (most recent call first):
cmake/MujocoDependencies.cmake:205 (FetchContent_Populate)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- mujoco::FindOrFetch: checking for targets in package
ccd
-- mujoco::FindOrFetch: checking for targets in package
ccd
- targetccd
not defined.-- mujoco::FindOrFetch: Using FetchContent to retrieve
ccd
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(ccd) is deprecated, call
FetchContent_MakeAvailable(ccd) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(ccd) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
cmake/FindOrFetch.cmake:126 (FetchContent_Populate)
cmake/MujocoDependencies.cmake:217 (findorfetch)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Performing Test COMPILER_SUPPORTS_VISIBILITY
-- Performing Test COMPILER_SUPPORTS_VISIBILITY - Success
-- mujoco::FindOrFetch: Using FetchContent to retrieve
ccd
- Done-- mujoco::FindOrFetch: checking for targets in package
absl
-- mujoco::FindOrFetch: checking for targets in package
absl
- targetabsl::core_headers
not defined.-- mujoco::FindOrFetch: Using FetchContent to retrieve
abseil-cpp
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(abseil-cpp) is deprecated, call
FetchContent_MakeAvailable(abseil-cpp) instead. Policy CMP0169 can be set
to OLD to allow FetchContent_Populate(abseil-cpp) to be called directly for
now, but the ability to call it with declared details will be removed
completely in a future version.
Call Stack (most recent call first):
cmake/FindOrFetch.cmake:126 (FetchContent_Populate)
cmake/MujocoDependencies.cmake:261 (findorfetch)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX17 - Success
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20
-- Performing Test ABSL_INTERNAL_AT_LEAST_CXX20 - Failed
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- mujoco::FindOrFetch: Using FetchContent to retrieve
abseil-cpp
- Done-- mujoco::FindOrFetch: checking for targets in package
GTest
-- mujoco::FindOrFetch: checking for targets in package
GTest
- targetgtest
not defined.-- mujoco::FindOrFetch: Using FetchContent to retrieve
googletest
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(googletest) is deprecated, call
FetchContent_MakeAvailable(googletest) instead. Policy CMP0169 can be set
to OLD to allow FetchContent_Populate(googletest) to be called directly for
now, but the ability to call it with declared details will be removed
completely in a future version.
Call Stack (most recent call first):
cmake/FindOrFetch.cmake:126 (FetchContent_Populate)
cmake/MujocoDependencies.cmake:288 (findorfetch)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- mujoco::FindOrFetch: Using FetchContent to retrieve
googletest
- Done-- mujoco::FindOrFetch: checking for targets in package
benchmark
-- mujoco::FindOrFetch: checking for targets in package
benchmark
- targetbenchmark::benchmark
not defined.-- mujoco::FindOrFetch: Using FetchContent to retrieve
benchmark
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(benchmark) is deprecated, call
FetchContent_MakeAvailable(benchmark) instead. Policy CMP0169 can be set
to OLD to allow FetchContent_Populate(benchmark) to be called directly for
now, but the ability to call it with declared details will be removed
completely in a future version.
Call Stack (most recent call first):
cmake/FindOrFetch.cmake:126 (FetchContent_Populate)
cmake/MujocoDependencies.cmake:322 (findorfetch)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- LLVM FileCheck Found: /usr/bin/FileCheck
-- Found Git: /usr/bin/git (found version "2.51.0")
-- Google Benchmark version: v1.9.1-20-g049f6e79, normalized to 1.9.1.20
-- Looking for shm_open in rt
-- Looking for shm_open in rt - found
-- Performing Test HAVE_CXX_FLAG_WALL
-- Performing Test HAVE_CXX_FLAG_WALL - Success
-- Performing Test HAVE_CXX_FLAG_WEXTRA
-- Performing Test HAVE_CXX_FLAG_WEXTRA - Success
-- Performing Test HAVE_CXX_FLAG_WSHADOW
-- Performing Test HAVE_CXX_FLAG_WSHADOW - Success
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL
-- Performing Test HAVE_CXX_FLAG_WFLOAT_EQUAL - Success
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST
-- Performing Test HAVE_CXX_FLAG_WOLD_STYLE_CAST - Success
-- Performing Test HAVE_CXX_FLAG_WCONVERSION
-- Performing Test HAVE_CXX_FLAG_WCONVERSION - Success
-- Performing Test HAVE_CXX_FLAG_WERROR
-- Performing Test HAVE_CXX_FLAG_WERROR - Success
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE
-- Performing Test HAVE_CXX_FLAG_WSUGGEST_OVERRIDE - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC
-- Performing Test HAVE_CXX_FLAG_PEDANTIC - Success
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS
-- Performing Test HAVE_CXX_FLAG_PEDANTIC_ERRORS - Success
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32
-- Performing Test HAVE_CXX_FLAG_WSHORTEN_64_TO_32 - Failed
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_FSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED_DECLARATIONS - Success
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED
-- Performing Test HAVE_CXX_FLAG_WNO_DEPRECATED - Success
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING
-- Performing Test HAVE_CXX_FLAG_WSTRICT_ALIASING - Success
-- Performing Test HAVE_CXX_FLAG_WD654
-- Performing Test HAVE_CXX_FLAG_WD654 - Failed
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY
-- Performing Test HAVE_CXX_FLAG_WTHREAD_SAFETY - Failed
-- Performing Test HAVE_CXX_FLAG_COVERAGE
-- Performing Test HAVE_CXX_FLAG_COVERAGE - Success
-- Compiling and running to test HAVE_STD_REGEX
-- Performing Test HAVE_STD_REGEX -- success
-- Compiling and running to test HAVE_GNU_POSIX_REGEX
-- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
-- Compiling and running to test HAVE_POSIX_REGEX
-- Performing Test HAVE_POSIX_REGEX -- success
-- Compiling and running to test HAVE_STEADY_CLOCK
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Compiling and running to test HAVE_PTHREAD_AFFINITY
-- Performing Test HAVE_PTHREAD_AFFINITY -- success
-- mujoco::FindOrFetch: Using FetchContent to retrieve
benchmark
- DoneCMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(Eigen3) is deprecated, call
FetchContent_MakeAvailable(Eigen3) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(Eigen3) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/MujocoDependencies.cmake:355 (FetchContent_Populate)
CMakeLists.txt:74 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- mujoco::FindOrFetch: checking for targets in package
mujoco
-- mujoco::FindOrFetch: checking for targets in package
mujoco
- found-- mujoco::FindOrFetch: checking for targets in package
glfw3
-- mujoco::FindOrFetch: checking for targets in package
glfw3
- targetglfw
not defined.-- mujoco::FindOrFetch: Using FetchContent to retrieve
glfw3
CMake Warning (dev) at /usr/share/cmake/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(glfw3) is deprecated, call
FetchContent_MakeAvailable(glfw3) instead. Policy CMP0169 can be set to
OLD to allow FetchContent_Populate(glfw3) to be called directly for now,
but the ability to call it with declared details will be removed completely
in a future version.
Call Stack (most recent call first):
cmake/FindOrFetch.cmake:126 (FetchContent_Populate)
simulate/cmake/SimulateDependencies.cmake:77 (findorfetch)
simulate/CMakeLists.txt:65 (include)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Including Wayland support
-- Including X11 support
-- Looking for memfd_create
-- Looking for memfd_create - found
-- Found PkgConfig: /usr/bin/pkg-config (found version "2.5.1")
-- Checking for modules 'wayland-client>=0.2.7;wayland-cursor>=0.2.7;wayland-egl>=0.2.7;xkbcommon>=0.5.0'
-- Found wayland-client, version 1.24.0
-- Found wayland-cursor, version 1.24.0
-- Found wayland-egl, version 18.1.0
-- Found xkbcommon, version 1.11.0
-- Found X11: /usr/include
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- mujoco::FindOrFetch: Using FetchContent to retrieve
glfw3
- Done-- mujoco::FindOrFetch: checking for targets in package
mujoco
-- mujoco::FindOrFetch: checking for targets in package
mujoco
- found-- mujoco::FindOrFetch: checking for targets in package
glfw3
-- mujoco::FindOrFetch: checking for targets in package
glfw3
- found-- Configuring done (99.0s)
-- Generating done (0.4s)
-- Build files have been written to: /home/vlad/src/mujoco/build
🚀 vlad …/mujoco/build main 15:00 in 1m39s413ms ❯ cmake --build .
[ 0%] Building CXX object CMakeFiles/lodepng.dir/_deps/lodepng-src/lodepng.cpp.o
[ 0%] Linking CXX static library lib/liblodepng.a
[ 0%] Built target lodepng
[ 0%] Building C object _deps/ccd-build/src/CMakeFiles/ccd.dir/ccd.c.o
[ 0%] Building C object _deps/ccd-build/src/CMakeFiles/ccd.dir/mpr.c.o
[ 1%] Building C object _deps/ccd-build/src/CMakeFiles/ccd.dir/polytope.c.o
[ 1%] Building C object _deps/ccd-build/src/CMakeFiles/ccd.dir/support.c.o
[ 1%] Building C object _deps/ccd-build/src/CMakeFiles/ccd.dir/vec3.c.o
[ 1%] Linking C static library ../../../lib/libccd.a
[ 1%] Built target ccd
[ 1%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/global_r.c.o
[ 1%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/stat_r.c.o
[ 1%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/geom2_r.c.o
[ 1%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/poly2_r.c.o
[ 2%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/merge_r.c.o
[ 2%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/libqhull_r.c.o
[ 2%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/geom_r.c.o
[ 2%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/poly_r.c.o
[ 2%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/qset_r.c.o
[ 2%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/mem_r.c.o
[ 2%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/random_r.c.o
[ 4%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/usermem_r.c.o
[ 4%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/userprintf_r.c.o
[ 4%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/io_r.c.o
[ 4%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/user_r.c.o
[ 4%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/accessors_r.c.o
[ 4%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/rboxlib_r.c.o
[ 4%] Building C object _deps/qhull-build/CMakeFiles/qhullstatic_r.dir/src/libqhull_r/userprintf_rbox_r.c.o
[ 5%] Linking C static library ../../lib/libqhullstatic_r.a
[ 5%] Built target qhullstatic_r
[ 5%] Building CXX object _deps/tinyxml2-build/CMakeFiles/tinyxml2.dir/tinyxml2.cpp.o
[ 7%] Linking CXX static library ../../lib/libtinyxml2.a
[ 7%] Built target tinyxml2
[ 7%] Building CXX object _deps/tinyobjloader-build/CMakeFiles/tinyobjloader.dir/tiny_obj_loader.cc.o
[ 7%] Linking CXX static library ../../lib/libtinyobjloader.a
[ 7%] Built target tinyobjloader
[ 8%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_callback.c.o
[ 8%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_collision_box.c.o
[ 8%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_collision_convex.c.o
[ 8%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_collision_driver.c.o
[ 8%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_collision_gjk.c.o
[ 8%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_collision_primitive.c.o
[ 10%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_collision_sdf.c.o
[ 10%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_core_constraint.c.o
[ 10%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_core_util.c.o
[ 10%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_core_smooth.c.o
[ 10%] Building CXX object CMakeFiles/mujoco.dir/src/engine/engine_crossplatform.cc.o
[ 10%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_derivative.c.o
[ 10%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_derivative_fd.c.o
[ 11%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_forward.c.o
[ 11%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_inverse.c.o
[ 11%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_init.c.o
[ 11%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_island.c.o
[ 11%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_io.c.o
[ 11%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_memory.c.o
[ 11%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_name.c.o
[ 13%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_passive.c.o
[ 13%] Building CXX object CMakeFiles/mujoco.dir/src/engine/engine_plugin.cc.o
[ 13%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_print.c.o
[ 13%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_ray.c.o
[ 13%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_sensor.c.o
[ 13%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_setconst.c.o
[ 13%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_solver.c.o
[ 14%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_support.c.o
[ 14%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_util_blas.c.o
[ 14%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_util_errmem.c.o
[ 14%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_util_misc.c.o
[ 14%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_util_solve.c.o
[ 14%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_util_sparse.c.o
[ 14%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_util_spatial.c.o
[ 15%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_vis_init.c.o
[ 15%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_vis_interact.c.o
[ 15%] Building C object CMakeFiles/mujoco.dir/src/engine/engine_vis_visualize.c.o
[ 15%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_api.cc.o
[ 15%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_cache.cc.o
[ 15%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_composite.cc.o
[ 15%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_flexcomp.cc.o
[ 17%] Building C object CMakeFiles/mujoco.dir/src/user/user_init.c.o
[ 17%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_mesh.cc.o
[ 17%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_model.cc.o
[ 17%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_objects.cc.o
[ 17%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_resource.cc.o
[ 17%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_util.cc.o
[ 17%] Building CXX object CMakeFiles/mujoco.dir/src/user/user_vfs.cc.o
[ 18%] Building CXX object CMakeFiles/mujoco.dir/src/xml/xml_api.cc.o
[ 18%] Building CXX object CMakeFiles/mujoco.dir/src/xml/xml_base.cc.o
[ 18%] Building CXX object CMakeFiles/mujoco.dir/src/xml/xml.cc.o
[ 18%] Building CXX object CMakeFiles/mujoco.dir/src/xml/xml_native_reader.cc.o
[ 18%] Building CXX object CMakeFiles/mujoco.dir/src/xml/xml_numeric_format.cc.o
[ 18%] Building CXX object CMakeFiles/mujoco.dir/src/xml/xml_native_writer.cc.o
[ 18%] Building CXX object CMakeFiles/mujoco.dir/src/xml/xml_urdf.cc.o
[ 20%] Building CXX object CMakeFiles/mujoco.dir/src/xml/xml_util.cc.o
[ 20%] Building C object CMakeFiles/mujoco.dir/src/render/glad/glad.c.o
[ 20%] Building CXX object CMakeFiles/mujoco.dir/src/render/glad/loader.cc.o
[ 20%] Building C object CMakeFiles/mujoco.dir/src/render/render_context.c.o
[ 20%] Building C object CMakeFiles/mujoco.dir/src/render/render_gl2.c.o
[ 20%] Building C object CMakeFiles/mujoco.dir/src/render/render_gl3.c.o
[ 20%] Building C object CMakeFiles/mujoco.dir/src/render/render_util.c.o
[ 21%] Building CXX object CMakeFiles/mujoco.dir/src/thread/thread_pool.cc.o
[ 21%] Building CXX object CMakeFiles/mujoco.dir/src/thread/thread_task.cc.o
[ 21%] Building C object CMakeFiles/mujoco.dir/src/ui/ui_main.c.o
[ 21%] Linking CXX shared library lib/libmujoco.so
[ 21%] Built target mujoco
[ 21%] Building CXX object plugin/elasticity/CMakeFiles/elasticity.dir/cable.cc.o
[ 21%] Building CXX object plugin/elasticity/CMakeFiles/elasticity.dir/elasticity.cc.o
[ 21%] Building CXX object plugin/elasticity/CMakeFiles/elasticity.dir/register.cc.o
[ 21%] Linking CXX shared library ../../lib/libelasticity.so
[ 21%] Built target elasticity
[ 21%] Building CXX object plugin/actuator/CMakeFiles/actuator.dir/pid.cc.o
[ 21%] Building CXX object plugin/actuator/CMakeFiles/actuator.dir/register.cc.o
[ 21%] Linking CXX shared library ../../lib/libactuator.so
[ 21%] Built target actuator
[ 21%] Building CXX object plugin/sensor/CMakeFiles/sensor.dir/register.cc.o
[ 21%] Building CXX object plugin/sensor/CMakeFiles/sensor.dir/touch_grid.cc.o
[ 21%] Linking CXX shared library ../../lib/libsensor.so
[ 21%] Built target sensor
[ 23%] Building CXX object plugin/sdf/CMakeFiles/sdf_plugin.dir/sdf.cc.o
[ 23%] Building CXX object plugin/sdf/CMakeFiles/sdf_plugin.dir/bolt.cc.o
[ 23%] Building CXX object plugin/sdf/CMakeFiles/sdf_plugin.dir/bowl.cc.o
[ 23%] Building CXX object plugin/sdf/CMakeFiles/sdf_plugin.dir/gear.cc.o
[ 23%] Building CXX object plugin/sdf/CMakeFiles/sdf_plugin.dir/register.cc.o
[ 23%] Building CXX object plugin/sdf/CMakeFiles/sdf_plugin.dir/nut.cc.o
[ 24%] Building CXX object plugin/sdf/CMakeFiles/sdf_plugin.dir/torus.cc.o
[ 24%] Linking CXX shared library ../../lib/libsdf_plugin.so
[ 24%] Built target sdf_plugin
[ 24%] Building CXX object simulate/CMakeFiles/platform_ui_adapter.dir/glfw_adapter.cc.o
[ 24%] Building CXX object simulate/CMakeFiles/platform_ui_adapter.dir/glfw_dispatch.cc.o
[ 24%] Building CXX object simulate/CMakeFiles/platform_ui_adapter.dir/platform_ui_adapter.cc.o
[ 24%] Built target platform_ui_adapter
[ 24%] Building CXX object simulate/CMakeFiles/libmujoco_simulate.dir/simulate.cc.o
[ 26%] Linking CXX static library ../lib/libsimulate.a
[ 26%] Built target libmujoco_simulate
[ 26%] Generating xdg-shell-client-protocol.h
[ 26%] Generating fractional-scale-v1-client-protocol-code.h
[ 27%] Generating fractional-scale-v1-client-protocol.h
[ 27%] Generating idle-inhibit-unstable-v1-client-protocol-code.h
[ 27%] Generating idle-inhibit-unstable-v1-client-protocol.h
[ 27%] Generating pointer-constraints-unstable-v1-client-protocol-code.h
[ 27%] Generating pointer-constraints-unstable-v1-client-protocol.h
[ 27%] Generating relative-pointer-unstable-v1-client-protocol-code.h
[ 27%] Generating relative-pointer-unstable-v1-client-protocol.h
[ 27%] Generating viewporter-client-protocol-code.h
[ 27%] Generating viewporter-client-protocol.h
[ 27%] Generating wayland-client-protocol-code.h
[ 27%] Generating wayland-client-protocol.h
[ 27%] Generating xdg-activation-v1-client-protocol-code.h
[ 27%] Generating xdg-activation-v1-client-protocol.h
[ 27%] Generating xdg-decoration-unstable-v1-client-protocol-code.h
[ 27%] Generating xdg-decoration-unstable-v1-client-protocol.h
[ 28%] Generating xdg-shell-client-protocol-code.h
[ 28%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/context.c.o
[ 30%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/init.c.o
[ 30%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/input.c.o
[ 30%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/monitor.c.o
[ 30%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/platform.c.o
[ 30%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/vulkan.c.o
[ 30%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/window.c.o
[ 31%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/egl_context.c.o
[ 31%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/osmesa_context.c.o
[ 31%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/null_init.c.o
[ 31%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/null_monitor.c.o
[ 31%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/null_window.c.o
[ 31%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/null_joystick.c.o
[ 31%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/posix_module.c.o
[ 33%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/posix_time.c.o
[ 33%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/posix_thread.c.o
[ 33%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/x11_init.c.o
[ 33%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/x11_monitor.c.o
[ 33%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/x11_window.c.o
[ 33%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/xkb_unicode.c.o
[ 33%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/glx_context.c.o
[ 34%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/wl_init.c.o
[ 34%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/wl_monitor.c.o
[ 34%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/wl_window.c.o
[ 34%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/linux_joystick.c.o
[ 34%] Building C object _deps/glfw3-build/src/CMakeFiles/glfw.dir/posix_poll.c.o
[ 34%] Linking C static library ../../../lib/libglfw3.a
[ 34%] Built target glfw
[ 34%] Building CXX object simulate/CMakeFiles/simulate.dir/main.cc.o
[ 34%] Linking CXX executable ../bin/simulate
ld.lld: error: undefined symbol: main
Minimal model and/or code that explain my question
No response
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions