我正在使用Symbollic c ++库。我的应用程序在Xcode模拟器以及其他设备上运行良好,但在进行构建时存在一些问题。我在构建应用程序时遇到以下错误:
Undefined symbols for architecture armv7:
"Number<double>::Number(double const&)", referenced from:
List item Log::simplify() const in functions.o
Power::simplify() const in functions.o
"Number<int>::Number(int const&)", referenced from:
Product::simplify() const in product.o
operator+(Symbolic const&, int const&) in symbolicc++.o
operator-(Symbolic const&) in symbolicc++.o
operator/(Symbolic const&, Symbolic const&) in symbolicc++.o
sqrt(Symbolic const&) in symbolicc++.o
Symbolic zero<Symbolic>(Symbolic) in symbolicc++.o
Sum::simplify() const in sum.o
...
ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我已经做了以下事情: