-
-
Notifications
You must be signed in to change notification settings - Fork 494
mujoco: add package #8810
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
mujoco: add package #8810
Conversation
Summary of ChangesHello @star-hengxing, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request integrates the MuJoCo physics simulator as a new package, providing a robust and configurable build process. It defines all necessary metadata, manages a wide array of dependencies, and includes custom modifications to MuJoCo's CMake build scripts to ensure seamless compilation and linking within the xmake environment. This enables users to easily build MuJoCo with optional features like simulation and OpenUSD support. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request adds a new package for mujoco. The implementation is mostly correct, but there are a few issues that need to be addressed. The homepage URL is incorrect. There are also a couple of linking issues in the generated CMake scripts: one for the qhull dependency and another for linking glfw to the simulate library. I've left specific comments with suggestions to fix these.
ubuntu@ubuntu:~/Desktop/dog/mujoco/src$ xmake -y
=> install mujoco 3.4.0 .. failed
CMake Error at /usr/share/cmake-4.2/Modules/FindPkgConfig.cmake:1203 (message):
None of the required 'lodepng' found
Call Stack (most recent call first):
CMakeLists.txt:311 (pkg_search_module)
CMake Error at CMakeLists.txt:313 (find_package):
Could not find a package configuration file provided by "tinyobjloader"
with any of the following names:
tinyobjloaderConfig.cmake
tinyobjloader-config.cmake
Add the installation prefix of "tinyobjloader" to CMAKE_PREFIX_PATH or set
"tinyobjloader_DIR" to a directory containing one of the above files. If
"tinyobjloader" provides a separate development package or SDK, be sure it
has been installed.
PPORTS_GOLD
-- Performing Test SUPPORTS_GOLD - Success
-- Performing Test SUPPORTS_GC_SECTIONS
-- Performing Test SUPPORTS_GC_SECTIONS - Success
if you want to get more verbose errors, please see:
-> /home/ubuntu/.xmake/cache/packages/2512/m/mujoco/3.4.0/installdir.failed/logs/install.txt
error: install failed!为什么我测试是失败的,但是我看到lua里面由 add_deps 这两个包 |
|
有可能 xmake fetch 到了系统包管理或者 vcpkg/conan 的 tinyobjloader,完整 log 应该会有显示,设置 policy 或者有可能是升级 xmake 把所有库重新安装,cmake config file 的自动生成在低版本有一些 bug。 |
|
okay, 非常感谢。 请问有什么方式可以联系你吗 |
|
好吧,之前给你发过邮件 |
It is possible that xmake fetch has reached the system package management or the tinyobjloader of vcpkg/conan. The complete log should be displayed. Set policy |
okay, thank you very much. Is there any way I can contact you? |
Okay, I've emailed you before. |
No description provided.