Skip to content

Mogwai crashes on Ubuntu 22.04 due to missing slang files #466

Description

@Latios96

I tried to build and run Falcor on Ubuntu 22.04, but for some reasons Mogwai is crashing due to missing slang files.

These are the steps I followed:

sudo apt install xorg-dev libgtk-3-dev
./setup.sh
cmake --preset "linux-gcc"
cd build/linux-gcc
ninja
./bin/Debug/Mogwai --script /home/jan/workspace/Falcor/scripts/SceneDebugger.py --scene /home/jan/workspace/Falcor/media/test_scenes/mori_knob/knob.usd --verbosity=5

Mogwai then crashes because several slang files can not be found, for example:

/home/jan/workspace/Falcor/build/linux-gcc/bin/Debug/shaders/RenderPasses/SceneDebugger/SceneDebugger.cs.slang(33): error 1: cannot open file 'Utils/Geometry/IntersectionHelpers.slang'.

See the attached log.txt for the full output.

Did I miss one step? Do I need to setup some path so Mogwai can find the slang files?

Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions