Compiling colmap failed with error message Unsupported gpu architecture 'compute_native’
.
Check your GPU's Compute Capability. For example, GeForce RTX 3090 has Compute Capability 8.6, then compile with the number:
cmake .. -GNinja -DCMAKE_CUDA_ARCHITECTURES=86
- OS: Ubuntu 22.04
- Driver: 545.29.06
- CUDA: 12.3
- nvcc: 11.5