-
Notifications
You must be signed in to change notification settings - Fork 63
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. |
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: