Giter Club home page Giter Club logo

Comments (4)

nick-l-o3de avatar nick-l-o3de commented on May 27, 2024 2

Meshlets are not officially supported on O3DE, and are not available by default in the list of selected gems to enable. To get this gem to work requires quite a bit of work documented in its readme, as well as custom registration and hand-activation of it, else it wont even show up in Project Manager.

I was a able to get it to work on linux ubuntu 22.04 by manually installing the meshoptimizer-dev library from the apt repository, and then adding the dependency meshoptimizer::meshoptimizer to the meshoptimizer PUBLIC BUILD_DEPENDENCIES list of the main static module, and then adding

find_package(meshoptimizer CONFIG REQUIRED)  # use system provided library
# there is only one config shipped in the above library, called "NONE".  Map O3DE configs to it.
set_target_properties(meshoptimizer::meshoptimizer PROPERTIES MAP_IMPORTED_CONFIG_RELEASE NONE)
set_target_properties(meshoptimizer::meshoptimizer PROPERTIES MAP_IMPORTED_CONFIG_DEBUG NONE)
set_target_properties(meshoptimizer::meshoptimizer PROPERTIES MAP_IMPORTED_CONFIG_PROFILE NONE)

to the linux 3rd party package list in cmake/3rdParty/Platform/Linux/...

We should probably fixup this gem and move it to extras...

from o3de.

spham-amzn avatar spham-amzn commented on May 27, 2024 1

We should just remove it from the point release then.

from o3de.

michalpelka avatar michalpelka commented on May 27, 2024

The release build failed on 2310.2. It went through on 2310.1

from o3de.

lemonade-dm avatar lemonade-dm commented on May 27, 2024

Well the Meshlets Gem is not part of the engine.json file, so it shouldn't be building in the first place as CMake should not be visiting the CMakeLists.txt for the Gems/Meshlets folder.

We can debug which Gems folders are being added to the build by setting the CMake log level to verbose using the --log-level vebose option when configuring.

There is VERBOSE log messages that outputs all external_subdirectories in Subdirectories.cmake

from o3de.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.