Closed yurivict closed 4 weeks ago
Please try the latest revision from the repository, I've implemented some fixes in the build scripts for using clang.
The latest revision V0.46.0-4-g3964866a still has this failure:
In file included from ../src/NAM/NeuralAmpModelerCore/NAM/lstm.cpp:5:
../src/NAM/NeuralAmpModelerCore/NAM/lstm.h:26:84: error: no member named 'lastN' in namespace 'Eigen::placeholders'
26 | Eigen::VectorXf get_hidden_state() const { return this->_xh(Eigen::placeholders::lastN(this->_get_hidden_size())); };
| ~~~~~~~~~~~~~~~~~~~~~^
1 error generated.
c++: warning: optimization flag '-fno-fat-lto-objects' is not supported [-Wignored-optimization-argument]
In file included from ../src/NAM/NeuralAmpModelerCore/NAM/get_dsp.cpp:8:
../src/NAM/NeuralAmpModelerCore/NAM/lstm.h:26:84: error: no member named 'lastN' in namespace 'Eigen::placeholders'
26 | Eigen::VectorXf get_hidden_state() const { return this->_xh(Eigen::placeholders::lastN(this->_get_hidden_size())); };
| ~~~~~~~~~~~~~~~~~~~~~^
1 error generated.
c++: warning: optimization flag '-fno-fat-lto-objects' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fno-fat-lto-objects' is not supported [-Wignored-optimization-argument]
c++: warning: optimization flag '-fno-fat-lto-objects' is not supported [-Wignored-optimization-argument]
Strange thing is that NeuralAmpModelerCore using it's own version of Eigen, which comes as a submodule with it.
Have you run
git submodule update --init --recursive
before build?
Version: 0.45.0 NeuralAmpModelerCore: 74a07ce clang-17 eigen-3.4.0 FreeBSD 14.0