Skip to content

Build failed in Linux, VSCode #438

Open

Description

@Napat-Osaka

I am trying to build Falcon following the readme for Linux. Half way through the build the following error appeared. This is a fresh clone from Git, I already ran setup.sh, and VSCode is the newest version. Ubuntu version and GPU model should also be in order as well.

Screenshot from 2024-06-02 19-00-58
Screenshot from 2024-06-02 19-01-34

The following is from cmake, just the default preset switch as the readme said to

Screenshot from 2024-06-02 19-03-00

Any advices to the right direction would be highly appreciated.

Activity

  1. skallweitNV commented on Jun 3, 2024

    @skallweitNV
    Collaborator

    We only tested this on Ubuntu 22.04 LTS with gcc. Specifically for USD you need to compile with gcc.

  2. Napat-Osaka commented on Jun 6, 2024

    @Napat-Osaka
    Author

    Thanks for the reply ! Ubuntu version should be just about right.

    Screenshot from 2024-06-06 15-59-29

    Sorry for such a newbie question but can you elaborate more on how can I set it up to compile with gcc ? I thought I already doing so after I changed the preset to Linux/GCC, or do you meant CXX_COMPILER must also change from g++ -> gcc ? I tried that just in case but no luck. I also tried switching gcc versions (10-11-12), with not much success either.

  3. skallweitNV commented on Jun 7, 2024

    @skallweitNV
    Collaborator

    Using the Linux/GCC preset is all that should be needed actually. Not sure why you see the compilation errors. The CI on github does build the Linux/GCC successfully. I'll retrigger a build to see if that's still the case.

  4. Napat-Osaka commented on Jun 12, 2024

    @Napat-Osaka
    Author

    @skallweitNV Hi, can you replicate the same error on your side ? I would really loved to get an update even if that is the case and there is something wrong with the setting on my machine.

  5. skallweitNV commented on Jun 13, 2024

    @skallweitNV
    Collaborator

    I have updated the CI config and ran a Linux/GCC build on GitHub. It works fine.
    Log is here: https://github.com/NVIDIAGameWorks/Falcor/actions/runs/9444360455/job/26009745429

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