nv-tlabs / XCube

[CVPR 2024 Highlight] XCube: Large-Scale 3D Generative Modeling using Sparse Voxel Hierarchies
https://research.nvidia.com/labs/toronto-ai/xcube/
Other
254 stars 11 forks source link

mesh extraction setup error: x86_64-conda-linux-gnu-c++: error: unrecognized command-line option '-march' #6

Closed wenqsun closed 2 months ago

wenqsun commented 3 months ago

Thanks for your guidelines! I followed the provided instructions and also copied the files as @rfeinman has mentioned before in #2 , but I met a problem: x86_64-conda-linux-gnu-c++: error: unrecognized command-line option '-march' It seems that the c++ version is not suitable, how can I fix this bug?

Thanks for your help!

heiwang1997 commented 3 months ago

Hi @wenqsun could you maybe share your operating system and hardware details, as well as the output from conda list? Thanks!

wenqsun commented 3 months ago

The CUDA Driver Version is 12.1, the OS is Ubuntu 20.04 LTS, and the versions for my related package installation are listed below as a reference:

image

image

image

If you need more information, please let me know. Thank you!

heiwang1997 commented 3 months ago

It seems that gxx_linux-64 is not listed in your specifications? In that case could you try install the conda envinoments using conda env update -f environment.yml?

Could you also dump the output of which x86_64-conda-linux-gnu-c++? and x86_64-conda-linux-gnu-c++ --version?

wenqsun commented 3 months ago

Sorry that I forget to provide the information about gxx_linux-64. I have installed the gxx_linux-64 image

Also, the output of which x86_64-conda-linux-gnu-c++ is my_path/envs/xcube/bin/x86_64-conda-linux-gnu-c++, and the version output is x86_64-conda-linux-gnu-c++ (conda-forge gcc 11.4.0-13) 11.4.0.

heiwang1997 commented 3 months ago

I see this is really weird... I originally thought you might be running a wrong version of g++ under a wrong conda environment. But now it seems that everything should be correct.

Then I don't know the reason because I could not reproduce this from my side. Perhaps other can help?

wenqsun commented 3 months ago

OK. Thanks for your help! I will reinstall the environment and try to find out the problems.