Skip to content

Compiling

whisprer edited this page Sep 7, 2025 · 1 revision

CACA Compilation Compile CACA using the installation commands:

Standard: g++ -std=c++17 -O3 -march=native -o caca caca_main.cpp -lm -pthread OpenMP: g++ -std=c++17 -O3 -march=native -fopenmp -o caca_fast caca_optimized.cpp -lm -pthread AVX2: g++ -std=c++17 -O3 -march=native -mavx2 -mfma -fopenmp -funroll-loops -o caca_fast caca_optimized.cpp -lm -pthread Windows: g++ -std=c++17 -O3 -march=native -o caca.exe caca_main.cpp -lm -pthread

Use -mavx2 for SIMD support. Ensure dependencies are met.

Clone this wiki locally