-
Notifications
You must be signed in to change notification settings - Fork 64
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
MySimulationProject tutorial does not compile: #797
Comments
I am not able to reproduce your problem, but I saw you tried using the binary package earlier (#796). Please verify you cleaned your environment before running the build, as there might be some conflicts between your binary and the source code. Please double-check if you use the same (2409.1) version of o3de and o3de-extras repositories; please double-check if you initialized git lfs. In my tests (I tested #796 a moment ago) I completely removed o3de binary installation, removed
|
Thank you so much! I will try. I thought that I did clean everything before downloading and building from source, but I might be missing some. By the way, is there a way to check the installed version of o3de and o3de-extras before I redo the installation? |
Hello again. I have deleted all o3de files ( Is there a command like |
Assets are integrated within gems. You do not need to register assets separately. Your issue is caused by changes in cmake target names - o3de-extras tries to link to target that does not exist. This issue is fixed in #799 and should be merged within a few hours (waiting for tests). In your case, however, I would definitely recommend using the last release of the code. Checkout the |
Please let me know if I can close the issue after #799 was merged. |
I am not sure if the problem is resolved. I don't get the same error any longer but building doesn't get completed. After I run
It has been over an hour that it is stuck at |
Well, actually now it is completed but doesn't seem promissing:
|
And it fails when I try running the project with
|
Are you using the stable version of both, |
I have git cloned the development branches of both repositories. For o3de, I cloned it last week, and for o3de-extras, I cloned it today. |
I would recommend the latest stable release, i.e., |
Okay, I am changing it now. Honestly it is a bit confusing since the default branches are the development branches in both repositories and the installation guide does not say anything about changing to the main branches |
I am still struggling to set up a functioning ROS2 project. I have reinstalled ubuntu. This time I downgraded to 22.04. I have installed ROS2 Humble. Git cloned the main branches of both o3de and o3de-extras but still not able to set up a functioning project. I am still getting the AssetProcessot error after running
|
Unfortunately I am not able to reproduce your issue. I build the project with no issues in Docker environment with the following Dockerfile:
|
I'm quite new to ros2 and ubuntu and had similar issues of the original post of this issue. After installing from source and succesfully building, the editor was crashing when launching the project. Now I built the docker image you provided with ros2 jazzy on ubuntu 24.04, This was succesful and got the following output:
after that I ran the docker container with: and launched the editor using:
I don't know why it crashes and it's been one week since I'm trying to get this up and running so I could create my own projects. So far no luck. Would you recommend installing ubuntu 22.04 and ros2 humble instead if that is more stable and bug proof? |
Hi @abdullah-cos ROS2ProjectTemplate also doesn't work immediately. It is missing autoexec.cfg. Use Ros2RoboticManipulationTemplate instead. I hope it helps. I have been trying to make it on an off for weeks and this is the combination that I finally made it work. |
@fjnn |
@fjnn I'm kind of tired of trying and surprised it was gonna be this cumbersome to even launch an example project. For now I'm gonna look for alternative simulators. |
Describe the bug
I am trying to start a ROS2 project by following this tutorial: https://docs.o3de.org/docs/user-guide/interactivity/robotics/project-configuration/
I have freshly installed O3DE into my Ubuntu 24.04 from source and registered the engine. I have ROS2 Jazzy installed. I have added ROS2 gem into the project. When I run
cmake -B build/linux -G "Ninja Multi-Config" -DLY_DISABLE_TEST_MODULES=ON -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DLY_STRIP_DEBUG_SYMBOLS=ON
, the build process fails.Failed Jenkins Job Information:
CMake Error at /home/gizem2404/o3de/cmake/LYWrappers.cmake:561 (target_link_libraries):
Target "ROS2.Static" links to:
but the target was not found. Possible reasons include:
Call Stack (most recent call first):
/home/gizem2404/o3de/CMakeLists.txt:120 (ly_delayed_target_link_libraries)
CMake Error at /home/gizem2404/o3de/cmake/LYWrappers.cmake:561 (target_link_libraries):
Target "ROS2" links to:
but the target was not found. Possible reasons include:
Call Stack (most recent call first):
/home/gizem2404/o3de/CMakeLists.txt:120 (ly_delayed_target_link_libraries)
CMake Error at /home/gizem2404/o3de/cmake/LYWrappers.cmake:561 (target_link_libraries):
Target "ROS2.Editor" links to:
but the target was not found. Possible reasons include:
Call Stack (most recent call first):
/home/gizem2404/o3de/CMakeLists.txt:120 (ly_delayed_target_link_libraries)
CMake Error at /home/gizem2404/o3de/cmake/LYWrappers.cmake:561 (target_link_libraries):
Target "MySimulationProject.Editor" links to:
but the target was not found. Possible reasons include:
Call Stack (most recent call first):
/home/gizem2404/o3de/CMakeLists.txt:120 (ly_delayed_target_link_libraries)
-- Generating done (5.9s)
CMake Generate step failed. Build files cannot be regenerated correctly.
The text was updated successfully, but these errors were encountered: