Ratatouille.lv2 icon indicating copy to clipboard operation
Ratatouille.lv2 copied to clipboard

Building on Ubuntu 24.04 LTS Failed with clang

Open Schmitty2005 opened this issue 4 months ago • 1 comments

when using 'make', this will not build with clang on my system. (Ubuntu 24.04 LTS ) I get an error of :


INFO: optimised for -msse3 -mfpmath=sse -mfxsr -DUSE_SSE -march=x86-64-v3
 INFO: build with    clang++    
 INFO: using         -std=c++20
 Building object file ../NeuralAmpModelerCore/NAM/activations.o 
In file included from ../NeuralAmpModelerCore/NAM/activations.cpp:1:
../NeuralAmpModelerCore/NAM/activations.h:3:10: fatal error: 'string' file not found
    3 | #include <string>
      |          ^~~~~~~~
1 error generated.
make[1]: *** [makefile:283: ../NeuralAmpModelerCore/NAM/activations.o] Error 1
make: *** [makefile:36: Ratatouille] Error 2

I manually changed Ratatouille makefile line # 21 to g++ instead of clang: CXX := g++

and the build worked just fine. I used Ratatouille.lv2 in Ardour for about 1.5 hours with no issue.

Is there something wrong with my clang++ build system ? Or is this a Ratatouille.lv2 bug ?

This is a great plug-in. Thank you!

Schmitty2005 avatar Oct 05 '24 00:10 Schmitty2005