Skip to content
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

Build failed in Linux, VSCode #438

Open
Napat-Osaka opened this issue Jun 2, 2024 · 5 comments
Open

Build failed in Linux, VSCode #438

Napat-Osaka opened this issue Jun 2, 2024 · 5 comments

Comments

@Napat-Osaka
Copy link

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.

@skallweitNV
Copy link
Collaborator

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

@Napat-Osaka
Copy link
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.

@skallweitNV
Copy link
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.

@Napat-Osaka
Copy link
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.

@skallweitNV
Copy link
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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants