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

Compile error on Ubuntu 24.04 #7090

Open
3 tasks done
Yongtian8426 opened this issue Dec 9, 2024 · 1 comment
Open
3 tasks done

Compile error on Ubuntu 24.04 #7090

Yongtian8426 opened this issue Dec 9, 2024 · 1 comment

Comments

@Yongtian8426
Copy link

Checklist

Steps to reproduce the issue

I first cloned Open3D by:

git clone https://github.com/isl-org/Open3D.git
cd Open3D

Then, I build Open3D (on Ubuntu 24.04, with CUDA 11.5) with:

mkdir build
cd build
cmake -DBUILD_SHARED_LIBS=OFF -DBUILD_CUDA_MODULE=OFF -DUSE_BLAS=ON -DBUILD_WEBRTC=OFF ..
make -j$(nproc)

Error message

[ 59%] Built target shaders
/home/pi/git/Open3D/build/filament/src/ext_filament/libs/image/src/ImageSampler.cpp:41:17: error: expected unqualified-id
   41 | constexpr float M_PIf = float(filament::math::F_PI);
      |                 ^
/usr/include/math.h:1169:17: note: expanded from macro 'M_PIf'
 1169 | # define M_PIf          3.14159265358979323846f /* pi */
      |                         ^
1 error generated.

Open3D, Python and System information

- Operating system:
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble
- Python version: Python 3.12.3
- Open3D version: -
- System architecture:  arm64 
- Is this a remote workstation?: no
- How did you install Open3D?: build from source
- Compiler version (if built from source): gcc (Ubuntu 13.2.0-23ubuntu4) 13.2.0

Additional information

@Yongtian8426
Copy link
Author

Related issue reported here:
google/filament#5720
#6972

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

1 participant