Skip to content

Try to remove the warnings that appear when building the project #5

@JesusSilvaUtrera

Description

@JesusSilvaUtrera

Desired behavior

When you build the project in O3DE, the project doesn't raise any error and it works fine, but I noticed some warnings appear with CMake and it could be good to try to solve them (I don't know if this affects to the performance at all).

They seem to be

Alternatives considered

I open this issue to discuss whether it would be worthy or not to remove this warnings, just in case @francocipollone wasn't aware.

Implementation suggestion

The first warning should be easy to solve by just adding the missing dependencies (pyyaml and typeguard).

The second warning is about possible conflicts between libpython3.10.so.1.0 and libzstd.so.1, but I don't think there is any conflict because it would affect the simulation, wouldn't it?

About the error, I don't know why it is being raised, if I find out anything else I will share it here.

Additional context

Here you can review the warnings that have appeared during the building process:

CMake Warning at /opt/O3DE/23.10.2/cmake/LYPython.cmake:148 (message):
  PIP reports unmet dependencies: generate-parameter-library-py 0.3.8
  requires pyyaml, which is not installed.

  generate-parameter-library-py 0.3.8 requires typeguard, which is not
  installed.

  launch-ros 0.19.7 requires pyyaml, which is not installed.

Call Stack (most recent call first):
  /opt/O3DE/23.10.2/cmake/LYPython.cmake:294 (update_pip_requirements)
  /opt/O3DE/23.10.2/CMakeLists.txt:44 (include)
CMake Warning at /opt/O3DE/23.10.2/cmake/LYWrappers.cmake:210 (add_library):
  Cannot generate a safe runtime search path for target RGL.Editor because
  files in some directories may conflict with libraries in implicit
  directories:

    runtime library [libpython3.10.so.1.0] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /opt/O3DE/23.10.2/bin/Linux/profile/Default/.
    runtime library [libzstd.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
      /opt/ros/humble/lib

  Some of these libraries may not be found correctly.
Call Stack (most recent call first):
  /home/jesus-silva/o3de_sources/o3de-rgl-gem/Code/CMakeLists.txt:100 (ly_add_target)

Also, an error with the connection is raised, but nothing seems to be failing in the simulation, I could run it fine:

Network connection attempt failure, Connect returned error AzSockError::eASE_ECONNREFUSED

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions